Commit b4f86bf
authored
feat: introduce modern attribute-based
* add the Command attribute
* add the CLI exceptions
* add the `Argument` and `Option` value objects
* add `AbstractCommand` class
* refactor `Console` and `Commands` to cater modern commands
* migrate some built-in commands
* move legacy command fixtures
* add tests to AbstractCommand
* remove support for the `-h` option in `routes` command
* add documentation and changelog
* address reviewsspark commands (#10120)1 parent ec07563 commit b4f86bf
74 files changed
Lines changed: 5277 additions & 591 deletions
File tree
- system
- CLI
- Attributes
- Exceptions
- Input
- Commands
- Cache
- Housekeeping
- Server
- Utilities
- Language/en
- tests
- _support
- Commands
- Legacy
- Modern
- Duplicates
- InvalidCommands
- _command
- system
- CLI
- Attributes
- Input
- Commands
- Cache
- Translation
- Utilities
- user_guide_src/source
- changelogs
- cli
- cli_modern_commands
- utils
- phpstan-baseline
- src/PhpCsFixer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments