a8d0b1aa75
This PR was squashed before being merged into the 2.3 branch (closes #14325).
Discussion
----------
[Routing][DependencyInjection] Support .yaml extension in YAML loaders
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #14319
| License | MIT
| Doc PR | -
YAML [FAQ](http://www.yaml.org/faq.html) states that .yaml file extension should be used whenever possible. I tweaked YamlFileLoader supports() method in Symfony Routing component to accept both .yml and .yaml and added some asserts in tests for that behavior.
This PR replaces #14319 as it was based on 2.7. BTW Is there a way to "rebase" PR branch without redoing all the work?
Commits
-------
|
||
---|---|---|
.. | ||
schema/dic/services | ||
ClosureLoader.php | ||
FileLoader.php | ||
IniFileLoader.php | ||
PhpFileLoader.php | ||
XmlFileLoader.php | ||
YamlFileLoader.php |