Skip to content

Commit

Permalink
refactor: Fix phpstan method.unused (#9388)
Browse files Browse the repository at this point in the history
  • Loading branch information
neznaika0 authored Jan 10, 2025
1 parent 49df643 commit 131c5eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
4 changes: 2 additions & 2 deletions tests/_support/Test/TestForReflectionHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public static function getStaticPrivate()
return self::$static_private;
}

private function privateMethod($param1, $param2)
private function privateMethod($param1, $param2) // @phpstan-ignore method.unused
{
return 'private ' . $param1 . $param2;
}

private static function privateStaticMethod($param1, $param2)
private static function privateStaticMethod($param1, $param2) // @phpstan-ignore method.unused
{
return 'private_static ' . $param1 . $param2;
}
Expand Down
1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ includes:
- method.childReturnType.neon
- method.impossibleType.neon
- method.notFound.neon
- method.unused.neon
- missingType.callable.neon
- missingType.iterableValue.neon
- missingType.parameter.neon
Expand Down
13 changes: 0 additions & 13 deletions utils/phpstan-baseline/method.unused.neon

This file was deleted.

0 comments on commit 131c5eb

Please sign in to comment.