Skip to content

Commit

Permalink
[TASK] Normalize and remove not needed rules
Browse files Browse the repository at this point in the history
Related: #1391
  • Loading branch information
Starkmann committed Jul 30, 2024
1 parent 6ea8699 commit d3ba4f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Build/phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,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.",
Expand Down

0 comments on commit d3ba4f5

Please sign in to comment.