Skip to content

Commit 44cfe02

Browse files
committed
Remove one last use of ReflectionProperty::setAccessible(), no-op
As well as being a no-op now that we're in PHP 8.1+, these are deprecated and will trigger errors in PHP 8.5. Bug: T406744 Change-Id: I9860383170ae14a24d0d2f4a472ba732f3e1bb79
1 parent 3bae6e4 commit 44cfe02

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/TestingAccessWrapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ private function getProperty( $name ) {
217217
}
218218
}
219219
}
220-
$propertyReflection->setAccessible( true );
221220
return $propertyReflection;
222221
}
223222
}

0 commit comments

Comments
 (0)