You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of usage of realpath in Symfony\Bridge\Doctrine\DependencyInjection\AbstractDoctrineExtension, entities from Phar-packages can't be loaded.
Steps to reproduce
Pack whole the framework with entities in Phar-package or just pack only own code into Phar.
Try to clear the cache or somehow use the entities-related features.
Say "hello" to Doctrine\Common\Persistence\MappingException with message File mapping drivers must have a valid directory path, however the given path seems to be incorrect!