upgrade to laravel 8.0

This commit is contained in:
Attila Kerekes
2022-11-13 17:05:03 +01:00
committed by Attila Jozsef Kerekes
parent 43f894b58d
commit 27f58c0866
3895 changed files with 150576 additions and 124482 deletions

View File

@@ -1,29 +1,28 @@
<?php
<?php declare(strict_types=1);
/*
* This file is part of the php-code-coverage package.
* This file is part of phpunit/php-code-coverage.
*
* (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 function dirname;
use SebastianBergmann\Version as VersionId;
class Version
final class Version
{
/**
* @var string
*/
private static $version;
/**
* @return string
*/
public static function id()
public static function id(): string
{
if (self::$version === null) {
$version = new VersionId('5.3.2', \dirname(__DIR__));
self::$version = $version->getVersion();
self::$version = (new VersionId('9.2.18', dirname(__DIR__)))->getVersion();
}
return self::$version;