Skip to content

Commit 0b3b64f

Browse files
Drop support for < PHP 7.4
1 parent 9603e7d commit 0b3b64f

File tree

3 files changed

+6
-30
lines changed

3 files changed

+6
-30
lines changed

.github/workflows/test-application.yaml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,52 +16,28 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- php-version: '5.6'
20-
elasticsearch-version: '5.6.14'
21-
lint: false
22-
symfony-version: '^2.8'
23-
elasticsearch-package-constraint: '^5.0'
24-
25-
- php-version: '7.0'
26-
elasticsearch-version: '5.6.14'
27-
lint: false
28-
symfony-version: '^3.4'
29-
elasticsearch-package-constraint: '^5.0'
30-
31-
- php-version: '7.2'
32-
elasticsearch-version: '5.6.14'
33-
lint: false
34-
symfony-version: '^3.4'
35-
elasticsearch-package-constraint: '^5.0'
36-
37-
- php-version: '7.3'
38-
elasticsearch-version: '5.6.14'
39-
lint: false
40-
symfony-version: '^4.4'
41-
elasticsearch-package-constraint: '^5.0'
42-
4319
- php-version: '7.4'
4420
elasticsearch-version: '5.6.14'
4521
lint: true
46-
symfony-version: '^5.0'
22+
symfony-version: '^2.8'
4723
elasticsearch-package-constraint: '^5.0'
4824

4925
- php-version: '7.4'
5026
elasticsearch-version: '7.11.1'
5127
lint: false
52-
symfony-version: '^5.0'
28+
symfony-version: '^3.4'
5329
elasticsearch-package-constraint: '7.11.*'
5430

5531
- php-version: '8.0'
5632
elasticsearch-version: '7.11.1'
5733
lint: false
58-
symfony-version: '^5.0'
34+
symfony-version: '^4.4'
5935
elasticsearch-package-constraint: '7.11.*'
6036

6137
- php-version: '8.1'
6238
elasticsearch-version: '8.0.1'
6339
lint: false
64-
symfony-version: '^5.0'
40+
symfony-version: '^5.4'
6541
elasticsearch-package-constraint: '^8.0'
6642

6743
services:

Test/AbstractElasticsearchTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function doTearDown()
172172
*
173173
* @return ContainerInterface
174174
*/
175-
protected function getContainer($kernelOptions = [])
175+
protected static function getContainer($kernelOptions = []): ContainerInterface
176176
{
177177
if (null === self::$container) {
178178
self::bootKernel($kernelOptions);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^5.6|^7.0|^8.0",
18+
"php": "^7.4|^8.0",
1919
"symfony/framework-bundle": "^2.8|^3.0|^4|^5",
2020
"symfony/console": "^2.8|^3.0|^4|^5",
2121
"symfony/stopwatch": "^2.8|^3.0|^4|^5",

0 commit comments

Comments
 (0)