The new phpcsstandards/phpcsdevtools package includes a script which can check whether sniffs are feature complete, i.e. whether all sniffs have unit tests and documentation.
By adding this check to the Travis script, we prevent untested and/or undocumented sniffs from entering the repo.
The new
phpcsstandards/phpcsdevtools
package includes a script which can check whether sniffs are feature complete, i.e. whether all sniffs have unit tests and documentation.By adding this check to the Travis script, we prevent untested and/or undocumented sniffs from entering the repo.
For now, the documentation check is silenced.
Ref: https://github.com/PHPCSStandards/PHPCSDevTools#checking-whether-all-sniffs-in-a-phpcs-standard-are-feature-complete
P.S.: the
PHPCSDevTools
package contains a few more goodies, have a look at the readme for more information.