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": {