-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.x] Fixes appendRow on console table #31469
[6.x] Fixes appendRow on console table #31469
Conversation
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Does this fixes all the issues from #31445 ? (see comments after closing) |
It should because the current behaviour assume @driesvints I also include tests related to use of |
But at the same time, checking the instanceof $output = $this->output->getOutput();
$table = new Table($output instanceof ConsoleOutput ? $output->section() : $output); |
@crynobone... sooo... do we want to merge this or not? You said it fixed the issue but then you seemed to imply the whole thing was a bad idea? I'm confused. |
You can only use This PR fixed:
|
Reverting this entire feature and all related pieces of it @adam-prickett @crynobone ... it's causing continual problems. |
* upstream/master: (78 commits) [7.x] Implement anonymous components (laravel#31363) Apply fixes from StyleCI (laravel#31480) Apply fixes from StyleCI (laravel#31479) revert broken table feature move files add test for event payload of type object (laravel#31477) [7.x] Refactor route caching (laravel#31188) [6.x] Fixes appendRow on console table (laravel#31469) Apply fixes from StyleCI (laravel#31474) formatting Throw exception on empty collection (laravel#31471) Add tests for Query Builder when array value given (laravel#31464) Remove addHidden method (laravel#31463) allow afterResponse chain add getRawOriginal Remove unused use-statement Update comment [6.x] Change MySql nullable modifier to allow generated columns to be not null (laravel#31452) [6.x] Test for pushed events (laravel#31451) Fixed phpdoc ...
@taylorotwell I'm okay with that, but |
There's some limitation with the new implementation.
BufferedOutput
).IMHO if developer want to use Table with
appendRow()
capability they should manually execute it insideCommand
instead oftable()
because the usage ofConsoleOutput
on CLI usage whileBufferedOutput
when calling other commands or from a controller.Signed-off-by: Mior Muhammad Zaki crynobone@gmail.com