Skip to content

Commit

Permalink
chore: support symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpozzi committed Dec 18, 2023
1 parent e74aba4 commit 8648bff
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
34 changes: 20 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,30 @@ jobs:
fail-fast: false
matrix:
include:
- description: 'No Symfony specified'
php: '7.4'
- description: 'Lowest deps'
php: '7.4'
composer_option: '--prefer-lowest'
env:
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
- description: 'PHP 8.0'
php: '8.0'
- description: 'PHP 8.1'
- description: 'Symfony 7.0'
php: '8.3'
symfony: '7.0.*'
- description: 'Symfony 6.4'
php: '8.1'
symfony: '6.4.*'
- description: 'Symfony 6.0'
php: '8.3'
symfony: '6.0.*'
- description: 'Symfony 5.4'
php: '8.1'
- description: 'PHP 8.2'
php: '8.2'
- description: 'PHP 8.3'
symfony: '5.4.*'
- description: 'Symfony 5.0'
php: '8.3'
symfony: '5.0.*'
- description: 'Dev deps'
php: '8.2'
php: '8.3'
symfony: '7.0.*'
dev: true
- description: 'Lowest deps'
php: '8.1'
composer_option: '--prefer-lowest'
env:
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
steps:
- name: Checkout
Expand Down
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}
],
"require": {
"php": ">=7.4",
"symfony/framework-bundle": "^4.4|^5.1|^6.0",
"php": ">=8.1",
"symfony/framework-bundle": "^5.1|^6.0|^7.0",
"knplabs/knp-snappy": "^1.4.3"
},
"autoload": {
Expand All @@ -31,12 +31,11 @@
}
},
"require-dev": {
"symfony/asset": "^4.4|^5.1|^6.0",
"symfony/finder": "^4.4|^5.1|^6.0",
"symfony/phpunit-bridge": "^4.4|^5.1|^6.0",
"symfony/security-csrf": "^4.4|^5.1|^6.0",
"symfony/templating": "^4.4|^5.1|^6.0",
"symfony/validator": "^4.4|^5.1|^6.0",
"symfony/yaml": "^4.4|^5.1|^6.0"
"symfony/asset": "^5.1|^6.0|^7.0",
"symfony/finder": "^5.1|^6.0|^7.0",
"symfony/phpunit-bridge": "^5.1|^6.0|^7.0",
"symfony/security-csrf": "^5.1|^6.0|^7.0",
"symfony/validator": "^5.1|^6.0|^7.0",
"symfony/yaml": "^5.1|^6.0|^7.0"
}
}
6 changes: 1 addition & 5 deletions tests/fixtures/config/base.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
framework:
secret: ThisIsNotReallyASecretSoPleaseChangeIt
router: { resource: "%kernel.project_dir%/config/routing.yml", utf8: true }
validation: { enabled: true, enable_annotations: false }
http_method_override: false
framework: ~

0 comments on commit 8648bff

Please sign in to comment.