Composer update
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes in `sebastianbergmann/environment` are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
|
||||
|
||||
## [5.1.4] - 2022-04-03
|
||||
|
||||
### Fixed
|
||||
|
||||
* [#63](https://github.com/sebastianbergmann/environment/pull/63): `Runtime::getCurrentSettings()` does not correctly process INI settings
|
||||
|
||||
## [5.1.3] - 2020-09-28
|
||||
|
||||
### Changed
|
||||
@@ -145,6 +151,7 @@ All notable changes in `sebastianbergmann/environment` are documented in this fi
|
||||
|
||||
* This component is no longer supported on PHP 5.6
|
||||
|
||||
[5.1.4]: https://github.com/sebastianbergmann/environment/compare/5.1.3...5.1.4
|
||||
[5.1.3]: https://github.com/sebastianbergmann/environment/compare/5.1.2...5.1.3
|
||||
[5.1.2]: https://github.com/sebastianbergmann/environment/compare/5.1.1...5.1.2
|
||||
[5.1.1]: https://github.com/sebastianbergmann/environment/compare/5.1.0...5.1.1
|
||||
|
||||
2
www/vendor/sebastian/environment/LICENSE
vendored
2
www/vendor/sebastian/environment/LICENSE
vendored
@@ -1,6 +1,6 @@
|
||||
sebastian/environment
|
||||
|
||||
Copyright (c) 2014-2020, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
Copyright (c) 2014-2022, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
1
www/vendor/sebastian/environment/README.md
vendored
1
www/vendor/sebastian/environment/README.md
vendored
@@ -1,7 +1,6 @@
|
||||
# sebastian/environment
|
||||
|
||||
[](https://packagist.org/packages/sebastian/environment)
|
||||
[](https://php.net/)
|
||||
[](https://github.com/sebastianbergmann/environment/actions)
|
||||
[](https://shepherd.dev/github/sebastianbergmann/environment)
|
||||
|
||||
|
||||
10
www/vendor/sebastian/environment/src/Console.php
vendored
10
www/vendor/sebastian/environment/src/Console.php
vendored
@@ -34,7 +34,7 @@ final class Console
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public const STDIN = 0;
|
||||
public const STDIN = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
@@ -60,10 +60,10 @@ final class Console
|
||||
|
||||
if ($this->isWindows()) {
|
||||
// @codeCoverageIgnoreStart
|
||||
return (defined('STDOUT') && function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support(STDOUT))
|
||||
|| false !== getenv('ANSICON')
|
||||
|| 'ON' === getenv('ConEmuANSI')
|
||||
|| 'xterm' === getenv('TERM');
|
||||
return (defined('STDOUT') && function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support(STDOUT)) ||
|
||||
false !== getenv('ANSICON') ||
|
||||
'ON' === getenv('ConEmuANSI') ||
|
||||
'xterm' === getenv('TERM');
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
|
||||
@@ -289,8 +289,12 @@ final class Runtime
|
||||
foreach ($values as $value) {
|
||||
$set = ini_get($value);
|
||||
|
||||
if (isset($config[$value]) && $set != $config[$value]) {
|
||||
$diff[] = sprintf('%s=%s', $value, $set);
|
||||
if (empty($set)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((!isset($config[$value]) || ($set !== $config[$value]))) {
|
||||
$diff[$value] = sprintf('%s=%s', $value, $set);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user