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
Zend.NamingConventions.ValidVariableName rule requires an underscore for private class properties.
Actual Behavior
FILE: controller/DealerDetail.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
35 | ERROR | Private member variable "newPrivateVar" must contain a
| | leading underscore
----------------------------------------------------------------------
Zend.NamingConventions.ValidVariableName rule requires an underscore for private class properties.
Actual Behavior
This contradicts PSR-2:
https://www.php-fig.org/psr/psr-2/#42-properties
We should be able to do something like this to exclude that rule:
The text was updated successfully, but these errors were encountered: