Skip to content

Commit

Permalink
Add Symfony 7 support (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidz authored Oct 30, 2023
1 parent f62f221 commit 84016e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ jobs:
matrix:
operating-system: [ ubuntu-latest ]
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
symfony-require: ['^4', '^5', '^6']
symfony-require: ['^4', '^5', '^6', '^7']
exclude:
- symfony-require: "^6"
php-version: "7.4"
- symfony-require: "^7"
php-version: "7.4"
- symfony-require: "^7"
php-version: "8.0"
- symfony-require: "^7"
php-version: "8.1"
include:
- { operating-system: 'windows-latest', php-version: '8.0', symfony-require: '^5' }

Expand Down Expand Up @@ -56,6 +62,10 @@ jobs:
- name: Configure Symfony Flex
run: composer config extra.symfony.require ${{ matrix.symfony-require }}

- name: Set minimum-stability dev
if: matrix.symfony-require == '^7'
run: composer config minimum-stability dev

- name: Install dependencies
run: composer update --optimize-autoloader --no-interaction --no-progress --prefer-dist

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"require": {
"php": "^7.4 || ^8.0",
"symfony/console": "^4.4 || ^5.0 || ^6.0",
"symfony/finder": "^4.4 || ^5.0 || ^6.0",
"symfony/console": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/finder": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"nikic/php-parser": "^4.13",
"php-parallel-lint/php-console-highlighter": "^1.0",
"phpunit/php-timer": "^2.0||^3.0||^4.0||^5.0||^6.0"
Expand Down

0 comments on commit 84016e4

Please sign in to comment.