This repository has been archived on 2020-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan/vendor/phpunit/php-code-coverage/src/Version.php
2020-08-06 16:37:53 +08:00

31 lines
711 B
PHP

<?php declare(strict_types=1);
/*
* This file is part of the php-code-coverage package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\CodeCoverage;
use SebastianBergmann\Version as VersionId;
final class Version
{
/**
* @var string
*/
private static $version;
public static function id(): string
{
if (self::$version === null) {
$version = new VersionId('7.0.10', \dirname(__DIR__));
self::$version = $version->getVersion();
}
return self::$version;
}
}