mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-16 21:16:13 +02:00

[TASK] Normalize and remove not needed rules

Related: #1391
This commit is contained in:
Eike Starkmann 2024-07-30 19:24:50 +02:00
parent 7178d30038
commit 2f672c1d01
2 changed files with 1 additions and 4 deletions

View file

@ -4,10 +4,7 @@
PHPMD rules for Tea
</description>
<!-- The commented-out rules will be enabled once the code does not generate any warnings anymore. -->
<rule ref="rulesets/cleancode.xml/BooleanArgumentFlag"/>
<rule ref="rulesets/cleancode.xml/StaticAccess"/>
<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>
<rule ref="rulesets/codesize.xml/NPathComplexity"/>

View file

@ -220,10 +220,10 @@
"ci:php": "Runs all static checks for the PHP files.",
"ci:php:cs-fixer": "Checks the code style with the PHP Coding Standards Fixer (PHP-CS-Fixer).",
"ci:php:lint": "Lints the PHP files for syntax errors.",
"ci:php:mess": "Runs mess decection on folder classes",
"ci:php:sniff": "Checks the code style with PHP_CodeSniffer (PHPCS).",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:static": "Runs all static code checks (syntax, style, types).",
"ci:php:mess": "Runs mess decection on folder classes",
"ci:tests:create-directories": "Creates the directories required to smoothely run the functional tests.",
"ci:tests:functional": "Runs the functional tests.",
"ci:tests:unit": "Runs the unit tests.",