Skip to content

Commit 141bef9

Browse files
committed
v2.9.0
1 parent a48d705 commit 141bef9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Command/RouteListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ public function execute(InputInterface $input, OutputInterface $output) : int
7777

7878
$table->render();
7979

80-
return Command::SUCCESS;
80+
return 0;
8181
}
8282
}

tests/Command/RouteListCommandTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Sunrise\Http\Router\Command\RouteListCommand;
1010
use Sunrise\Http\Router\Router;
1111
use Sunrise\Http\Router\Tests\Fixture;
12-
use Symfony\Component\Console\Command\Command;
1312
use Symfony\Component\Console\Input\ArgvInput;
1413
use Symfony\Component\Console\Output\BufferedOutput;
1514

@@ -39,6 +38,6 @@ public function testExecute() : void
3938
$output = new BufferedOutput();
4039
$exitCode = $command->execute($input, $output);
4140

42-
$this->assertSame(Command::SUCCESS, $exitCode);
41+
$this->assertSame(0, $exitCode);
4342
}
4443
}

0 commit comments

Comments
 (0)