Skip to content

Commit

Permalink
[PHPStan] Fix phpstan notice protected element usage (#3730)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed May 4, 2023
1 parent 05cc9af commit 67ce52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ parameters:
- '#Parameter \#1 \$name of method PHPStan\\BetterReflection\\Reflection\\Adapter\\ReflectionClass\:\:getAttributes\(\) expects class\-string\|null, string given#'

-
message: '#Instead of protected element in use private element or contract method#'
message: '#Instead of protected element, use private element or contract method#'
paths:
- packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php
- rules/Strict/Rector/AbstractFalsyScalarRuleFixerRector.php
Expand Down

0 comments on commit 67ce52f

Please sign in to comment.