Skip to content

Commit

Permalink
Symfony 7 (Review)
Browse files Browse the repository at this point in the history
  • Loading branch information
adelinerobinet committed Dec 12, 2023
1 parent 1bb82a1 commit 8ec5b89
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,46 @@ jobs:
fail-fast: false
matrix:
include:
# Lowest Deps
# Lowest Deps 5.4
- php: 8.0
symfony: 5.4.*
coverage: 'none'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
# LTS with latest stable PHP
# LTS with latest stable PHP 5.4
- php: latest
symfony: 5.4.*
coverage: 'none'
composer-flags: '--prefer-stable'
can-fail: false
# Lowest Deps 6.4
- php: 8.1
symfony: 6.4.*
coverage: 'none'
composer-flags: '--prefer-stable --prefer-lowest'
can-fail: false
# LTS with latest stable PHP 6.4
- php: latest
symfony: 6.4.*
coverage: 'none'
composer-flags: '--prefer-stable'
can-fail: false
# Active release
- php: latest
symfony: 6.2.*
symfony: 7.0.*
coverage: pcov
composer-flags: '--prefer-stable'
can-fail: false
# Development release
- php: nightly
symfony: 6.3.*@dev
symfony: 7.1.*@dev
coverage: 'none'
composer-flags: ''
can-fail: true

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand All @@ -61,7 +73,7 @@ jobs:
fail-fast: true

- name: Set Composer stability
if: matrix.symfony == '6.3.*@dev'
if: matrix.php == 'nightly'
run: "composer config minimum-stability dev"

- name: Get composer cache directory
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@
],
"require": {
"php": ">=7.4",
"symfony/config": "^6.4 || ^7.0",
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/event-dispatcher": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.0",
"symfony/http-foundation": "^6.4 || ^7.0",
"symfony/http-kernel": "^6.4 || ^7.0",
"symfony/config": "^5.4 || ^6.4 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.4 || ^7.0",
"symfony/http-foundation": "^5.4 || ^6.4 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0",
"symfony/service-contracts": "^2.0 || ^3.2"
},
"require-dev": {
"doctrine/doctrine-bundle": "^2.8",
"doctrine/orm": "^2.10",
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "^6.4 || ^7.0",
"symfony/doctrine-bridge": "^5.4.7 || ^6.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/yaml": "^6.4 || ^7.0"
"symfony/browser-kit": "^5.4 || ^6.4 || ^7.0",
"symfony/doctrine-bridge": "^5.4.7 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^5.4 || ^6.4 || ^7.0",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0"
},
"conflict": {
"doctrine/dbal": "<3.3",
Expand Down

0 comments on commit 8ec5b89

Please sign in to comment.