Due to PHP Bug #53727, is_subclass_of might return inconsistent results on some PHP versions if $test can be an interface. If so, you could instead use ReflectionClass::implementsInterface.
Loading history...
78
}
79
80
if (!$testPassed) {
81
throw new GridViewConfigException('
82
Test ' . $test . ' has failed on ' . get_class($this) . '::' . $property
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.