Open
Description
The console tool orm:ensure-production-settings
appears to report that "Proxy Classes are always regenerating" when the proxy mode is set to AbstractProxyFactory::AUTOGENERATE_FILE_NOT_EXISTS
.
This is due to the use of a check for truthy values rather than strict checks for boolean true
or the constant AbstractProxyFactory::AUTOGENERATE_ALWAYS
:
if ($this->getAutoGenerateProxyClasses()) {
throw ORMException::proxyClassesAlwaysRegenerating();
}
This may be one of two situations: either this is a bug and the production readiness tool is misreporting this case, or the string returned by the tool is simply misleading ("... are always regenerating.").
This affects Doctrine 2.5.6.