8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02613dd commit 82d79b4Copy full SHA for 82d79b4
src/Symfony/Component/Console/Tests/ApplicationTest.php
@@ -2132,8 +2132,6 @@ class BaseSignableCommand extends Command
2132
private $emitsSignal;
2133
private $signal;
2134
2135
- protected static $defaultName = 'signal';
2136
-
2137
public function __construct(bool $emitsSignal = true, int $signal = \SIGUSR1)
2138
{
2139
parent::__construct();
@@ -2173,10 +2171,9 @@ public function handleSignal(int $signal): void
2173
2171
}
2174
2172
2175
+#[AsCommand(name: 'signal')]
2176
class TerminatableCommand extends BaseSignableCommand implements SignalableCommandInterface
2177
2178
2179
2180
public function getSubscribedSignals(): array
2181
2182
return SignalRegistry::isSupported() ? [\SIGINT] : [];
0 commit comments