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 c85134c9c1 feature #27879 [Routing] deprecate non string requirement names (xabbuh)
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Routing] deprecate non string requirement names

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Basically, this will help catching wrong `@Route` annotation configurations like the following which can lead to hard to debug issues:

```php
@Route("/{foo}", requirements={"foo", "bar"})
```

Commits
-------

8bb5266553 deprecate non string requirement names
2018-07-11 17:44:02 +02:00
..
Asset Merge branch '4.1' 2018-05-31 12:18:23 +02:00
BrowserKit Merge branch '4.1' 2018-06-06 11:59:09 +02:00
Cache minor fixes 2018-07-09 17:54:21 +02:00
Config feature #27476 [Config] deprecate tree builders without root nodes (xabbuh) 2018-06-25 19:06:32 +02:00
Console feature #26933 [Console] Add title table (maidmaid) 2018-07-11 11:58:49 +02:00
CssSelector Merge branch '4.1' 2018-05-31 12:18:23 +02:00
Debug Merge branch '4.1' 2018-07-09 15:30:59 +02:00
DependencyInjection [ProxyManagerBridge][DI] allow proxifying interfaces with "lazy: Some\ProxifiedInterface" 2018-07-09 16:45:45 +02:00
DomCrawler Merge branch '4.1' 2018-07-05 13:54:37 +02:00
Dotenv [Process][Console] deprecated defining commands as strings 2018-07-06 20:45:13 +02:00
EventDispatcher updated version to 4.2 2018-05-07 16:51:25 +02:00
ExpressionLanguage Merge branch '4.1' 2018-06-21 13:18:49 +02:00
Filesystem Merge branch '2.8' into 3.4 2018-07-09 15:25:43 +02:00
Finder Merge branch '4.1' 2018-06-19 23:38:29 +02:00
Form Merge branch '4.1' 2018-07-09 15:30:59 +02:00
HttpFoundation Merge branch '4.1' 2018-07-09 15:30:59 +02:00
HttpKernel minor #27868 improve deprecation messages (xabbuh) 2018-07-09 10:21:26 +02:00
Inflector updated version to 4.2 2018-05-07 16:51:25 +02:00
Intl Merge branch '4.1' 2018-06-25 13:13:38 +02:00
Ldap Merge branch '4.1' 2018-06-19 23:38:29 +02:00
Lock Merge branch '4.1' 2018-07-09 15:30:59 +02:00
Messenger feature #27320 [Messenger] Activation middleware decorator (ogizanagi) 2018-07-08 10:25:00 +01:00
OptionsResolver Merge branch '4.1' 2018-07-07 18:01:39 +02:00
Process Fix the detection of the Process new argument 2018-07-09 11:01:07 +02:00
PropertyAccess add property path to exception message when error writing property 2018-06-12 16:19:40 +01:00
PropertyInfo Merge branch '4.1' 2018-07-07 18:01:39 +02:00
Routing deprecate non string requirement names 2018-07-09 15:38:45 +02:00
Security fix typo 2018-07-11 09:48:45 +02:00
Serializer improve deprecation messages 2018-07-08 21:14:58 +02:00
Stopwatch updated version to 4.2 2018-05-07 16:51:25 +02:00
Templating updated version to 4.2 2018-05-07 16:51:25 +02:00
Translation Merge branch '4.1' 2018-07-09 15:30:59 +02:00
Validator Merge branch '4.1' 2018-06-29 18:29:59 +02:00
VarDumper minor #27868 improve deprecation messages (xabbuh) 2018-07-09 10:21:26 +02:00
WebLink updated version to 4.2 2018-05-07 16:51:25 +02:00
Workflow Merge branch '4.1' 2018-07-09 15:30:59 +02:00
Yaml Merge branch '4.1' 2018-05-31 12:18:23 +02:00