Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #16123 Command list ordering fix (spdionis, fabpot)
This PR was merged into the 2.3 branch. Discussion ---------- Command list ordering fix | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT Makes sure that global commands are always first. Commits ------- 2984f8e fixed previous commit 70f2b3e global commands are always first in command list
- Loading branch information
Showing
3 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Symfony/Component/Console/Tests/Fixtures/Foo6Command.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
|
||
use Symfony\Component\Console\Command\Command; | ||
|
||
class Foo6Command extends Command | ||
{ | ||
protected function configure() | ||
{ | ||
$this->setName('0foo:bar')->setDescription('0foo:bar command'); | ||
} | ||
} |