Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit18ef471

Browse files
committed
minor#46131 [Routing] Fix changelog & deprecation message for#46042 (HypeMC)
This PR was merged into the 6.1 branch.Discussion----------[Routing] Fix changelog & deprecation message for#46042| Q | A| ------------- | ---| Branch? | 6.1| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -Since#46042 was merged into 6.1 the changelog & deprecation message are now wrong. cc `@fabpot`Commits-------bb37826 [Routing] Fix changelog & deprecation message for#46042
2 parentsd838f46 +bb37826 commit18ef471

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

‎UPGRADE-6.1.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ HttpKernel
3232

3333
* Deprecate StreamedResponseListener, it's not needed anymore
3434

35+
Routing
36+
-------
37+
38+
* Add argument`$routeParameters` to`UrlMatcher::handleRouteRequirements()`
39+
3540
Serializer
3641
----------
3742

‎UPGRADE-6.2.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
CHANGELOG
22
=========
33

4-
6.2
5-
---
6-
7-
* Add`params` variable to condition expression
8-
* Deprecate not passing route parameters as the fourth argument to`UrlMatcher::handleRouteRequirements()`
9-
104
6.1
115
---
126

@@ -16,6 +10,8 @@ CHANGELOG
1610
* Already encoded slashes are not decoded nor double-encoded anymore when generating URLs (query parameters)
1711
* Add`EnumRequirement` to help generate route requirements from a`\BackedEnum`
1812
* Add`Requirement`, a collection of universal regular-expression constants to use as route parameter requirements
13+
* Add`params` variable to condition expression
14+
* Deprecate not passing route parameters as the fourth argument to`UrlMatcher::handleRouteRequirements()`
1915

2016
5.3
2117
---

‎src/Symfony/Component/Routing/Matcher/UrlMatcher.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected function getAttributes(Route $route, string $name, array $attributes):
225225
protectedfunctionhandleRouteRequirements(string$pathinfo,string$name,Route$route/*, array $routeParameters*/):array
226226
{
227227
if (\func_num_args() <4) {
228-
trigger_deprecation('symfony/routing','6.2','The "%s()" method will have a new "array $routeParameters" argument in version 7.0, not defining it is deprecated.',__METHOD__);
228+
trigger_deprecation('symfony/routing','6.1','The "%s()" method will have a new "array $routeParameters" argument in version 7.0, not defining it is deprecated.',__METHOD__);
229229
$routeParameters = [];
230230
}else {
231231
$routeParameters =func_get_arg(3);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp