public static function PHPUnit_Runner_Version::getReleaseChannel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Runner/Version.php \PHPUnit_Runner_Version::getReleaseChannel()
@since Method available since Release 4.0.0
Return value
string
File
- vendor/phpunit/ phpunit/ src/ Runner/ Version.php, line 52 
Class
- PHPUnit_Runner_Version
- This class defines the current version of PHPUnit.
Code
public static function getReleaseChannel() {
  if (strpos(self::$pharVersion, 'alpha') !== false) {
    return '-alpha';
  }
  if (strpos(self::$pharVersion, 'beta') !== false) {
    return '-beta';
  }
  return '';
}