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
Fix FQCN types #122
Fix FQCN types #122
Conversation
877d454
to
9ba8a71
Compare
All right. |
please do so :D |
I'll forward them to Ondrej :P |
btw, I know I asked it already and I think you replied that this isn't a well-set-up project or so, but does it make sense to run the tests with lowest and highest deps maybe to catch such things? e.g. if I do |
wait it's actually not green, sorry sent too early. there are a couple of type errors... |
Where?? |
types that are different in tests I mean, current lowest deps state phpunit output
But I don't know much about them yet. E.g. if I remove stubs support for v4 we only have 7 left (all |
Fixes the FQCN types by requiring PHPStan 1.8.7 where the behaviour was fixed causing a BC break here.
Refs: phpstan/phpstan#8118
Also if you check the changed tests files - each of them has other assertions where the backslash was missing, so this was already inconsistent and this is the best way to "fix" it here and move forward IMO.