-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
To allows dependencies reduction (#217) and load only what final User have really needed, we must have a new Extension system.
With current versions 9.x we have officially 4 extensions :
- OutputFormat to handle how results are rendered to Users
- ProgressBar to display a progress bar (Symfony Console Helper)
- ProgressIndicator to display a progress indicator Symfony Console Helper
- ProgressPrinter to display progression with dots (telling us if file is in error/warning or syntaxically correct); Same kind of display we can have with PHPUnit.
With version 10.0, I will introduces :
- only two extensions : one to handle all kinds of progress bars and another one to handle all kinds of result reporters
- add a new extension to handle cache system (currently with Symfony Cache Component
The new Extension system will be in charge (for each extension) to :
- define new console arguments and options to add on fly to the
lintcommand - define additional new console commands (something like Composer do with Command Provider feature)