Skip to content

Commit

Permalink
Add compatibility with symfony 7.0 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
maelanleborgne committed Nov 30, 2023
1 parent 4bb38df commit d4a21c1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,22 @@ on:

jobs:
test:
name: "Build and Test - Linux"
name: "Build and Test - PHP ${{ matrix.php }} Symfony:${{ matrix.symfony-version }} ${{ matrix.deps }}"
runs-on: ubuntu-latest
env:
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
strategy:
matrix:
php: [ 8.1, 8.2 ]
deps: [ high ]
include:
- php: 8.1
- symfony-version: 6.3
php: 8.1
deps: low
- symfony-version: 6.4
php: 8.1
deps: high
- symfony-version: 7.0
php: 8.2
deps: high
steps:
- uses: actions/checkout@v3
with:
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@
],
"require": {
"php": ">=8.1",
"symfony/asset-mapper": "^6.3",
"symfony/console": "^5.4|^6.3",
"symfony/http-client": "^5.4|^6.3",
"symfony/process": "^5.4|^6.3"
"symfony/asset-mapper": "^6.3|^7.0",
"symfony/console": "^6.3|^7.0",
"symfony/http-client": "^6.3|^7.0",
"symfony/process": "^6.3|^7.0"
},
"require-dev": {
"symfony/filesystem": "^6.3",
"symfony/framework-bundle": "^6.3",
"symfony/phpunit-bridge": "^6.3",
"symfony/filesystem": "^6.3|^7.0",
"symfony/framework-bundle": "^6.3|^7.0",
"symfony/phpunit-bridge": "^6.3|^7.0",
"phpstan/phpstan": "1.11.x-dev"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"Sensiolabs\\TypeScriptBundle\\": "src/"
Expand Down

0 comments on commit d4a21c1

Please sign in to comment.