@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace UMA\Uuid\Performance; |
6 | 6 | |
@@ -44,12 +44,12 @@ discard block |
||
44 | 44 | \get_class($this->benchmarked), |
45 | 45 | $count, |
46 | 46 | $runTime, |
47 | - \number_format($count/$runTime, 1) |
|
47 | + \number_format($count / $runTime, 1) |
|
48 | 48 | ); |
49 | 49 | } |
50 | 50 | |
51 | 51 | private static function currentTimeMicros(): int |
52 | 52 | { |
53 | - return (int)(\microtime(true) * 1000000); |
|
53 | + return (int) (\microtime(true) * 1000000); |
|
54 | 54 | } |
55 | 55 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | use UMA\Uuid\CombGenerator; |
6 | 6 | use UMA\Uuid\Performance\Benchmarker; |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | use UMA\Uuid\Version4Generator; |
10 | 10 | use UMA\Uuid\Version5Generator; |
11 | 11 | |
12 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
12 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
13 | 13 | |
14 | 14 | echo \sprintf("Running on: %s\n\n", PHP_VERSION); |
15 | 15 | |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | echo "[!] The xdebug extension is enabled. This has a major impact on runtime performance.\n\n"; |
18 | 18 | } |
19 | 19 | |
20 | -$runTime = (int)($argv[1] ?? 5); |
|
20 | +$runTime = (int) ($argv[1] ?? 5); |
|
21 | 21 | |
22 | 22 | $ns = Uuid::fromString(Version5Generator::NS_DNS); |
23 | 23 |