Skip to content

Commit

Permalink
chore: remove deprecations
Browse files Browse the repository at this point in the history
Remove support of API Platform 3.x
Replace api-platform/core dependency by api-platform/openapi
Remove support of Symfony 5.x
  • Loading branch information
vincentchalamon committed Jan 14, 2025
1 parent 052da93 commit 81cce03
Show file tree
Hide file tree
Showing 8 changed files with 221 additions and 324 deletions.
38 changes: 19 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
],
"require": {
"php": ">=8.1",
"symfony/config": "^5.1 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.1 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.1 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.1 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.1.5 || ^6.0 || ^7.0",
"symfony/serializer": "^5.1 || ^6.0 || ^7.0"
"symfony/config": "^6.4 || ^7.0",
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/event-dispatcher": "^6.4 || ^7.0",
"symfony/http-foundation": "^6.4 || ^7.0",
"symfony/http-kernel": "^6.4 || ^7.0",
"symfony/serializer": "^6.4 || ^7.0"
},
"require-dev": {
"ext-json": "*",
"api-platform/core": "^3.0 || ^4.0",
"api-platform/openapi": "^4.0",
"behat/behat": "^3.1",
"dg/bypass-finals": "^1.1",
"doctrine/data-fixtures": "^1.2",
Expand All @@ -37,22 +37,22 @@
"laminas/laminas-code": "^3.4 || ^4.0",
"ocramius/proxy-manager": "^2.0.4",
"sebastian/comparator": "^3.0",
"symfony/asset": "^5.1 || ^6.0 || ^7.0",
"symfony/browser-kit": "^5.1 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.1 || ^6.0 || ^7.0",
"symfony/mailer": "^5.1 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^5.1 || ^6.0 || ^7.0",
"symfony/property-access": "^5.1 || ^6.0 || ^7.0",
"symfony/security-bundle": "^5.1 || ^6.0 || ^7.0",
"symfony/stopwatch": "^5.1 || ^6.0 || ^7.0",
"symfony/templating": "^5.1 || ^6.0 || ^7.0",
"symfony/twig-bundle": "^5.1 || ^6.0 || ^7.0",
"symfony/var-dumper": "^5.1 || ^6.0 || ^7.0"
"symfony/asset": "^6.4 || ^7.0",
"symfony/browser-kit": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.0",
"symfony/mailer": "^6.4 || ^7.0",
"symfony/phpunit-bridge": "^6.4 || ^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"symfony/security-bundle": "^6.4 || ^7.0",
"symfony/stopwatch": "^6.4 || ^7.0",
"symfony/templating": "^6.4 || ^7.0",
"symfony/twig-bundle": "^6.4 || ^7.0",
"symfony/var-dumper": "^6.4 || ^7.0"
},
"suggest": {
"doctrine/doctrine-bundle": "To connect with Doctrine in Symfony project",
"doctrine/orm": "To connect with Doctrine",
"api-platform/core": "To connect with API Platform"
"api-platform/openapi": "To connect with API Platform"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 0 additions & 2 deletions config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
<service id="coop_tilleuls_forgot_password.manager.forgot_password" class="CoopTilleuls\ForgotPasswordBundle\Manager\ForgotPasswordManager" public="true">
<argument type="service" id="coop_tilleuls_forgot_password.manager.password_token" />
<argument type="service" id="event_dispatcher" />
<argument type="service" id="coop_tilleuls_forgot_password.provider_chain"/>
</service>

<service id="coop_tilleuls_forgot_password.manager.password_token" class="CoopTilleuls\ForgotPasswordBundle\Manager\PasswordTokenManager" public="true">
<argument type="service" id="coop_tilleuls_forgot_password.provider_chain"/>
<argument/> <!-- token_generator -->
</service>

Expand Down
220 changes: 0 additions & 220 deletions src/Bridge/ApiPlatform/OpenApi/AbstractOpenApiFactory.php

This file was deleted.

Loading

0 comments on commit 81cce03

Please sign in to comment.