All notable changes to sebastianbergmann/php-token-stream are documented in this file using the Keep a CHANGELOG principles.
PHP_Token_Stream that implement the ArrayAccess, Countable, and SeekableIterator interfaces are now compatible with PHP 8.1composer.json from ^7.1 to >=7.1 to allow installation of this version of this library on PHP 8. However, this version of this library does not work on PHP 8. PHPUnit 8.5, which uses this version of this library (through phpunit/php-code-coverage), does not call into this library and instead shows a message that code coverage functionality is not available for PHPUnit 8.5 on PHP 8.class are not handled correctlyFN and COALESCE_EQUAL tokens introduced in PHP 7.4getEndTokenId() does not handle string-dollar ("${var}") interpolationPHP_Token_USE_FUNCTION does not serialize correctlyempty wrongly recognized as anonymous function