mirror of
https://github.com/doctrine/reflection.git
synced 2026-03-24 16:52:07 +01:00
Declaration of Doctrine\Common\Reflection\StaticReflectionClass::getConstants() must be compatible with ReflectionClass::getConstants() #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iVegas on GitHub (Jul 2, 2020).
Recent tests using PHP 8.0.0-alpha1 shows method implementation incompatibility.
Drupal 9 PHP 8.0 compatibility issue https://www.drupal.org/project/drupal/issues/3109885#comment-13730977
Tests results https://www.drupal.org/pift-ci-job/1745466
@alexpott commented on GitHub (Jul 3, 2020):
This should be addressed by https://github.com/doctrine/reflection/pull/43
@greg0ire commented on GitHub (Jul 28, 2020):
@iVegas we are considering deprecating this class and the biggest part of this package, consider migrating to something else (
roave/better-reflection?)@Firehed commented on GitHub (Oct 5, 2020):
StaticReflectionMethodis similarly affected:PHP Fatal error: Declaration of Doctrine\Common\Reflection\StaticReflectionMethod::invoke($object, $parameter = null) must be compatible with ReflectionMethod::invoke(?object $object, mixed ...$args)