Avoid uses of undeclared variables in PHP testsuite

This commit is contained in:
Olly Betts 2019-02-09 11:32:51 +13:00
commit cf785d7071
3 changed files with 3 additions and 2 deletions

View file

@ -82,6 +82,7 @@ class check {
static function classmethods($classname,$methods) {
if (is_object($classname)) $classname=get_class($classname);
$classmethods=array_flip(get_class_methods($classname));
$message=NULL;
$missing=array();
$extra=array();
foreach($methods as $method) {