From dab657db15207879217fc81df4f875947bf68804 Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Thu, 24 Oct 2019 14:44:17 +0200 Subject: [PATCH] Remove unused local variables in tests --- Tests/Command/LintCommandTest.php | 2 +- Tests/ParserTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Command/LintCommandTest.php b/Tests/Command/LintCommandTest.php index b1306f04..34989785 100644 --- a/Tests/Command/LintCommandTest.php +++ b/Tests/Command/LintCommandTest.php @@ -85,7 +85,7 @@ public function testLintFileNotReadable() $filename = $this->createFile(''); unlink($filename); - $ret = $tester->execute(['filename' => $filename], ['decorated' => false]); + $tester->execute(['filename' => $filename], ['decorated' => false]); } /** diff --git a/Tests/ParserTest.php b/Tests/ParserTest.php index c48f0b4f..dc7c122d 100644 --- a/Tests/ParserTest.php +++ b/Tests/ParserTest.php @@ -110,7 +110,7 @@ public function testTabsInYaml() foreach ($yamls as $yaml) { try { - $content = $this->parser->parse($yaml); + $this->parser->parse($yaml); $this->fail('YAML files must not contain tabs'); } catch (\Exception $e) {