Avoid uses of undeclared variables in PHP testsuite
This commit is contained in:
parent
aa7eb05071
commit
cf785d7071
3 changed files with 3 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue