value)) { $fq_class_name = preg_split('/[:]/', $stmt->value)[0]; $project_checker = $statements_checker->getFileChecker()->project_checker; if (Checker\ClassChecker::checkFullyQualifiedClassLikeName( $statements_checker, $fq_class_name, $code_location, $suppressed_issues ) === false ) { return false; } if ($fq_class_name !== $stmt->value) { if (Checker\MethodChecker::checkMethodExists( $project_checker, $stmt->value, $code_location, $suppressed_issues ) ) { return false; } } } } } }