File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1919 "phpunit/phpunit" : " ~4.0" ,
2020 "scrutinizer/ocular" : " ~1.1" ,
2121 "squizlabs/php_codesniffer" : " ~2.2" ,
22- "symfony/yaml" : " ~2.5 "
22+ "symfony/yaml" : " ~3.4 "
2323 },
2424 "suggest" : {
25- "symfony/yaml" : " ~2.5 "
25+ "symfony/yaml" : " ~3.4 "
2626 },
2727 "autoload" : {
2828 "psr-4" : {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Yaml implements FileParserInterface
2626 public function parse ($ path )
2727 {
2828 try {
29- $ data = YamlParser::parse (file_get_contents ($ path ));
29+ $ data = YamlParser::parse (file_get_contents ($ path ), YamlParser:: PARSE_CONSTANT );
3030 } catch (Exception $ exception ) {
3131 throw new ParseException (
3232 array (
Original file line number Diff line number Diff line change 1- /as/d
2-
3-
4- cz
5-
6- <asd>
7- </qwe>
1+ ---
2+ -
3+ ---
You can’t perform that action at this time.
0 commit comments