-
Notifications
You must be signed in to change notification settings - Fork 672
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
goto seems to be unsupported #11327
Comments
I found these snippets: https://psalm.dev/r/3053e95e1d<?php
function a(): int
{
$i = 0;
something:
$i++;
if ($i <= 3) {
goto something;
}
return $i;
}
|
Nek-
added a commit
to Nek-/http-client
that referenced
this issue
Feb 20, 2025
PSAML has problems with goto analyze. It leads to wrong issues: vimeo/psalm#11327
Nek-
added a commit
to Nek-/http-client
that referenced
this issue
Feb 20, 2025
Fix psalm config PSAML has problems with goto analyze. It leads to wrong issues: vimeo/psalm#11327
Nek-
added a commit
to Nek-/http-client
that referenced
this issue
Feb 20, 2025
Fix psalm config PSAML has problems with goto analyze. It leads to wrong issues: vimeo/psalm#11327
This is almost impossible to implement while handling all edge cases, won't fix. |
😲 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found at least one issue: https://psalm.dev/r/3053e95e1d
However it's hard to reproduce others... But the related code is here https://github.com/amphp/http-client/blob/a3e8711cb71fe909c1ae17450bfa5db652559c20/src/Connection/Internal/Http1Parser.php#L97
The text was updated successfully, but these errors were encountered: