Content-Length: 250962 | pFad | http://github.com/symfony/routing/commit/1366ed8a23adefd546ceb975f70ad6a16520120c

34 replace expectDeprecation() with expectUserDeprecationMessage() · symfony/routing@1366ed8 · GitHub
Skip to content

Commit 1366ed8

Browse files
committed
replace expectDeprecation() with expectUserDeprecationMessage()
1 parent c2f1999 commit 1366ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Generator/UrlGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ public function testQueryParametersWithScalarValue()
11161116
{
11171117
$routes = $this->getRoutes('user', new Route('/user/{id}'));
11181118

1119-
$this->expectDeprecation(
1119+
$this->expectUserDeprecationMessage(
11201120
'Since symfony/routing 7.4: Parameter "_query" is reserved for passing an array of query parameters. ' .
11211121
'Passing a scalar value is deprecated and will throw an exception in Symfony 8.0.',
11221122
);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/symfony/routing/commit/1366ed8a23adefd546ceb975f70ad6a16520120c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy