Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Implemented writeTextBlock method in Zend\Console\Adapter\AbstractAdapter#5711

Merged
weierophinney merged 6 commits into
zendframework:developfrom
nicktacular:console
Mar 4, 2014
Merged

Implemented writeTextBlock method in Zend\Console\Adapter\AbstractAdapter#5711
weierophinney merged 6 commits into
zendframework:developfrom
nicktacular:console

Conversation

@nicktacular
Copy link
Copy Markdown
Contributor

I noticed that the Zend\Console\Adapter\AbstractAdapter::writeTextBlock() method was not implemented, so I implemented it, added tests, and ran php-cs-fixer.

Also, in order to be able to verify how this method writes data, I added an array to the test asset class ConsoleAdapter. Without this tracking array, the output buffering doesn't correctly show which data I expect since there isn't a way to track text in between calls to AbstractAdapter::setPos().

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please roll back every change not related with the fix

@nicktacular
Copy link
Copy Markdown
Contributor Author

Stylistic changes reverted.

@weierophinney weierophinney added this to the 2.3.0 milestone Mar 3, 2014
@weierophinney weierophinney self-assigned this Mar 4, 2014
weierophinney added a commit that referenced this pull request Mar 4, 2014
Implemented writeTextBlock method in Zend\Console\Adapter\AbstractAdapter
weierophinney added a commit that referenced this pull request Mar 4, 2014
- space after opening comment
- removed a conditional by rephrasing and returning in the conditional
  body
weierophinney added a commit that referenced this pull request Mar 4, 2014
@weierophinney weierophinney merged commit 1124958 into zendframework:develop Mar 4, 2014
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
…console

Implemented writeTextBlock method in Zend\Console\Adapter\AbstractAdapter
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
- space after opening comment
- removed a conditional by rephrasing and returning in the conditional
  body
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants