Martin Melka
Martin Melka
### Bug Report | Q | A |-------------------------------------------- | ------ | Version | 3.3.3 | Previous Version if the bug is a regression | 2.5.7 #### Summary After upgrading 2.5.7...
Fixes #420. My assumption here is that using the native `ReflectionProperty` for static properties won't cause the lazy proxy classes to get instantiated. The tests seem to confirm that.
The following code causes a false PHPStan error. The `Assert::allInArray($enabledNames, $supportedNames);` assertion certainly isn't always true. ```php use Webmozart\Assert\Assert; class C { /** * @param array $supportedNames * @param array...