Unverified Commit e53e75b4 authored by Mitch Portier's avatar Mitch Portier Committed by GitHub
Browse files

docs(README): Add PHPStan command (#3118572 by Arkener)

parent f3ddc650
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ Editors:
- [Visual Studio Code (VSCode)](https://www.drupal.org/node/1419996)


## Automated Testing (PHPUnit + PHPCS)
## Automated Testing (PHPUnit + PHPCS + PHPStan)

Coder Sniffer comes with a PHPUnit test suite to make sure the sniffs work correctly.
Use Composer to install the dependencies:
@@ -144,6 +144,10 @@ Then execute the coding standards checker on Coder itself:

    ./vendor/bin/phpcs

Then execute static analysis:

    ./vendor/bin/phpstan analyse


## Contributing