Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[AssetMapper] Fix tests
  • Loading branch information
nicolas-grekas committed Oct 13, 2025
commit 742ff2fec2b2d68d6f8bc1351391fcb8cce1d629
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BrotliCompressorTest extends TestCase
{
private const WRITABLE_ROOT = __DIR__.'/../Fixtures/brotli_compressor_filesystem';

private Filesystem $filesystem;
private ?Filesystem $filesystem = null;

protected function setUp(): void
{
Expand All @@ -38,7 +38,7 @@ protected function setUp(): void

protected function tearDown(): void
{
$this->filesystem->remove(self::WRITABLE_ROOT);
$this->filesystem?->remove(self::WRITABLE_ROOT);
}

public function testCompress()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ZstandardCompressorTest extends TestCase
{
private const WRITABLE_ROOT = __DIR__.'/../Fixtures/zstandard_compressor_filesystem';

private Filesystem $filesystem;
private ?Filesystem $filesystem = null;

protected function setUp(): void
{
Expand All @@ -38,7 +38,7 @@ protected function setUp(): void

protected function tearDown(): void
{
$this->filesystem->remove(self::WRITABLE_ROOT);
$this->filesystem?->remove(self::WRITABLE_ROOT);
}

public function testCompress()
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.