Skip to content

Commit

Permalink
Add missing parent reassignment in while block
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Jan 6, 2025
1 parent 2d10535 commit 925dc45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/AutoReview/SourceCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public function testSourceClassDoesNotHaveUnnecessaryProtectedMethods(string $cl
...$allowedProtectedMethods,
...$parent->getMethods(\ReflectionMethod::IS_PROTECTED),
];
$parent = $parent->getParentClass();
}

$allowedProtectedMethods = array_unique(array_map(
Expand Down

0 comments on commit 925dc45

Please sign in to comment.