Version 0.18.0
Total issues resolved: 9
- 501: FR: remove need for dedicated class when running same task twice with different configuration thanks to @keradus
- 579: FR: Ability to give shell task a label thanks to @Jamesking56
- 682: [WIP\ Rework task system thanks to @veewee
- 711: Improved tasks system thanks to @veewee
- 731: Remove tasks from readme thanks to @Landerstraeten
- 732: Rewrite ant tests thanks to @Landerstraeten
- 737: Fixed label output thanks to @benndt
- 739: Added support for phar executables thanks to @BrentRobert
- 740: Removed unused parameters for grumphp.yml.dist thanks to @BrentRobert
Upgrading custom tasks
Extended external task class
- Make
getConfigurableOptions()
static - Change service configuration + tag (config -> task)
Extended an external task from TaskInterface
- Make
getConfigurableOptions()
static - Register an
EmptyTaskConfig
during construction - Replace
getConfiguration()
method by thegetConfig()
method - Add immutable
withConfig()
method. - Change service configuration + tag (config -> task)
Duplicate task with different config
- Remove task copy
- Remove service configuration of task copy
- Configure task copy as an alias : https://github.com/phpro/grumphp/blob/master/doc/tasks.md#run-the-same-task-twice-with-different-configuration