Skip to content

Commit 4efd0c6

Browse files
authored
chore: upgrade mago util to latest version (#1361)
1 parent fc32234 commit 4efd0c6

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"voku/portable-ascii": "^2.0.3"
4242
},
4343
"require-dev": {
44-
"carthage-software/mago": "0.24.1",
44+
"carthage-software/mago": "0.26.1",
4545
"guzzlehttp/psr7": "^2.6.1",
4646
"illuminate/view": "~11.7.0",
4747
"league/flysystem-aws-s3-v3": "^3.0",

packages/cache/src/Testing/RestrictedCache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
final class RestrictedCache implements Cache
1515
{
1616
public bool $enabled;
17+
1718
public function __construct(
1819
private ?string $tag = null,
1920
) {}

packages/console/src/Components/Static/StaticProgressBarComponent.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ public function render(Console $console): array
2929
$progress = (int) round(($step / $count) * $width);
3030

3131
if ($step === $count) {
32-
$bar = sprintf(
33-
'[%s]',
34-
str_repeat('=', $width + 1),
35-
);
32+
$bar = sprintf('[%s]', str_repeat('=', $width + 1));
3633
} else {
3734
$bar = sprintf(
3835
'[%s>%s]',
@@ -41,12 +38,7 @@ public function render(Console $console): array
4138
);
4239
}
4340

44-
return sprintf(
45-
'%s (%s/%s)',
46-
$bar,
47-
$step,
48-
$count,
49-
) . PHP_EOL;
41+
return sprintf('%s (%s/%s)%s', $bar, $step, $count, PHP_EOL);
5042
};
5143

5244
foreach ($this->data as $item) {

packages/support/src/JavaScript/PackageManager.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public function getRunCommand(string $script): string
4141
{
4242
return (
4343
$this->getBinaryName() .
44-
' ' .
45-
match ($this) {
44+
' ' . match ($this) {
4645
self::BUN => $script,
4746
self::NPM => "run {$script}",
4847
self::YARN => $script,

0 commit comments

Comments
 (0)