Skip to content

Commit

Permalink
#68 Disable ECS for now & code complexity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirsman committed Feb 25, 2022
1 parent 36abfc5 commit 45a8962
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion config/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ grumphp:
php_check_syntax: ~
phpcs: ~
php_stan: ~
ecs: ~
yaml_lint: ~
json_lint: ~
extensions:
Expand Down
13 changes: 0 additions & 13 deletions config/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,3 @@ parameters:
includes:
- %currentWorkingDirectory%/vendor/mglaman/phpstan-drupal/extension.neon
- %currentWorkingDirectory%/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- %currentWorkingDirectory%/vendor/symplify/coding-standard/packages/cognitive-complexity/config/cognitive-complexity-services.neon

services:
-
class: Symplify\CodingStandard\CognitiveComplexity\Rules\FunctionLikeCognitiveComplexityRule
tags: [phpstan.rules.rule]
arguments:
maxMethodCognitiveComplexity: 16
-
class: Symplify\CodingStandard\CognitiveComplexity\Rules\ClassLikeCognitiveComplexityRule
tags: [phpstan.rules.rule]
arguments:
maxClassCognitiveComplexity: 50

0 comments on commit 45a8962

Please sign in to comment.