extdn / extdn-phpcs

PHP CodeSniffer rules
81 stars 10 forks source link

Rule: XML layout should not use setters #11

Open jissereitsma opened 6 years ago

jissereitsma commented 6 years ago

The XML layout should not contain any (magical or non-magical) setters (setX), as they are deprecated on the long run. All properties should be passed as arguments.

schmengler commented 6 years ago

With #23 (rulesets per Magento version), this can be introduced as low-severity rule first