X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FEnvTests.php;h=9bfa80f8dbf3fe74681de6caec9b8482a99e6d45;hb=fac55f2eb2d1a650d22900723b20db607a49a5f8;hp=cd44c658751ec04f547bc529a70bad89858b0211;hpb=078529462ae18d40a30674a95454e0a8b81ba6f0;p=civicrm-core.git diff --git a/tests/phpunit/EnvTests.php b/tests/phpunit/EnvTests.php index cd44c65875..9bfa80f8db 100644 --- a/tests/phpunit/EnvTests.php +++ b/tests/phpunit/EnvTests.php @@ -11,6 +11,9 @@ * (eg "MyFirstTest::testFoo"). */ class EnvTests extends \PHPUnit_Framework_TestSuite { + /** + * @return \EnvTests + */ public static function suite() { require_once 'CRM/Core/ClassLoader.php'; CRM_Core_ClassLoader::singleton()->register(); @@ -22,10 +25,12 @@ class EnvTests extends \PHPUnit_Framework_TestSuite { list ($class, $method) = explode('::', $test); $clazz = new \ReflectionClass($class); $suite->addTestMethod($clazz, $clazz->getMethod($method)); - } else { + } + else { $suite->addTestSuite($test); } } return $suite; } -} \ No newline at end of file + +}