comparison core/modules/simpletest/src/TestDiscovery.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
329 * 329 *
330 * @throws \Drupal\simpletest\Exception\MissingGroupException 330 * @throws \Drupal\simpletest\Exception\MissingGroupException
331 * If the class does not have a @group annotation. 331 * If the class does not have a @group annotation.
332 */ 332 */
333 public static function getTestInfo($classname, $doc_comment = NULL) { 333 public static function getTestInfo($classname, $doc_comment = NULL) {
334 if (!$doc_comment) { 334 if ($doc_comment === NULL) {
335 $reflection = new \ReflectionClass($classname); 335 $reflection = new \ReflectionClass($classname);
336 $doc_comment = $reflection->getDocComment(); 336 $doc_comment = $reflection->getDocComment();
337 } 337 }
338 $info = [ 338 $info = [
339 'name' => $classname, 339 'name' => $classname,