This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 53556290ed bug #31421 [Routing][AnnotationClassLoader] fix utf-8 encoding in default route name (przemyslaw-bogusz)
This PR was squashed before being merged into the 3.4 branch (closes #31421).

Discussion
----------

[Routing][AnnotationClassLoader] fix utf-8 encoding in default route name

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

If controller, or one of its methods, contain a unicode character and you run:
```
./bin/console debug:router
```
you get this:
![Zrzut ekranu 2019-05-8 o 14 00 48](https://user-images.githubusercontent.com/35422131/57374545-71863080-719b-11e9-999e-fe0a5051c089.png)

This PR fixes it into this:
![Zrzut ekranu 2019-05-8 o 14 00 59](https://user-images.githubusercontent.com/35422131/57374616-92e71c80-719b-11e9-9d13-5370213c22f7.png)

Commits
-------

7ab52d3c36 [Routing][AnnotationClassLoader] fix utf-8 encoding in default route name
2019-05-18 18:36:56 +02:00
..
Asset switched array() to [] 2019-01-16 10:39:14 +01:00
BrowserKit Run test in separate process 2019-04-06 21:33:58 +02:00
Cache security #cve-2019-10912 [Cache][PHPUnit Bridge] Prevent destructors with side-effects from being unserialized (nicolas-grekas) 2019-04-16 11:03:16 +02:00
ClassLoader switched array() to [] 2019-01-16 10:39:14 +01:00
Config Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
Console bug #31261 [Console] Commands with an alias should not be recognized as ambiguous when using register (Simperfit) 2019-05-09 10:42:51 +02:00
CssSelector switched array() to [] 2019-01-16 10:39:14 +01:00
Debug [Debug] Wrap call to require_once in a try/catch 2019-05-18 15:32:47 +02:00
DependencyInjection fixed CS 2019-05-07 12:18:14 +02:00
DomCrawler Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
Dotenv SCA: minor code tweaks 2019-04-01 09:08:40 +02:00
EventDispatcher [EventDispatcher] cleanup 2019-04-02 10:51:52 +02:00
ExpressionLanguage fixed CS in ExpressionLanguage fixtures 2019-01-16 13:52:19 +01:00
Filesystem [Filesystem] Fixed some docblocks and typos 2019-02-04 22:34:32 +01:00
Finder Skip Glob brace test when GLOB_BRACE is unavailable 2019-04-02 21:54:57 +02:00
Form [Validator] Add the missing translations for the Danish ("da") locale 2019-05-14 17:13:30 +03:00
HttpFoundation fixed a phpdoc 2019-05-18 18:33:51 +02:00
HttpKernel bumped Symfony version to 3.4.28 2019-05-01 15:30:28 +02:00
Inflector fixed short array CS in comments 2019-01-16 14:27:11 +01:00
Intl minor #31432 [Intl] Add FallbackTrait for data generation (ro0NL) 2019-05-09 10:31:33 +02:00
Ldap [VarDumper][Ldap] relax some locally failing tests 2019-04-16 15:58:17 +02:00
Lock switched array() to [] 2019-01-16 10:39:14 +01:00
OptionsResolver CS Fixes: Not double split with one array argument 2019-04-10 18:00:48 +02:00
Process fixed CS 2019-04-08 18:15:54 +02:00
PropertyAccess [PropertyAccess] Fixed PropertyPathBuilder remove that fails to reset internal indexes 2019-03-04 07:36:31 +01:00
PropertyInfo [PropertyInfo] Add missing documentation link in Readme 2019-05-16 16:10:36 +02:00
Routing [Routing][AnnotationClassLoader] fix utf-8 encoding in default route name 2019-05-18 18:36:47 +02:00
Security Translated form, security, validators resources into Belarusian (be) 2019-05-05 18:11:06 +02:00
Serializer [Serializer] Fix denormalization of object with variadic constructor typed argument 2019-05-11 11:57:38 +02:00
Stopwatch switched array() to [] 2019-01-16 10:39:14 +01:00
Templating Apply php-cs-fixer rule for array_key_exists() 2019-02-23 16:06:07 +01:00
Translation [Translation] Fixes typo in comment 2019-05-01 13:10:09 +02:00
Validator Translated form, security, validators resources into Belarusian (be) 2019-05-05 18:11:06 +02:00
VarDumper Reword VarDumper description 2019-05-01 11:52:10 +02:00
WebLink switched array() to [] 2019-01-16 10:39:14 +01:00
Workflow [Workflow] Fixed dumping when many transition with same name exist 2019-04-30 17:32:30 +02:00
Yaml use behavior instead of behaviour 2019-03-25 08:48:46 +01:00