Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf5a4da

Browse filesBrowse files
committed
minor #32697 [Routing][FrameworkBundle] Remove deprecated ServiceRouterLoader, ObjectRouteLoader and routing.loader.service (fancyweb)
This PR was merged into the 5.0-dev branch. Discussion ---------- [Routing][FrameworkBundle] Remove deprecated ServiceRouterLoader, ObjectRouteLoader and routing.loader.service | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | è | License | MIT | Doc PR | - Remove deprecations from #32582 Commits ------- 4dc9ff6 [Routing][FrameworkBundle] Remove deprecated ServiceRouterLoader, ObjectRouteLoader and routing.loader.service
2 parents 1f192f1 + 4dc9ff6 commit bf5a4da
Copy full SHA for bf5a4da

File tree

8 files changed

+4
-272
lines changed
Filter options

8 files changed

+4
-272
lines changed

‎UPGRADE-5.0.md

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ FrameworkBundle
251251
* Removed the "Psr\SimpleCache\CacheInterface" / "cache.app.simple" service, use "Symfony\Contracts\Cache\CacheInterface" / "cache.app" instead.
252252
* Removed support for `templating` engine in `TemplateController`, use Twig instead
253253
* Removed `ResolveControllerNameSubscriber`.
254+
* Removed `routing.loader.service`.
254255

255256
HttpClient
256257
----------
@@ -368,6 +369,7 @@ Routing
368369
* `Serializable` implementing methods for `Route` and `CompiledRoute` are final.
369370
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
370371
with the new serialization methods in PHP 7.4.
372+
* Removed `ServiceRouterLoader` and `ObjectRouteLoader`.
371373

372374
Security
373375
--------

‎src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ CHANGELOG
1717
* Removed cache-related compiler passes and `RequestDataCollector`
1818
* Removed the `translator.selector` and `session.save_listener` services
1919
* Removed `SecurityUserValueResolver`, use `UserValueResolver` instead
20+
* Removed `routing.loader.service`.
2021

2122
4.4.0
2223
-----

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
<argument type="service" id="file_locator" />
4141
</service>
4242

43-
<service id="routing.loader.service" class="Symfony\Component\Routing\Loader\DependencyInjection\ServiceRouterLoader">
44-
<argument type="service" id="service_container" />
45-
<deprecated>The "%service_id%" service is deprecated since Symfony 4.4, use "routing.loader.container" instead.</deprecated>
46-
</service>
47-
4843
<service id="routing.loader.container" class="Symfony\Component\Routing\Loader\ContainerLoader">
4944
<tag name="routing.loader" />
5045
<argument type="service" id="service_container" />

‎src/Symfony/Component/Routing/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CHANGELOG
88
* removed `generator_base_class`, `generator_cache_class`, `matcher_base_class` and `matcher_cache_class` router options
99
* `Serializable` implementing methods for `Route` and `CompiledRoute` are final
1010
* removed referencing service route loaders with a single colon
11+
* Removed `ServiceRouterLoader` and `ObjectRouteLoader`.
1112

1213
4.4.0
1314
-----

‎src/Symfony/Component/Routing/Loader/DependencyInjection/ServiceRouterLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Loader/DependencyInjection/ServiceRouterLoader.php
-43Lines changed: 0 additions & 43 deletions
This file was deleted.

‎src/Symfony/Component/Routing/Loader/ObjectRouteLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Loader/ObjectRouteLoader.php
-76Lines changed: 0 additions & 76 deletions
This file was deleted.

‎src/Symfony/Component/Routing/Tests/Loader/DependencyInjection/ServiceRouterLoaderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Tests/Loader/DependencyInjection/ServiceRouterLoaderTest.php
-29Lines changed: 0 additions & 29 deletions
This file was deleted.

‎src/Symfony/Component/Routing/Tests/Loader/ObjectRouteLoaderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Tests/Loader/ObjectRouteLoaderTest.php
-119Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.