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: drop support for symfony 4 #246

Merged
merged 12 commits into from
Nov 13, 2023
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
- php-version: 7.4
# Use "update" instead of "install" since it allows using the "--prefer-lowest" option
composer-flags: "update --prefer-lowest"
- php-version: 7.4
# add a specific job to test Symfony 4.4, otherwise Symfony 5.4 would be installed
symfony-version: "^4.4"
composer-flags: "require --dev --no-progress doctrine/annotations:^1.8.0"
- php-version: 7.4
# add a specific job to test 5.4 for all Symfony packages
symfony-version: "^5.4"
Expand Down Expand Up @@ -61,7 +57,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
Expand Down
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@
"doctrine/common": "^2.13 || ^3.0",
"doctrine/persistence": "^1.3.3 || ^2.0 || ^3.0",
"symfony/deprecation-contracts": "^2.1 || ^3.0",
"symfony/event-dispatcher": "^4.4 || ^5.4 || ^6.3",
"symfony/event-dispatcher": "^5.4 || ^6.3",
"symfony/event-dispatcher-contracts": "^1 || ^2 || ^3",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.3",
"symfony/yaml": "^4.4 || ^5.4 || ^6.3"
"symfony/framework-bundle": "^5.4 || ^6.3",
"symfony/yaml": "^5.4 || ^6.3"
},
"require-dev": {
"doctrine/annotations": "^1.8.0 || ^2.0",
"doctrine/data-fixtures": "^1.3",
"doctrine/doctrine-bundle": "^2.1",
"doctrine/doctrine-fixtures-bundle": "^3.0.2",
"doctrine/doctrine-fixtures-bundle": "^3.4.4",
"doctrine/orm": "^2.7",
"doctrine/phpcr-bundle": "^2.0.2",
"doctrine/phpcr-odm": "^1.3",
"doctrine/phpcr-bundle": "^2.4.3",
"doctrine/phpcr-odm": "^1.7.2",
"jackalope/jackalope-doctrine-dbal": "^1.5",
"monolog/monolog": "^1.25.1 || ^2.0 || ^3.0",
"phpunit/phpunit": "^9.6 || ^10.0",
"symfony/doctrine-bridge": "^4.4 || ^5.4 || ^6.3",
"symfony/monolog-bridge": "^4.4 || ^5.4 || ^6.3",
"symfony/doctrine-bridge": "^5.4 || ^6.3",
"symfony/monolog-bridge": "^5.4 || ^6.3",
"symfony/monolog-bundle": "^3.2",
"symfony/phpunit-bridge": "^4.4 || ^5.4 || ^6.3",
"theofidry/alice-data-fixtures": "^1.0.1"
"symfony/phpunit-bridge": "^5.4 || ^6.3",
"theofidry/alice-data-fixtures": "^1.5.2"
},
"conflict": {
"doctrine/annotations": "<1.2.7 || >=3.0",
Expand All @@ -66,7 +66,8 @@
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true
"symfony/flex": true,
"ocramius/package-versions": true
}
},
"extra": {
Expand Down