Mercurial > hg > isophonics-drupal-site
comparison vendor/phpunit/php-code-coverage/src/Version.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
1 <?php | |
2 /* | |
3 * This file is part of the php-code-coverage package. | |
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 | |
11 namespace SebastianBergmann\CodeCoverage; | |
12 | |
13 use SebastianBergmann\Version as VersionId; | |
14 | |
15 class Version | |
16 { | |
17 private static $version; | |
18 | |
19 /** | |
20 * @return string | |
21 */ | |
22 public static function id() | |
23 { | |
24 if (self::$version === null) { | |
25 $version = new VersionId('5.3.2', \dirname(__DIR__)); | |
26 self::$version = $version->getVersion(); | |
27 } | |
28 | |
29 return self::$version; | |
30 } | |
31 } |