Skip to content

Commit a587ecd

Browse files
committed
Ignore SensitiveParameter
1 parent 901f761 commit a587ecd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ClassAttributeCollector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ private static function isAttributeIgnored(ReflectionAttribute $attribute): bool
115115
{
116116
static $ignored = [
117117
\ReturnTypeWillChange::class => true,
118+
\SensitiveParameter::class => true,
118119
];
119120

120121
return isset($ignored[$attribute->getName()]); // @phpstan-ignore offsetAccess.nonOffsetAccessible

0 commit comments

Comments
 (0)