Microclimat / phpcs

0 stars 0 forks source link

Remove check for firstLetter + warning MemberVarNotCamelCaps #2

Closed Jibbarth closed 6 years ago

Jibbarth commented 6 years ago

As discussed in RetroTech, we don't want anymore this check on firstLetter for type of variable.

I also transform MemberVarNotCamelCaps error in warning to avoid put // @codingStandardsIgnoreStart in PrestaShop classes extending ObjectModel

I thinks it's the best compromise between PSR2 ruleset with error when no namespace, and our CS ruleset that not throwing errors when no namespace (for PrestaShop also, :sweat:)

Everyone is ok with this ?