Closed Rockylars closed 9 months ago
Hi, thanks. I've changed the config file and added scheduled tests so next time I could detect it hopefully before you do 😅 The fix is in just released 3.1.2.
FYI @ondrejmirtes, re the ::constant(...)
support in the .neon
config files:
So hopefully this isn't gonna break any time soon :) https://github.com/phpstan/phpstan/issues/10223#issuecomment-1831326007
I think it just did :-) But I'm fine with that.
I've tried reverting nette/di
to a version that worked best for us: https://github.com/phpstan/phpstan-src/commit/969ff31ab29cd424aab2b2e32344a1825093bdea
It might make this work again.
Yeah, thanks, it started working again, but I'll leave it that way just in case it will stop working again one day 😅 (note to self: basically the same problem reported in https://github.com/phpstan/phpstan/issues/10727)
The other 3 work fine, but including this one with PHPStan 1.10.58 will break it. Will work fine with PHPStan 1.10.57. Tested with v3.1.1 through PHP 8.2 and 8.3.
Broken:
Also broken:
Works fine:
Also works fine: