All notable changes in sebastian/global-state
are documented in this file using the Keep a CHANGELOG principles.
ReflectionProperty::setValue()
to be compatible with PHP 8.3$includeTraits
parameter of SebastianBergmann\GlobalState\Snapshot::__construct()
is not respectedSebastianBergmann\GlobalState\CodeExporter::globalVariables()
now generates code that is compatible with PHP 8.1SebastianBergmann\GlobalState\Exception
now correctly extends \Throwable
composer.json
from ^7.3 || ^8.0
to >=7.3
SebastianBergmann\GlobalState\Blacklist
class has been renamed to SebastianBergmann\GlobalState\ExcludeList
$includeTraits
parameter of SebastianBergmann\GlobalState\Snapshot::__construct()
is not respectedcomposer.json
from ^7.2
to >=7.2
Snapshot::canBeSerialized()
now recursively checks arrays and object graphs for variables that cannot be serialized