It seems like scandir($basedir) can also be of type false; however, parameter $array1 of array_diff() does only seem to accept array, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
The function SimpleSAML\XHTML\Template::show() has been deprecated: Do not use this method, use Twig + send() instead. Will be removed in 2.0
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
36
/** @scrutinizer ignore-deprecated */ $t->show();
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be
removed and what other function to use instead.
Loading history...
37
$this->addToAssertionCount(1);
38
} catch (SyntaxError $e) {
39
$this->fail($e->getMessage().' in '.$e->getFile().':'.$e->getLine());