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/DependencyInjection/Loader
Tobias Schultze a8d0b1aa75 bug #14325 [Routing][DependencyInjection] Support .yaml extension in YAML loaders (thunderer)
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
-------

dd5a811 [Routing][DependencyInjection] Support .yaml extension in YAML loaders
2015-04-17 12:05:01 +02:00
..
schema/dic/services remove service parameter type from XSD 2014-09-13 09:57:08 +02:00
ClosureLoader.php [DependencyInjection] use inheritdoc for loaders 2014-10-13 21:10:53 +02:00
FileLoader.php [DependencyInjection] use inheritdoc for loaders 2014-10-13 21:10:53 +02:00
IniFileLoader.php [DependencyInjection] use inheritdoc for loaders 2014-10-13 21:10:53 +02:00
PhpFileLoader.php [DependencyInjection] use inheritdoc for loaders 2014-10-13 21:10:53 +02:00
XmlFileLoader.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
YamlFileLoader.php bug #14325 [Routing][DependencyInjection] Support .yaml extension in YAML loaders (thunderer) 2015-04-17 12:05:01 +02:00