From e53e75b45842a5d2b454b08c318a17f57339e60e Mon Sep 17 00:00:00 2001 From: Mitch Portier <mitch.portier@gmail.com> Date: Sun, 8 Mar 2020 20:03:35 +0100 Subject: [PATCH] docs(README): Add PHPStan command (#3118572 by Arkener) --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a281f032..4f8fca3e 100644 --- a/README.md +++ b/README.md @@ -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 -- GitLab