8000 [Console] Fix tests · symfony/symfony@82d79b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82d79b4

Browse files
committed
[Console] Fix tests
1 parent 02613dd commit 82d79b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,8 +2132,6 @@ class BaseSignableCommand extends Command
21322132
private $emitsSignal;
21332133
private $signal;
21342134

2135-
protected static $defaultName = 'signal';
2136-
21372135
public function __construct(bool $emitsSignal = true, int $signal = \SIGUSR1)
21382136
{
21392137
parent::__construct();
@@ -2173,10 +2171,9 @@ public function handleSignal(int $signal): void
21732171
}
21742172
}
21752173

2174+
#[AsCommand(name: 'signal')]
21762175
class TerminatableCommand extends BaseSignableCommand implements SignalableCommandInterface
21772176
{
2178-
protected static $defaultName = 'signal';
2179-
21802177
public function getSubscribedSignals(): array
21812178
{
21822179
return SignalRegistry::isSupported() ? [\SIGINT] : [];

0 commit comments

Comments
 (0)
0