mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 06:36:13 +01:00

[FEATURE] add new command ci:php:lint-parallel

Fixes: #1139
This commit is contained in:
Eike Starkmann 2024-07-29 17:41:54 +02:00
parent e87c7403a6
commit f676d5d260

View file

@ -70,7 +70,8 @@
"typo3/cms-fluid-styled-content": "^11.5.4 || ^12.4.2", "typo3/cms-fluid-styled-content": "^11.5.4 || ^12.4.2",
"typo3/coding-standards": "^0.6.1", "typo3/coding-standards": "^0.6.1",
"typo3/testing-framework": "^7.0.5", "typo3/testing-framework": "^7.0.5",
"webmozart/assert": "^1.11.0" "webmozart/assert": "^1.11.0",
"php-parallel-lint/php-parallel-lint": "^1.4"
}, },
"replace": { "replace": {
"typo3-ter/tea": "self.version" "typo3-ter/tea": "self.version"
@ -143,6 +144,7 @@
], ],
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff", "ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
"ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l", "ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:lint-parallel": ".Build/bin/parallel-lint --exclude .git --exclude .cache --exclude .Build --exclude typo3temp --exclude Documentation --exclude Resources --exclude .gitlab --exclude .github .",
"ci:php:sniff": "phpcs Classes Configuration Tests", "ci:php:sniff": "phpcs Classes Configuration Tests",
"ci:php:stan": "phpstan --no-progress", "ci:php:stan": "phpstan --no-progress",
"ci:static": [ "ci:static": [