bug #21736 [Config] fixed glob file loader when there is an exception (fabpot)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[Config] fixed glob file loader when there is an exception

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

Fixes a typo. When importing a glob, we definitely want to have errors like syntax errors in a YAML file.

Commits
-------

d1b6601612 [Config] fixed glob file loader when there is an exception
This commit is contained in:
Fabien Potencier 2017-02-23 08:39:57 -08:00
commit 5d3561a1fc

View File

@ -23,7 +23,7 @@ class GlobFileLoader extends FileLoader
*/
public function load($resource, $type = null)
{
return $this->import($resource, null, true);
return $this->import($resource);
}
/**