All notable changes in sebastianbergmann/environment
are documented in this file using the Keep a CHANGELOG principles.
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.3
Runtime::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 given
Uncaught TypeError: trim() expects parameter 1 to be string, boolean given
Runtime::discardsComments()
Runtime::discardsComments()
for querying whether the PHP runtime discards annotations