forked from zendframework/zf1
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Warning in PHP 7.3 using 'continue' in switch statement #8
Comments
Thanks, I'll get that sorted |
Looking at the debug log it seems to me that it should be continue 2 as it's trying to skip the $cmapType = $format; on line 934 |
Fixed by commit: 4c70923 |
This was referenced Dec 27, 2021
develart-projects
pushed a commit
that referenced
this issue
Oct 8, 2024
fix callback annotations for phpstan usage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see
zf1-future/library/Zend/Pdf/FileParser/Font/OpenType.php
Line 901 in 2ad936d
'continue' in switch statements are deprecated:
https://wiki.php.net/rfc/continue_on_switch_deprecation
I think, 'continue' should be changed to 'break' in all case statements in this method.
In PHP 7.3 it shows warnings like
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...
The text was updated successfully, but these errors were encountered: