Skip to content

Commit

Permalink
Merge pull request #272 from acoulton/drop-old-versions
Browse files Browse the repository at this point in the history
change: Drop support for PHP < 8.1, Symfony < 5.4 and Symfony 6.0 - 6.3
  • Loading branch information
acoulton authored Nov 15, 2024
2 parents 9fa77e7 + fc697ae commit 3384970
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
php: [8.1, 8.2, 8.3, 8.4]
composer-flags: [ "" ]
symfony-version: [ "" ]
include:
- php: 7.2
symfony-version: '3.*'
- php: 7.3
symfony-version: '4.*'
- php: 7.4
symfony-version: '5.*'
- php: 8.0
symfony-version: '5.*'
- php: 8.1
symfony-version: '^5.4'
- php: 8.1
symfony-version: '^6.4'

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.1
coverage: none

- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
],

"require": {
"php": "~7.2|~8.0"
"php": "8.1.* || 8.2.* || 8.3.* || 8.4.*"
},

"require-dev": {
"symfony/yaml": "~3|~4|~5|~6|~7",
"phpunit/phpunit": "~8|~9",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
"phpunit/phpunit": "^9.6",
"cucumber/cucumber": "dev-gherkin-24.1.0"
},

Expand Down

0 comments on commit 3384970

Please sign in to comment.