File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/Symfony/Component/Console/Tests Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2132,8 +2132,6 @@ class BaseSignableCommand extends Command
2132
2132
private $ emitsSignal ;
2133
2133
private $ signal ;
2134
2134
2135
- protected static $ defaultName = 'signal ' ;
2136
-
2137
2135
public function __construct (bool $ emitsSignal = true , int $ signal = \SIGUSR1 )
2138
2136
{
2139
2137
parent ::__construct ();
@@ -2173,10 +2171,9 @@ public function handleSignal(int $signal): void
2173
2171
}
2174
2172
}
2175
2173
2174
+ #[AsCommand(name: 'signal ' )]
2176
2175
class TerminatableCommand extends BaseSignableCommand implements SignalableCommandInterface
2177
2176
{
2178
- protected static $ defaultName = 'signal ' ;
2179
-
2180
2177
public function getSubscribedSignals (): array
2181
2178
{
2182
2179
return SignalRegistry::isSupported () ? [\SIGINT ] : [];
You can’t perform that action at this time.
0 commit comments