Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: always check that all sniffs are feature complete #656

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Apr 15, 2021

The 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 basics GH Actions workflow, we prevent untested and/or undocumented sniffs from entering the repo.

For now, the documentation check is silenced.

P.S.: the PHPCSDevTools package contains a few more goodies which having the package (dev-)required now make available to developers, like the PHPCSDebug standard to get detailed information about the tokens in a file.
Have a look at the package readme for more information.

Related to #628

@jrfnl jrfnl added this to the 2.3.0 milestone Apr 15, 2021
@jrfnl jrfnl requested a review from a team as a code owner April 15, 2021 14:45
The `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 `basics` GH Actions workflow, we prevent untested and/or undocumented sniffs from entering the repo.

For now, the documentation check is silenced.

P.S.: the `PHPCSDevTools` package contains a few more goodies which having the package (dev-)required now make available to developers, like the `PHPCSDebug` standard to get detailed information about the tokens in a file.
Have a look at the package [readme](https://github.com/PHPCSStandards/PHPCSDevTools) for more information.
@jrfnl jrfnl force-pushed the fix/ghactions-add-feature-complete-check branch from 5576de1 to 2f1494d Compare April 15, 2021 14:46
@rebeccahum rebeccahum merged commit 2885957 into develop Apr 15, 2021
@jrfnl jrfnl deleted the fix/ghactions-add-feature-complete-check branch April 15, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants