Our phpcs.xml.dist config file currently does not include the WordPress-Extra rules, which are recommended to use for plugins. We should add it and fix the resulting validation errors.
The latter will require manual assessment: Errors will either need to be actually fixed, or they may be invalid due to the automated detection being limited, in which case a code comment to exclude the check for the "offending" line should be added.
Our
phpcs.xml.distconfig file currently does not include theWordPress-Extrarules, which are recommended to use for plugins. We should add it and fix the resulting validation errors.The latter will require manual assessment: Errors will either need to be actually fixed, or they may be invalid due to the automated detection being limited, in which case a code comment to exclude the check for the "offending" line should be added.