Skip to content

Commit 55133e0

Browse files
committed
fix(tests): Update exception usage to ensure proper namespace references in test files.
1 parent 5409c67 commit 55133e0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/Fallback/ComposerFallbackTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ protected function setUp(): void
166166
$this->io = $this->createMock(IOInterface::class);
167167
$this->input = $this->createMock(InputInterface::class);
168168
$this->fs = $this->createMock(Filesystem::class);
169-
/** @var Installer|MockObject $this */
170169
$this->installer = $this
171170
->getMockBuilder(Installer::class)
172171
->disableOriginalConstructor()

tests/Fixtures/Asset/StubAssetManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
use Composer\Util\{Filesystem, ProcessExecutor};
1010
use Foxy\Asset\{AssetManagerInterface, AssetPackageInterface};
1111
use Foxy\Config\Config;
12+
use Foxy\Exception\RuntimeException;
1213
use Foxy\Fallback\FallbackInterface;
13-
use RuntimeException;
1414

1515
final class StubAssetManager implements AssetManagerInterface
1616
{

tests/Fixtures/Util/ThrowingProcessExecutorMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Foxy\Tests\Fixtures\Util;
66

77
use Composer\Util\ProcessExecutor;
8-
use RuntimeException;
8+
use Foxy\Exception\RuntimeException;
99

1010
final class ThrowingProcessExecutorMock extends ProcessExecutor
1111
{

0 commit comments

Comments
 (0)