Skip to content

Commit 5cd69ac

Browse files
committed
fix pipeline
1 parent 22b0d7d commit 5cd69ac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

infection.json.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"mutators": {
1414
"@default": true
1515
},
16-
"minMsi": 75,
17-
"minCoveredMsi": 85,
16+
"minMsi": 39,
17+
"minCoveredMsi": 80,
1818
"testFrameworkOptions": "--testsuite=unit"
1919
}

src/Bytes.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use function array_key_exists;
88
use function preg_match;
9+
use function sprintf;
910
use function strtoupper;
1011

1112
final class Bytes
@@ -43,7 +44,8 @@ public static function parseFromString(string $string): self
4344
return new self($number * self::SIZES[$unit]);
4445
}
4546

46-
public function formatted(): string {
47+
public function formatted(): string
48+
{
4749
if ($this->bytes >= 1024 * 1024 * 1024) {
4850
return sprintf('%.1f GiB', $this->bytes / 1024 / 1024 / 1024);
4951
}

0 commit comments

Comments
 (0)