Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow symfony 7 #2721

Merged
merged 12 commits into from
Dec 3, 2023
4 changes: 3 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ jobs:
extensions: mongodb
coverage: "pcov"

- name: "Temp: test Symfony 7 RC"
run: "composer config minimum-stability RC"

Chris53897 marked this conversation as resolved.
Show resolved Hide resolved
# Remove PHP-CS-Fixer to avoid conflicting dependency ranges (i.e. doctrine/annotations)
- name: "Remove PHP-CS-Fixer"
run: "composer remove --dev --no-update friendsofphp/php-cs-fixer"

- name: "Install dependencies with Composer"
Chris53897 marked this conversation as resolved.
Show resolved Hide resolved
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.deps }}"
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"doctrine/event-manager": "^1.2 || ^2.0",
"doctrine/persistence": "^2.2 || ^3.0",
"psr/cache": "^1 || ^2 || ^3",
"symfony/cache": "^5.4 || ^6.0",
"symfony/cache": "^5.4 || ^6.0 || ^7.0",
"symfony/deprecation-contracts": "^2.1 || ^3.0"
},
"require-dev": {
Expand All @@ -58,15 +58,15 @@
"doctrine/mongodb-odm": "^2.3",
"doctrine/orm": "^2.14.0",
"friendsofphp/php-cs-fixer": "^3.14.0",
"nesbot/carbon": "^2.55",
"nesbot/carbon": "^2.71 || 3.x-dev as 3.0",
"phpstan/phpstan": "^1.10.2",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.6",
"rector/rector": "^0.18",
"symfony/console": "^5.4 || ^6.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/yaml": "^5.4 || ^6.0"
"symfony/console": "^5.4 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
},
"conflict": {
"doctrine/dbal": "<3.2",
Expand Down