Skip to content

Commit

Permalink
feat: drop support for PHP < 8.1 (#392)
Browse files Browse the repository at this point in the history
* feat: drop support for PHP < 8.1

* feat: drop support for PHP < 8.1

* Update composer.json

Co-authored-by: Alexander M. Turek <[email protected]>

---------

Co-authored-by: Christopher Georg <[email protected]>
Co-authored-by: Alexander M. Turek <[email protected]>
  • Loading branch information
3 people authored Mar 3, 2024
1 parent 6f29990 commit 2522240
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,19 @@ jobs:
fail-fast: false
matrix:
include:
- description: 'No Symfony specified'
php: '8.0'
- description: 'No Symfony specified'
php: '8.1'
- description: 'No Symfony specified'
php: '8.2'
- description: 'No Symfony specified'
php: '8.3'
- description: 'Lowest deps'
php: '8.0'
php: '8.1'
composer_option: '--prefer-lowest'
env:
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
- description: 'Symfony 5.4'
php: '8.0'
php: '8.1'
symfony: 5.4.*
- description: 'Dev deps'
php: '8.2'
Expand Down Expand Up @@ -77,6 +75,6 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
- run: composer update --no-interaction --no-progress --ansi
- run: vendor/bin/phpstan analyze
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 3.5 (unreleased)

* Added CallbackVoter
* Removed support for unsupported PHP version 8.0

## 3.4 (2023-05-17)

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": "^8.0"
"php": "^8.1"
},
"conflict": {
"twig/twig": "<1.42.3 || >=2,<2.9"
Expand All @@ -30,9 +30,9 @@
"phpunit/phpunit": "^9.6",
"psr/container": "^1.0 || ^2.0",
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^6.3",
"symfony/phpunit-bridge": "^7.0",
"symfony/routing": "^5.4 || ^6.0 || ^7.0",
"twig/twig": "^2.9 || ^3.0"
"twig/twig": "^2.16 || ^3.0"
},
"suggest": {
"twig/twig": "for the TwigRenderer and the integration with your templates"
Expand Down

0 comments on commit 2522240

Please sign in to comment.