symfony/symfony — pull request #8897 by unkind (2013-08-30 23:44:54+00:00)
Title: [Yaml] Fixed filename in the ParseException message

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

Yaml component throws an exception with corrupt filename, because it uses `json_encode`:

```
[Symfony\Component\Yaml\Exception\ParseException]
A YAML file cannot contain tabs as indentation in "\/var\/www\/app\/config.yml" at line 42 (near "	foo: bar").
```