-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x] Add output helpers, deprecate direct usage of them (#29)
* feat(output): add line helper * feat(output): add question helper * chore(io): introduce io trait * feat(console): allow using the `handle()` method * feat(output): add title and labeled title helpers * chore: deprecate direct usage of output methods * Create UPGRADE-2.0.md
- Loading branch information
Showing
7 changed files
with
100 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Upgrade from 1.x to 2.0 | ||
|
||
## High impact changes | ||
|
||
- Replace direct usage out output helpers with a call to the `$this->outoput->methodName()`. | ||
|
||
```diff | ||
// Instead of | ||
- $this->info('Hello world'); // A single example, but all output helpers are affected | ||
|
||
// Use | ||
+ $this->output->info('Hello world'); | ||
``` | ||
|
||
## Medium impact changes | ||
|
||
## Low impact changes |
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
This file was deleted.
Oops, something went wrong.
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
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