diff --git a/composer.json b/composer.json index fac73001..ad6aeaec 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "symfony/flex": "^2.4.1", "symfony/framework-bundle": "^6.4.0", "symfony/http-kernel": "^6.4.0", - "symfony/routing": "^6.4.0", + "symfony/routing": "^7.0.1", "symfony/runtime": "^6.4.0", "symfony/yaml": "^6.4.0" }, diff --git a/composer.lock b/composer.lock index 643be2b0..d29d160e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3510361ff4baf781ece0d4164bb9b952", + "content-hash": "28ce0d5c19a2c374bd43b26b148c2fd7", "packages": [ { "name": "brick/math", @@ -3519,36 +3519,34 @@ }, { "name": "symfony/routing", - "version": "v6.4.0", + "version": "v7.0.1", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "ae014d60d7c8e80be5c3b644a286e91249a3e8f4" + "reference": "fc55062907669835af6408558ae4d1dafef74b1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/ae014d60d7c8e80be5c3b644a286e91249a3e8f4", - "reference": "ae014d60d7c8e80be5c3b644a286e91249a3e8f4", + "url": "https://api.github.com/repos/symfony/routing/zipball/fc55062907669835af6408558ae4d1dafef74b1e", + "reference": "fc55062907669835af6408558ae4d1dafef74b1e", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { - "doctrine/annotations": "<1.12", - "symfony/config": "<6.2", - "symfony/dependency-injection": "<5.4", - "symfony/yaml": "<5.4" + "symfony/config": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/yaml": "<6.4" }, "require-dev": { - "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", - "symfony/config": "^6.2|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^5.4|^6.0|^7.0", - "symfony/yaml": "^5.4|^6.0|^7.0" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/yaml": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3582,7 +3580,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.0" + "source": "https://github.com/symfony/routing/tree/v7.0.1" }, "funding": [ { @@ -3598,7 +3596,7 @@ "type": "tidelift" } ], - "time": "2023-11-29T08:04:54+00:00" + "time": "2023-12-01T15:10:06+00:00" }, { "name": "symfony/runtime", diff --git a/config/routes/annotations.php b/config/routes/attributes.php similarity index 74% rename from config/routes/annotations.php rename to config/routes/attributes.php index 9ff71d8e..5f86e007 100644 --- a/config/routes/annotations.php +++ b/config/routes/attributes.php @@ -14,6 +14,6 @@ use Symfony\Component\Routing; return static function (Routing\Loader\Configurator\RoutingConfigurator $routingConfigurator): void { - $routingConfigurator->import('../../src/Controller/', 'annotation'); - $routingConfigurator->import('../../src/Kernel.php', 'annotation'); + $routingConfigurator->import('../../src/Controller/', 'attribute'); + $routingConfigurator->import('../../src/Kernel.php', 'attribute'); };