8000 fabbot · symfony/symfony@068272c · GitHub
[go: up one dir, main page]

Skip to content

Commit 068272c

Browse files
committed
fabbot
1 parent 1097e6c commit 068272c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Symfony/Component/AssetMapper/Compiler/CssAssetUrlCompiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ final class CssAssetUrlCompiler implements AssetCompilerInterface
3737
public function __construct(
3838
private readonly string $missingImportMode = self::MISSING_IMPORT_WARN,
3939
LoggerInterface $logger = null,
40-
)
41-
{
40+
) {
4241
$this->logger = $logger ?? new NullLogger();
4342
}
4443

@@ -81,6 +80,7 @@ private function handleMissingImport(string $message, \Throwable $e = null): voi
8180

8281
case AssetCompilerInterface::MISSING_IMPORT_WARN:
8382
$this->logger->warning($message);
83+
8484
return;
8585

8686
case AssetCompilerInterface::MISSING_IMPORT_STRICT:

src/Symfony/Component/AssetMapper/Compiler/JavaScriptImportPathCompiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ final class JavaScriptImportPathCompiler implements AssetCompilerInterface
3737
public function __construct(
3838
private readonly string $missingImportMode = self::MISSING_IMPORT_WARN,
3939
LoggerInterface $logger = null,
40-
)
41-
{
40+
) {
4241
$this->logger = $logger ?? new NullLogger();
4342
}
4443

@@ -106,6 +105,7 @@ private function handleMissingImport(string $message, \Throwable $e = null): voi
106105

107106
case AssetCompilerInterface::MISSING_IMPORT_WARN:
108107
$this->logger->warning($message);
108+
109109
return;
110110

111111
case AssetCompilerInterface::MISSING_IMPORT_STRICT:

src/Symfony/Component/AssetMapper/Tests/Compiler/AssetCompilerPathResolverTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Symfony\Component\AssetMapper\Tests\Compiler;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Component\AssetMapper\Exception\RuntimeException;
1615
use Symfony\Component\AssetMapper\Compiler\AssetCompilerPathResolverTrait;
16+
use Symfony\Component\AssetMapper\Exception\RuntimeException;
1717

1818
class AssetCompilerPathResolverTraitTest extends TestCase
1919
{

0 commit comments

Comments
 (0)
0