Skip to content

Commit 21eed98

Browse files
committed
[Code] State these @phpstan-ignore-next-line have to stay
1 parent b56b558 commit 21eed98

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Rules/Deprecations/SymfonyCmfRouteObjectInterfaceConstantsRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function processNode(Node $node, Scope $scope): array
4949
return [];
5050
}
5151

52+
// The next line is intentionally not using [at]phpstan-ignore [identifier].
5253
// @phpstan-ignore-next-line
5354
$cmfRouteObjectInterfaceType = new ObjectType(SymfonyRouteObjectInterface::class);
5455
if (!$classType->isSuperTypeOf($cmfRouteObjectInterfaceType)->yes()) {

src/Rules/Deprecations/SymfonyCmfRoutingInClassMethodSignatureRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function processNode(Node $node, Scope $scope): array
3939
}
4040
$method = $node->getMethodReflection();
4141

42+
// The next lines are intentionally not using [at]phpstan-ignore [identifier].
4243
// @phpstan-ignore-next-line
4344
$cmfRouteObjectInterfaceType = new ObjectType(RouteObjectInterface::class);
4445
// @phpstan-ignore-next-line

0 commit comments

Comments
 (0)