Details
Description
When not setting the attribute 'AutoGenerateProxyClasses' and running orm:ensure-production-settings an exception is thrown:
Notice: Undefined index: autoGenerateProxyClasses in Doctrine/ORM/lib/Doctrine/ORM/Configuration.php on line 332
There should be a default value set or a notice that this attribute is mandatory.
the code inside the method that checks the production settings should simply use the getters instead of accessing the attributes array directly. So: $this->getAutoGenerateProxyClasses() instead of $this->_attributes[....].
The default values are encapsulated in the getter methods to avoid having a large array with default values that grows with each new setting even if the setting is never used.