Content-Length: 330073 | pFad | http://github.com/symfony/symfony/commit/b81292e385cde74f56fdeaf5d59f384a2ff703b6

0A Update src/Symfony/Component/Routing/CHANGELOG.md · symfony/symfony@b81292e · GitHub
Skip to content

Commit b81292e

Browse files
Update src/Symfony/Component/Routing/CHANGELOG.md
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent 354b65b commit b81292e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/Symfony/Component/Routing/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ CHANGELOG
44
7.2
55
---
66

7-
* Add aliases in the Route attribute
8-
* Add the `Requirement::UID_RFC9562` constant to validate UUIDs in the RFC 9562 format
9-
* Deprecate the `AttributeClassLoader::$routeAnnotationClass` property
7+
* Add aliases in the Route attribute
8+
* Add the `Requirement::UID_RFC9562` constant to validate UUIDs in the RFC 9562 format
9+
* Deprecate the `AttributeClassLoader::$routeAnnotationClass` property
1010

1111
7.1
1212
---

src/Symfony/Component/Routing/Loader/AttributeClassLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function addRoute(RouteCollection $collection, object $attr, array $gl
230230
} else {
231231
$collection->add($name, $route, $priority);
232232
}
233-
if (0 !== count($attr->getAliases())) {
233+
if (0 !== \count($attr->getAliases())) {
234234
foreach ($attr->getAliases() as $alias) {
235235
$collection->addAlias($alias, $name);
236236
}

src/Symfony/Component/Routing/Tests/Loader/AttributeClassLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,8 @@ public function testDefaultRouteName()
366366
$this->assertSame('symfony_component_routing_tests_fixtures_attributefixtures_encodingclass_routeàction', $defaultName);
367367
}
368368

369-
public function testAliases(): void {
369+
public function testAliases(): void
370+
{
370371
$routes = $this->loader->load(AliasRouteController::class);
371372
$route = $routes->get('action_with_alias');
372373
$this->assertCount(1, $routes);

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/symfony/commit/b81292e385cde74f56fdeaf5d59f384a2ff703b6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy