Skip to content

Commit

Permalink
skip error constants
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 8, 2023
1 parent 6db1753 commit 380afa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Rules/ClassLikeCognitiveComplexityRule.php
Expand Up @@ -18,6 +18,7 @@
final class ClassLikeCognitiveComplexityRule implements Rule
{
/**
* @api used in tests
* @var string
*/
public const ERROR_MESSAGE = 'Class cognitive complexity is %d, keep it under %d';
Expand Down
1 change: 1 addition & 0 deletions src/Rules/FunctionLikeCognitiveComplexityRule.php
Expand Up @@ -32,6 +32,7 @@
final class FunctionLikeCognitiveComplexityRule implements Rule
{
/**
* @api used in tests
* @var string
*/
public const ERROR_MESSAGE = 'Cognitive complexity for "%s" is %d, keep it under %d';
Expand Down

0 comments on commit 380afa5

Please sign in to comment.