diff --git a/README.md b/README.md index d667dea..9c232a9 100644 --- a/README.md +++ b/README.md @@ -2,23 +2,14 @@ Merge requests are welcome but will require the tests plus the quality tools to pass: _(Commands must be run from the repository root)_ -### PHPCS: +### PHPCS, PHPMD, PHPSTAN (Level 6), unit tests: ```bash -# Fixer + Linter -./vendor/bin/phpcbf lib/ --report=summary +composer run-script quality +composer run-script tests -# Linter only -./vendor/bin/phpcs lib/ --report=summary -``` -### PHPMD: -```bash -./vendor/bin/phpmd lib/ ansi phpmd.xml -``` - -### PHPSTAN (Level 6): -```bash -./vendor/bin/phpstan analyse lib/ -l 6 -c phpstan.neon 2>&1 +# In case you want to fix the code style automatically: +./vendor/bin/phpcbf lib/ --report=summary ``` ## Support & Security