Composer Workspace global packages
This commit is contained in:
4
vendor/symfony/console/Terminal.php
vendored
4
vendor/symfony/console/Terminal.php
vendored
@@ -131,7 +131,7 @@ class Terminal
|
||||
return self::$stty = (bool) shell_exec('stty 2> '.('\\' === \DIRECTORY_SEPARATOR ? 'NUL' : '/dev/null'));
|
||||
}
|
||||
|
||||
private static function initDimensions()
|
||||
private static function initDimensions(): void
|
||||
{
|
||||
if ('\\' === \DIRECTORY_SEPARATOR) {
|
||||
$ansicon = getenv('ANSICON');
|
||||
@@ -165,7 +165,7 @@ class Terminal
|
||||
/**
|
||||
* Initializes dimensions using the output of an stty columns line.
|
||||
*/
|
||||
private static function initDimensionsUsingStty()
|
||||
private static function initDimensionsUsingStty(): void
|
||||
{
|
||||
if ($sttyString = self::getSttyColumns()) {
|
||||
if (preg_match('/rows.(\d+);.columns.(\d+);/is', $sttyString, $matches)) {
|
||||
|
||||
Reference in New Issue
Block a user