Skip to content

Navigation Menu

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 093fce4

Browse filesBrowse files
Update src/Symfony/Component/Routing/CHANGELOG.md
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent 354b65b commit 093fce4
Copy full SHA for 093fce4

File tree

3 files changed

+6
-5
lines changed
Filter options

3 files changed

+6
-5
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/CHANGELOG.md
+3-3
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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Loader/AttributeClassLoader.php
+1-1
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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Tests/Loader/AttributeClassLoaderTest.php
+2-1
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()
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.