We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d10535 commit 925dc45Copy full SHA for 925dc45
tests/AutoReview/SourceCodeTest.php
@@ -204,6 +204,7 @@ public function testSourceClassDoesNotHaveUnnecessaryProtectedMethods(string $cl
204
...$allowedProtectedMethods,
205
...$parent->getMethods(\ReflectionMethod::IS_PROTECTED),
206
];
207
+ $parent = $parent->getParentClass();
208
}
209
210
$allowedProtectedMethods = array_unique(array_map(
0 commit comments