Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 200 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of phpunit/php-code-coverage.
4
 *
5
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace SebastianBergmann\CodeCoverage;
11
 
12
use function dirname;
13
use SebastianBergmann\Version as VersionId;
14
 
15
final class Version
16
{
17
    /**
18
     * @var string
19
     */
20
    private static $version;
21
 
22
    public static function id(): string
23
    {
24
        if (self::$version === null) {
688 lars 25
            self::$version = (new VersionId('9.2.25', dirname(__DIR__)))->getVersion();
148 lars 26
        }
27
 
28
        return self::$version;
29
    }
30
}