Skip to content

Commit 5a32252

Browse files
committed
fix: nitpicks
1 parent 6c7dffe commit 5a32252

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests/Command/InstallRecipesCommandTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@
1111

1212
namespace Symfony\Flex\Tests\Command;
1313

14-
use Composer\Config;
1514
use Composer\Console\Application;
1615
use PHPUnit\Framework\TestCase;
1716
use Symfony\Component\Console\Tester\CommandTester;
18-
use Symfony\Flex\Command\DumpEnvCommand;
1917
use Symfony\Flex\Command\InstallRecipesCommand;
2018
use Symfony\Flex\Event\UpdateEvent;
2119
use Symfony\Flex\Flex;
22-
use Symfony\Flex\Options;
2320

2421
class InstallRecipesCommandTest extends TestCase
2522
{
26-
public function testCommandFlagsPassedDown(): void
23+
public function testCommandFlagsPassedDown()
2724
{
2825
$flex = $this->createMock(Flex::class);
2926
$flex->method('update')->willReturnCallback(function (UpdateEvent $event) {

tests/OptionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class OptionsTest extends TestCase
1919
{
20-
public function testShouldWrite(): void
20+
public function testShouldWrite()
2121
{
2222
$this->assertTrue((new Options([], null))->shouldWriteFile('non-existing-file.txt', false, false));
2323
$this->assertFalse((new Options([], null))->shouldWriteFile(__FILE__, false, false));
@@ -33,4 +33,4 @@ public function testShouldWrite(): void
3333
// We skip all questions, so we're able to write
3434
$this->assertTrue((new Options([], null))->shouldWriteFile(__FILE__, true, true));
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)