Skip to content

Commit a9f9661

Browse files
committed
Bump the min PHP version to PHP 7.4
Supporting newer Symfony versions requires supporting variance rules, which are not available in PHP 7.1.
1 parent e9c8a3a commit a9f9661

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ on:
99

1010
jobs:
1111
run:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-latest
1313
strategy:
1414
fail-fast: false
1515
matrix:
1616
php:
17-
- '7.1'
18-
- '7.2'
19-
- '7.3'
2017
- '7.4'
2118
- '8.0'
19+
- '8.1'
2220
symfony-versions: [false]
2321
include:
2422
- description: 'Symfony 4.*'
@@ -48,5 +46,4 @@ jobs:
4846

4947
- name: Run PHPUnit tests
5048
run: |
51-
export SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1
5249
./vendor/bin/simple-phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.1.3 || ^8.0",
24+
"php": "^7.4 || ^8.0",
2525
"ext-dom": "*",
2626
"ext-json": "*",
2727
"symfony/config": "^4.4 || ^5.0",

0 commit comments

Comments
 (0)