From 4286e241e7432b3e2be8eddfce3e9e4869cb9feb Mon Sep 17 00:00:00 2001 From: Georges Date: Sat, 6 Jan 2024 22:05:55 +0100 Subject: [PATCH] Updated README --- README.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) 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