Closed roxblnfk closed 4 years ago
For better support for PHP 8, we should update the Injector code.
ReflectionType
ReflectionParameter::getClass()
ReflectionParameter::getType()
Links: https://github.com/php/php-src/blob/00ef092335946d47817fa307f9cf570f236bc006/UPGRADING#L314 https://github.com/php/php-src/blob/00ef092335946d47817fa307f9cf570f236bc006/UPGRADING#L558
First of all, we need to run tests against PHP 8.
For better support for PHP 8, we should update the Injector code.
ReflectionType
instead ofReflectionParameter::getClass()
andReflectionParameter::getType()
.Links: https://github.com/php/php-src/blob/00ef092335946d47817fa307f9cf570f236bc006/UPGRADING#L314 https://github.com/php/php-src/blob/00ef092335946d47817fa307f9cf570f236bc006/UPGRADING#L558