All notable changes in sebastianbergmann/environment are documented in this file using the Keep a CHANGELOG principles.
Console::hasColorSupport() with Symfony's StreamOutput::hasColorSupport() implementationRuntime::getBinary() method is now deprecated, use escapeshellarg(PHP_BINARY) insteadRuntime::getRawBinary() method is now deprecated, use the PHP_BINARY constant insteadRuntime::getRawBinary()Console::hasColorSupport() with Symfony's StreamOutput::hasColorSupport() implementationRuntime::getRawBinary()opcache.jit_buffer_size is set to 00 of opcache.jit only disables CPU-specific optimizations, not the Just-in-Time compiler itselfSebastianBergmann\Environment\OperatingSystem::getFamily() because this component is no longer supported on PHP versions that do not have PHP_OS_FAMILYSebastianBergmann\Environment\Runtime::isHHVM()stream_isatty(), fstat() used without checking whether the function is availableRuntime::getCurrentSettings() does not correctly process INI settingscomposer.json from ^7.3 || ^8.0 to >=7.3Runtime::performsJustInTimeCompilation() returns true if PHP 8's JIT is active, false otherwisestty command is executed even if no tty is availableRuntime::getNameWithVersionAndCodeCoverageDriver() now prioritizes PCOV over Xdebug when both extensions are loaded (just like php-code-coverage does)TypeError in Console::getNumberOfColumnsInteractive()Runtime::getCurrentSettings()Runtime::getCurrentSettings()Runtime::getNameWithVersionAndCodeCoverageDriver() methodRuntime::discardsComments() returns true too eagerlyRuntime::discardsComments()Console classConsole::hasColorSupport() does not work on WindowsPHP_OS_FAMILY (for PHP < 7.2)Uncaught TypeError: preg_match() expects parameter 2 to be string, null givenUncaught TypeError: trim() expects parameter 1 to be string, boolean givenRuntime::discardsComments()Runtime::discardsComments() for querying whether the PHP runtime discards annotations