mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-25 20:06:11 +01:00

[TASK] Use GitHub error fornating for phpstan CI

This commit is contained in:
Łukasz Uznański 2022-10-25 20:35:12 +02:00
parent 28cf48ed58
commit 28a510ee61
2 changed files with 3 additions and 1 deletions

View file

@ -72,7 +72,7 @@ jobs:
- "json:lint"
- "php:cs-fixer"
- "php:sniff"
- "php:stan"
- "php:stan:github"
- "ts:lint"
- "yaml:lint"
- "xliff:lint"

View file

@ -142,6 +142,7 @@
"ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:sniff": "phpcs Classes Configuration Tests",
"ci:php:stan": "phpstan --no-progress",
"ci:php:stan:github": "phpstan --no-progress --error-format=github",
"ci:static": [
"@ci:composer:normalize",
"@ci:json:lint",
@ -215,6 +216,7 @@
"ci:php:lint": "Lints the PHP files for syntax errors.",
"ci:php:sniff": "Checks the code style with PHP_CodeSniffer (PHPCS).",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:php:stan:github": "Checks the PHP types using PHPStan and output errors with GitHub format.",
"ci:static": "Runs all static code checks (syntax, style, types).",
"ci:tests:create-directories": "Creates the directories required to smoothely run the functional tests.",
"ci:tests:functional": "Runs the functional tests.",