Skip to content

Commit

Permalink
Merge pull request #80 from jannejava/patch-2
Browse files Browse the repository at this point in the history
Update CompilerOutputFormatter.php
  • Loading branch information
Sammyjo20 authored Dec 3, 2024
2 parents 14d536c + ce0a64c commit 05db4d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
laravel: ['10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/CompilerOutputFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function getWebpackProgress(string $line): int

preg_match(self::PERCENTAGE_REGEX, $line, $matches, PREG_OFFSET_CAPTURE);

$percentage = $matches[0][0] ?? null;
$percentage = $matches[0][0] ?? '';

return (int)str_replace('%', '', $percentage);
}
Expand Down
Binary file modified tests/Unit/Support/Zip/Destination/WithSubFolder.zip
Binary file not shown.

0 comments on commit 05db4d4

Please sign in to comment.