-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
False positive with try-catch, single statement and type override (0.9.x) #505
Labels
Milestone
Comments
Looks like this is fixed https://phpstan.org/r/e0e5e39a-1bc4-443b-8ba3-3897310fbc72 |
It cannot fully work until exception tracking is implemented. You can
easily fool the analyser.
On Sat, 13 Jul 2019 at 10:34, Adam Žurek ***@***.***> wrote:
Looks like this is fixed
https://phpstan.org/r/e0e5e39a-1bc4-443b-8ba3-3897310fbc72
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#505?email_source=notifications&email_token=AAAZTOCGUWZBVLOFDL5MZFLP7GHQ5A5CNFSM4D3H3OL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3M5MQ#issuecomment-511102642>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAZTOCWSU53A4BAJOAZFRLP7GHQ5ANCNFSM4D3H3OLQ>
.
--
Ondřej Mirtes
|
Fixed by: phpstan/phpstan-src#481 |
ondrejmirtes
added a commit
to phpstan/phpstan-src
that referenced
this issue
Mar 28, 2021
Closes phpstan/phpstan#1597 Closes phpstan/phpstan#3617 Closes phpstan/phpstan#778 Closes phpstan/phpstan#2969 Closes phpstan/phpstan#3004 Closes phpstan/phpstan#3710 Closes phpstan/phpstan#3822 Closes phpstan/phpstan#505 Closes phpstan/phpstan#1670 Closes phpstan/phpstan#1219
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The type will never change if exception is thrown. No error with 0.8.5.
https://phpstan.org/r/ce51cd492fbb7bd36538e0f897c23cc0
The text was updated successfully, but these errors were encountered: