studiometa / create-wordpress-project

A generator to kickstart your WordPress project in a few seconds! ⚡
MIT License
6 stars 3 forks source link

PhpcompatibilityWp sniffs for phpcs #89

Closed lusimeon closed 3 years ago

lusimeon commented 3 years ago

Install phpcompatibility/phpcompatibility-wp sniffs to PHP_CodeSniffer to alert on potential PHP compatibility issues.

Some custom rulesets and specific test versions can be set thanks to phpcs.xml.

Prevent PHP compatibility errors will make it easier to upgrade project's PHP version.

titouanmathis commented 3 years ago

Great idea! 👍