update v 1.0.7.5
This commit is contained in:
4
vendor/sebastian/environment/src/Console.php
vendored
4
vendor/sebastian/environment/src/Console.php
vendored
@@ -84,13 +84,13 @@ class Console
|
||||
return 80;
|
||||
}
|
||||
|
||||
if (preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
|
||||
if (function_exists('shell_exec') && preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
|
||||
if ((int) $match[1] > 0) {
|
||||
return (int) $match[1];
|
||||
}
|
||||
}
|
||||
|
||||
if (preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
|
||||
if (function_exists('shell_exec') && preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
|
||||
if ((int) $match[1] > 0) {
|
||||
return (int) $match[1];
|
||||
}
|
||||
|
2
vendor/sebastian/environment/src/Runtime.php
vendored
2
vendor/sebastian/environment/src/Runtime.php
vendored
@@ -123,7 +123,7 @@ class Runtime
|
||||
if ($this->isHHVM()) {
|
||||
return 'http://hhvm.com/';
|
||||
} else {
|
||||
return 'http://php.net/';
|
||||
return 'https://secure.php.net/';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user