Skip to content

Commit

Permalink
Drop legacy PHP 7.2-8.0 support (#277)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bocharsky-bw authored Dec 18, 2023
1 parent 3e0bb05 commit 9c682c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
test:
uses: SymfonyCasts/.github/.github/workflows/phpunit.yaml@main
with:
php-version-lowest: '8.1.10'

composer-validate:
uses: SymfonyCasts/.github/.github/workflows/composer-validate.yaml@main
Expand Down
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@
"license": "MIT",
"minimum-stability": "dev",
"require": {
"php": ">=7.2.5",
"php": ">=8.1.10",
"ext-json": "*",
"symfony/config": "^5.4 | ^6.0 | ^7.0",
"symfony/dependency-injection": "^5.4 | ^6.0 | ^7.0",
"symfony/deprecation-contracts": "^2.2 | ^3.0",
"symfony/http-kernel": "^5.4 | ^6.0 | ^7.0"
},
"require-dev": {
"doctrine/orm": "^2.7",
"doctrine/orm": "^2.13",
"symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0",
"symfony/phpunit-bridge": "^5.4 | ^6.0 | ^7.0",
"doctrine/doctrine-bundle": "^2.0.3",
"doctrine/doctrine-bundle": "^2.8",
"doctrine/annotations": "^1.0"
},
"conflict": {
"php": ">=8.1 <8.1.10",
"doctrine/orm": "<2.7"
},
"autoload": {
"psr-4": {
"SymfonyCasts\\Bundle\\ResetPassword\\": "src/"
Expand Down

0 comments on commit 9c682c2

Please sign in to comment.