Get tests passing

This commit is contained in:
Oliver Davies 2023-12-13 07:12:03 +00:00
parent fd0c30ec42
commit 87ca84655c
3 changed files with 5 additions and 3 deletions

View file

@ -43,6 +43,8 @@ class GenerateCommand extends Command
} catch (IOException $e) {
$io->error($e->getMessage());
}
return Command::SUCCESS;
}
private function outputFile(InputInterface $input): string

View file

@ -19,7 +19,7 @@ class GenerateFiltersTest extends TestCase
/** @var Filesystem */
private $fs;
protected function setUp()
protected function setUp(): void
{
parent::setUp();
@ -32,7 +32,7 @@ class GenerateFiltersTest extends TestCase
chdir(self::TEST_OUTPUT_DIR);
}
protected function tearDown()
protected function tearDown(): void
{
chdir('..');
$this->fs->remove(self::TEST_OUTPUT_DIR);

View file

@ -20,7 +20,7 @@ class FilterTest extends TestCase
/**
* {@inheritdoc}
*/
public function setUp()
public function setUp(): void
{
$this->filter = new Filter();
}