Skip to content

Fix notices seen in PHP 7.3.0alpha4 (but not alpha3) #250

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

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

TysonAndre
Copy link
Contributor

vendor/microsoft/tolerant-php-parser/src/Parser.php:1037 [2]
"continue" targeting switch is equivalent to "break".
Did you mean to use "continue 2"

Could you publish a 0.0.13 release for this? Phan's error handler deliberately terminates the program on PHP notices

See the note in https://github.com/php/php-src/blob/master/UPGRADING about "continue 2"

    vendor/microsoft/tolerant-php-parser/src/Parser.php:1037 [2]
    "continue" targeting switch is equivalent to "break".
    Did you mean to use "continue 2"
Copy link
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always something new to learn in PHP... thanks for the PR!

@roblourens roblourens merged commit 5123f9c into microsoft:master Jul 23, 2018
@TysonAndre TysonAndre deleted the fix-php7.3.0alpha4 branch August 19, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants