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 baa9441 commit 6da71c7Copy full SHA for 6da71c7
tests/Sanitizer/RuleSanitizerTest.php
@@ -47,7 +47,6 @@ protected function getSanitizer( $options = [] ) {
47
}
48
if ( $method ) {
49
$rm = new ReflectionMethod( $san, $method );
50
- $rm->setAccessible( true );
51
$san->method( 'doSanitize' )->willReturnCallback( static function ( $rule ) use ( $rm, $san, $arg ) {
52
$ret = clone $rule;
53
// @phan-suppress-next-line PhanPossiblyUndeclaredVariable $arg set when reaching this code
0 commit comments