symfony/symfony — Issue #3043: Private property should be protected
Author: mrmark
Created: 2012-01-05 23:06:17+00:00
State: open

In Console\Command\Command the $ignoreValidationErrors property is set as private, but the sub-class HelpCommand uses this property directly. So, I'd recommend that the property be set as protected or implement getter/setter methods for the property for HelpCommand class to use.

The odd thing though is that PHP doesn't really seem to care as it doesn't throw any errors. I actually found this problem with my IDE rather than via a PHP error/warning.