-
Notifications
You must be signed in to change notification settings - Fork 506
Introduce Type::getConstantArrays as successor for TypeUtils::getOldContantArrays #1684
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
Conversation
Not sure how and why but it reports https://github.com/phpstan/phpstan-src/blob/0645439ef3ebebc87a85ed8046e73302cbca5bd0/tests/PHPStan/Levels/data/arrayDimFetches.php#L28 now as non-existant offset, additionally to L21 which was already reported and I think it is legit. Updated the levels json file. |
0645439
to
1fdb846
Compare
45128c3
to
a89666f
Compare
5ad50a3
to
5e2370f
Compare
5e2370f
to
23b05e5
Compare
23b05e5
to
c201e57
Compare
64f30f5
to
dff05a5
Compare
dff05a5
to
e4a3696
Compare
I'm eager to merge this :) |
great, 1.9.x might also be a good chance to deprecate those methods :) we just have to be careful with every new usage of deprecated methods that gets added in 1.8.x which could cause phpstan errors on 1.9.x then I guess. that should not happen often but e.g. #1795 for example. I can rebase after that one got merged up. or just fix it afterwards, it's not a big deal I guess.. |
Yes, that will definitely happen :) |
Thank you. |
I'll deprecate |
and deprecate the now both unused
TypeUtils::getOldContantArrays()
andTypeUtils::getConstantArrays()