Skip to content

Commit 6f87f9c

Browse files
committed
Fix
1 parent 0bebda4 commit 6f87f9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Rules/Deprecations/FetchingClassConstOfDeprecatedClassRule.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ function (Type $type) use ($constantName): bool {
9494
}
9595
}
9696

97+
if (strtolower($constantName) === 'class') {
98+
continue;
99+
}
100+
97101
if (!$class->hasConstant($constantName)) {
98102
continue;
99103
}

0 commit comments

Comments
 (0)