Skip to content

Commit

Permalink
Bump the min PHP version to 8.1
Browse files Browse the repository at this point in the history
This matches the PHP requirement of Symfony 6.4 LTS which will be the
new minimum version.
  • Loading branch information
stof committed Jun 24, 2024
1 parent 095260b commit a496f92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ jobs:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
symfony-versions: [false]
include:
- description: 'Symfony 4.*'
php: '7.4'
php: '8.1'
symfony-versions: '^4.4'
- description: 'Symfony 5.*'
php: '8.1'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-dom": "*",
"ext-json": "*",
"symfony/config": "^4.4 || ^5.0 || ^6.0 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Util/CanonicalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function canonicalizeProvider()
return [
[null, null],
['FOO', 'foo'],
[chr(171), PHP_VERSION_ID < 50600 ? chr(171) : '?'],
[chr(171), '?'],
];
}
}

0 comments on commit a496f92

Please sign in to comment.