Skip to content

Conversation

@peter279k
Copy link
Collaborator

Changed log

  • PHP 8.1 compatibility fix and it's the patch for the PHPBrew dependency.
  • Some changes are referenced by the 4.x version branch changes.

$columns = array(count($this->headers));
foreach ($this->rows as $row) {
if (!is_array($row)) {
$row = [];
Copy link
Collaborator Author

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;
Copy link
Collaborator Author

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);
Copy link
Collaborator Author

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);
Copy link
Collaborator Author

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 ');
Copy link
Collaborator Author

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.");
}
Copy link
Collaborator Author

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('');
Copy link
Collaborator Author

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 = '')
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@c9s c9s merged commit ec530d4 into c9s:3.0 Dec 14, 2022

class TputConsoleInfoTest extends PHPUnit_Framework_TestCase
/**
* @group github_action
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants