From c4b36baf0030f684bf5f082333e197949833219e Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Wed, 25 Oct 2023 09:25:19 -0600 Subject: [PATCH] revise lint script to run php and phpcs --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 42155f47..d0a11bf8 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,11 @@ "scripts": { "cs": "phpcs --standard=PSR2 -n src", "cbf": "phpcbf --standard=PSR2 -n src", - "lint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l", + "phplint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l", + "lint": [ + "@phplint", + "@cs" + ], "unit": "phpunit --colors=always tests", "functional": [ "Composer\\Config::disableProcessTimeout",