Last active
August 10, 2016 07:01
-
-
Save nanasess/d72c796969d8c2eb5082a0567d54a92d to your computer and use it in GitHub Desktop.
YamlDriver.php patch for Doctrine ORM 2.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ./vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php.orig 2015-08-31 22:19:01.000000000 +0900 | |
+++ ./vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php 2016-08-04 15:06:37.603199820 +0900 | |
@@ -709,6 +709,6 @@ | |
*/ | |
protected function loadMappingFile($file) | |
{ | |
- return Yaml::parse($file); | |
+ return Yaml::parse(file_get_contents($file)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
original
doctrine/orm@d3b1bf5