Unexpected ClassReflection error starting on v1.7.0 #7403
-
I'm refactoring PHPat as a PHPStan extension but an error hits me when using PHPStan 1.7.* (which doesn't happen with =<1.6.*)
Using PHPStan 1.6 ✅ https://github.com/carlosas/phpat/actions/runs/2443831917 I found that this is what is triggering it: Also having PHPStan Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Since StaticRelfection is the default as of 1.7.x you should not use native Reflection classes but ReflectionProvider etc |
Beta Was this translation helpful? Give feedback.
-
Please try PHPStan 1.7.11. It should be fixed thanks to: ondrejmirtes/BetterReflection@90dd583 |
Beta Was this translation helpful? Give feedback.
Please try PHPStan 1.7.11. It should be fixed thanks to: ondrejmirtes/BetterReflection@90dd583