-
Notifications
You must be signed in to change notification settings - Fork 52
Add the 3.x Patch #125
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
Add the 3.x Patch #125
Conversation
| $columns = array(count($this->headers)); | ||
| foreach ($this->rows as $row) { | ||
| if (!is_array($row)) { | ||
| $row = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| use GetOptionKit\OptionCollection; | ||
| use GetOptionKit\Option; | ||
| use GetOptionKit\OptionPrinter\OptionPrinterInterface; | ||
| use GetOptionKit\OptionPrinter\OptionPrinter as OptionPrinterInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @fclose($pipes[1]); | ||
| @fclose($pipes[2]); | ||
| @pclose($process); | ||
| @proc_close($process); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| echo $str , "\n"; | ||
| } | ||
| parent::assertStringEqualsFile($file, $str, $message, $canonicalize, $ignoreCase); | ||
| parent::assertStringEqualsFile($file, $str, (string)$message, $canonicalize, $ignoreCase); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| function testReadPassword() | ||
| { | ||
| $this->markTestSkipped('there is a bug in the php7 readline extension '); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| { | ||
| if (!extension_loaded('readline')) { | ||
| $this->markTestSkipped("readline is required."); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| $input = new CLIFramework\IO\StandardConsole($stty); | ||
| $line = $input->readLine(''); | ||
| echo $line; | ||
| echo $input->readLine(''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | ||
|
|
||
| function file_equals($e,$v,$msg = null) | ||
| function file_equals($e,$v,$msg = '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refer: c9s/PHPUnit_TestMore@b7c053d
|
|
||
| class TputConsoleInfoTest extends PHPUnit_Framework_TestCase | ||
| /** | ||
| * @group github_action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can avoid the following message when running the GitHub workflows:
tput: No value for $TERM and no -T specified
Changed log
4.xversion branch changes.