-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8 Compatibility #466
Comments
Hello! I can confirm that Would you like to work on this? ) |
From PHP8 News ReflectionClass::newInstance($arg = null, ...$args);
ReflectionFunction::invoke($arg = null, ...$args);
ReflectionMethod::invoke($object, $arg = null, ...$args); When i use classMap some file for |
@lisachenko I'm not sure from where to start. Are you planning to deprecate goaop/parser-reflection (#465 (comment))? I also noticed that master is quite ahead of the latest stable parser-reflection 2.1.2 release. |
Personally, I don't want to deprecate/abandon my own Theoretically, I can make parser-reflection working with PHP8 without new features, this can give some time to test/play with current packages and unblock migration to PHP8. |
Linked issue: Roave/BetterReflection#701. So, there are no currently working static reflection libraries supporting PHP8 now, neither my, nor BR is not ready for that. |
FYI: It seems that BR portability is getting up to speed: Roave/BetterReflection#701 |
Yes, I’m looking forward to have this PHP8 support added to BR, then need one more step - to migrate my framework to BR |
Hi! Are there any updates to that? It seems BetterReflection has added support for PHP 8. |
Yep, BR has now PHP8 support, looking for someone who can do integration ) I don't have enough time to do it, so can't promise it will be ready soon... |
I am currently refactoring the library to support PHP 8.0. See WalterWoshid#1 for progress information |
Done #486 |
I'm not sure if this is the correct package to report the issue, but I've just upgraded to PHP 8 and got the following error:
Is the library supposed to work with PHP 8 or I'm pulling some older transitive dependency?
Here is part of my dependencies tree:
The text was updated successfully, but these errors were encountered: