Skip to content

Commit d4924b9

Browse files
committed
minor symfony#46623 [Console] Fix tests (chalasr)
This PR was merged into the 6.1 branch. Discussion ---------- [Console] Fix tests | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 5b18222 [Console] Fix tests
2 parents 5e305f2 + 5b18222 commit d4924b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Console/Tests/DependencyInjection/AddConsoleCommandPassTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,9 @@ class NamedCommand extends Command
314314
{
315315
}
316316

317+
#[AsCommand(name: '%cmd%|%cmdalias%', description: 'Creates a 80% discount')]
317318
class EscapedDefaultsFromPhpCommand extends Command
318319
{
319-
protected static $defaultName = '%cmd%|%cmdalias%';
320-
protected static $defaultDescription = 'Creates a 80% discount';
321320
}
322321

323322
#[AsCommand(name: '|cmdname|cmdalias', description: 'Just testing')]

0 commit comments

Comments
 (0)