Skip to content

Commit 9c682c2

Browse files
authored
Drop legacy PHP 7.2-8.0 support (#277)
* Drop legacy PHP 7.2-8.0 support * Tweak PHP constraint in composer.json * Set PHP version for lowest as 8.1.10 * Bump min version of doctrine/doctrine-bundle to 2.4 * Bump min version of doctrine/doctrine-bundle to 2.8 * Bump min version of doctrine/orm to 2.13 * Simplify CI config thanks to upstream changes * Drop redundant conflict section thanks to bumped dep version
1 parent 3e0bb05 commit 9c682c2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
test:
1212
uses: SymfonyCasts/.github/.github/workflows/phpunit.yaml@main
13+
with:
14+
php-version-lowest: '8.1.10'
1315

1416
composer-validate:
1517
uses: SymfonyCasts/.github/.github/workflows/composer-validate.yaml@main

composer.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,20 @@
55
"license": "MIT",
66
"minimum-stability": "dev",
77
"require": {
8-
"php": ">=7.2.5",
8+
"php": ">=8.1.10",
99
"ext-json": "*",
1010
"symfony/config": "^5.4 | ^6.0 | ^7.0",
1111
"symfony/dependency-injection": "^5.4 | ^6.0 | ^7.0",
1212
"symfony/deprecation-contracts": "^2.2 | ^3.0",
1313
"symfony/http-kernel": "^5.4 | ^6.0 | ^7.0"
1414
},
1515
"require-dev": {
16-
"doctrine/orm": "^2.7",
16+
"doctrine/orm": "^2.13",
1717
"symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0",
1818
"symfony/phpunit-bridge": "^5.4 | ^6.0 | ^7.0",
19-
"doctrine/doctrine-bundle": "^2.0.3",
19+
"doctrine/doctrine-bundle": "^2.8",
2020
"doctrine/annotations": "^1.0"
2121
},
22-
"conflict": {
23-
"php": ">=8.1 <8.1.10",
24-
"doctrine/orm": "<2.7"
25-
},
2622
"autoload": {
2723
"psr-4": {
2824
"SymfonyCasts\\Bundle\\ResetPassword\\": "src/"

0 commit comments

Comments
 (0)