Skip to content

Commit

Permalink
Merge pull request #13 from BedrockStreaming/feat/symfo54-backward-co…
Browse files Browse the repository at this point in the history
…mpatibility

feat: add symfony 5.4 backward compatibility
  • Loading branch information
Orann authored Feb 17, 2023
2 parents 239d2b3 + eb0045a commit 5fe0d72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '8.0', '8.1' ]
php-version: [ '8.0', '8.1' ]
symfony-version: ['^5.4', '^6.0']
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version }}
php-version: ${{ matrix.php-version }}
- run: composer require symfony/symfony:${{ matrix.symfony-version }} --no-update
- run: make install
- run: make ci
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
"require": {
"php": ">=8.0",
"ext-json": "*",
"symfony/config": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/event-dispatcher": "^6.0",
"symfony/http-foundation": "^6.0",
"symfony/http-kernel": "^6.0",
"symfony/options-resolver": "^6.0"
"symfony/config": "^5.4 || ^6.0",
"symfony/dependency-injection": "^5.4 || ^6.0",
"symfony/event-dispatcher": "^5.4 || ^6.0",
"symfony/http-foundation": "^5.4 || ^6.0",
"symfony/http-kernel": "^5.4 || ^6.0",
"symfony/options-resolver": "^5.4 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "9.5.*",
"m6web/php-cs-fixer-config": "^2.1",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-phpunit": "^1.1",
"symfony/var-dumper": "^6.0",
"symfony/var-dumper": "^5.4 || ^6.0",
"rector/rector": "^0.12.22"
},
"suggest": {
Expand Down

0 comments on commit 5fe0d72

Please sign in to comment.