Skip to content

Commit

Permalink
⬆️ allow Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
garak committed Dec 27, 2023
1 parent a15bd9e commit 44089fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,23 @@ jobs:
matrix:
include:
- description: 'No Symfony specified'
php: '8.0'
php: '8.1'
- description: 'No Symfony specified'
php: '8.2'
- description: 'Lowest deps'
php: '7.4'
php: '8.0'
composer_option: '--prefer-lowest'
env:
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
- description: 'Symfony 5.4'
php: '7.4'
php: '8.0'
symfony: 5.4.*
- description: 'Symfony 6.1'
php: '8.1'
symfony: 6.1.*
- description: 'Symfony 6.2'
php: '8.1'
symfony: 6.2.*
- description: 'Dev deps'
- description: 'Symfony 6.4'
php: '8.2'
symfony: 6.3.*@dev
symfony: 6.4.*
- description: 'Latest'
php: '8.3'
symfony: 7.0.*
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP71Migration:risky' => true,
'@PHP80Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'ordered_imports' => true,
'declare_strict_types' => false,
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"pugx/shortid-doctrine": "^1.0",
"symfony/config": "^4.4 || ^5.4 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0"
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.5"
"phpunit/phpunit": "^9.6"
},
"config": {
"bin-dir": "bin",
Expand Down

0 comments on commit 44089fe

Please sign in to comment.