From acb3266624c339f87a957c943e3f8412b6280d15 Mon Sep 17 00:00:00 2001 From: Any97Cris Date: Thu, 22 Feb 2024 11:29:22 -0400 Subject: [PATCH] add and configure command lint Signed-off-by: Crisciany Silva --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c2d15c7..2b27668 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ "cs:check": "phpcs --standard=PSR12 -n src tests/Unit", "cs:fix": "phpcbf --standard=PSR12 -n src tests/Unit", "test:unit": "phpunit --no-coverage", - "test:coverage": "XDEBUG_MODE=coverage phpunit" + "test:coverage": "XDEBUG_MODE=coverage phpunit", + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l" }, "config": { "allow-plugins": {