Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #75 Replace eval by require_once in ForwardCompatTypeExtensionTra…
…it (l-vo) This PR was merged into the 2.0 branch. Discussion ---------- Replace eval by require_once in ForwardCompatTypeExtensionTrait When an application use the ForwardCompatTypeExtensionTrait trait with return types, an error is triggered since the Symfony container can't determine and include the file that created the trait: `Warning: include_once(/var/www/html/vendor/exercise/html-purifier-bundle/src/Form/TypeExtension/ForwardCompatTypeExtensionTrait.php(8) : eval()'d code): failed to open stream: No such file or directory` This PR aims to fix this issue. Commits ------- 98d3456 Replace eval by require_once for ForwardCompatTypeExtensionTrait
- Loading branch information