Skip to content

Commit 131c5eb

Browse files
authored
refactor: Fix phpstan method.unused (#9388)
1 parent 49df643 commit 131c5eb

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

tests/_support/Test/TestForReflectionHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public static function getStaticPrivate()
2828
return self::$static_private;
2929
}
3030

31-
private function privateMethod($param1, $param2)
31+
private function privateMethod($param1, $param2) // @phpstan-ignore method.unused
3232
{
3333
return 'private ' . $param1 . $param2;
3434
}
3535

36-
private static function privateStaticMethod($param1, $param2)
36+
private static function privateStaticMethod($param1, $param2) // @phpstan-ignore method.unused
3737
{
3838
return 'private_static ' . $param1 . $param2;
3939
}

utils/phpstan-baseline/loader.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ includes:
2121
- method.childReturnType.neon
2222
- method.impossibleType.neon
2323
- method.notFound.neon
24-
- method.unused.neon
2524
- missingType.callable.neon
2625
- missingType.iterableValue.neon
2726
- missingType.parameter.neon

utils/phpstan-baseline/method.unused.neon

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)