"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Runner/Version.php" between
phpunit-9.0.0.tar.gz and phpunit-9.0.1.tar.gz

About: PHPUnit is a unit testing software framework for software written in PHP.

Version.php  (phpunit-9.0.0):Version.php  (phpunit-9.0.1)
skipping to change at line 36 skipping to change at line 36
/** /**
* Returns the current version of PHPUnit. * Returns the current version of PHPUnit.
*/ */
public static function id(): string public static function id(): string
{ {
if (self::$pharVersion !== '') { if (self::$pharVersion !== '') {
return self::$pharVersion; return self::$pharVersion;
} }
if (self::$version === '') { if (self::$version === '') {
self::$version = (new VersionId('9.0.0', \dirname(__DIR__, 2)))->get Version(); self::$version = (new VersionId('9.0.1', \dirname(__DIR__, 2)))->get Version();
} }
return self::$version; return self::$version;
} }
public static function series(): string public static function series(): string
{ {
if (\strpos(self::id(), '-')) { if (\strpos(self::id(), '-')) {
$version = \explode('-', self::id())[0]; $version = \explode('-', self::id())[0];
} else { } else {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)