@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Process; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Disk; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Disk\Volume; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Memory; |
5 | 5 | |
@@ -64,15 +64,15 @@ discard block |
||
64 | 64 | [512, '512B'], |
65 | 65 | [1023, '1023B'], |
66 | 66 | [1024, '1KB'], |
67 | - [(1024 ** 2)-1, '1023.999KB'], |
|
67 | + [(1024 ** 2) - 1, '1023.999KB'], |
|
68 | 68 | [1024 ** 2, '1MB'], |
69 | - [(1024 ** 3)-1, '1024MB'], |
|
69 | + [(1024 ** 3) - 1, '1024MB'], |
|
70 | 70 | [1024 ** 3, '1GB'], |
71 | - [(1024 ** 4)-1, '1024GB'], |
|
71 | + [(1024 ** 4) - 1, '1024GB'], |
|
72 | 72 | [1024 ** 4, '1TB'], |
73 | - [(1024 ** 5)-1, '1024TB'], |
|
73 | + [(1024 ** 5) - 1, '1024TB'], |
|
74 | 74 | [1024 ** 5, '1PB'], |
75 | - [(1024 ** 6)-1, '1024PB'], |
|
75 | + [(1024 ** 6) - 1, '1024PB'], |
|
76 | 76 | ]; |
77 | 77 | } |
78 | 78 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Processes; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status\Server\Cpu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Server\Status; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\Server\Status\Server\Memory; |
5 | 5 | |
@@ -38,35 +38,35 @@ discard block |
||
38 | 38 | case $value < self::KILOBYTES: |
39 | 39 | $this->string = \sprintf( |
40 | 40 | '%sKB', |
41 | - \round($value/self::BYTES, 3), |
|
41 | + \round($value / self::BYTES, 3), |
|
42 | 42 | ); |
43 | 43 | break; |
44 | 44 | |
45 | 45 | case $value < self::MEGABYTES: |
46 | 46 | $this->string = \sprintf( |
47 | 47 | '%sMB', |
48 | - \round($value/self::KILOBYTES, 3), |
|
48 | + \round($value / self::KILOBYTES, 3), |
|
49 | 49 | ); |
50 | 50 | break; |
51 | 51 | |
52 | 52 | case $value < self::GIGABYTES: |
53 | 53 | $this->string = \sprintf( |
54 | 54 | '%sGB', |
55 | - \round($value/self::MEGABYTES, 3), |
|
55 | + \round($value / self::MEGABYTES, 3), |
|
56 | 56 | ); |
57 | 57 | break; |
58 | 58 | |
59 | 59 | case $value < self::TERABYTES: |
60 | 60 | $this->string = \sprintf( |
61 | 61 | '%sTB', |
62 | - \round($value/self::GIGABYTES, 3), |
|
62 | + \round($value / self::GIGABYTES, 3), |
|
63 | 63 | ); |
64 | 64 | break; |
65 | 65 | |
66 | 66 | case $value < self::PETABYTES: |
67 | 67 | $this->string = \sprintf( |
68 | 68 | '%sPB', |
69 | - \round($value/self::TERABYTES, 3), |
|
69 | + \round($value / self::TERABYTES, 3), |
|
70 | 70 | ); |
71 | 71 | break; |
72 | 72 | } |