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
We are using a module which is generating entity classes at runtime with Zend\Code\Generator which are only eval()'d and not persisted to the file system. When calling doctrine-module orm:generate:proxies lots of warnings are issued because the class files do not exist. Therefore, ProxyGenerator::isShortIdentifierGetter should check existance of class files before reading them with file().
Simply adding && file_exists($method->getDeclaringClass()->getFileName()) to the initialization of $cheapCheck does prevent those warnings.
The text was updated successfully, but these errors were encountered:
We are using a module which is generating entity classes at runtime with Zend\Code\Generator which are only eval()'d and not persisted to the file system. When calling
doctrine-module orm:generate:proxies
lots of warnings are issued because the class files do not exist. Therefore, ProxyGenerator::isShortIdentifierGetter should check existance of class files before reading them with file().Simply adding
&& file_exists($method->getDeclaringClass()->getFileName())
to the initialization of$cheapCheck
does prevent those warnings.The text was updated successfully, but these errors were encountered: