build: exclude gen dir from lints

This commit is contained in:
2025-06-07 00:09:05 +03:00
parent 1ce788bb33
commit 01966525a2
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ $config
->notPath('l10n')
->notPath('node_modules')
->notPath('src')
->notPath('gen')
->notPath('vendor')
->in(__DIR__);

View File

@@ -21,7 +21,7 @@
"post-update-cmd": [
"@composer bin all update --ansi"
],
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -not -path './gen/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=1 --no-cache",