Skip to content
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

fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "br… #7431

Closed
wants to merge 1 commit into from

Conversation

remicollet
Copy link

…eak". Did you mean to use "continue 2"?

Found in Fedora QA, for various library using doctrine (not covered by doctrine test suite)
https://apps.fedoraproject.org/koschei/package/php-doctrine-doctrine-bundle?collection=f30
https://apps.fedoraproject.org/koschei/package/php-jms-serializer?collection=f30
etc

@Ocramius
Copy link
Member

ORM 2.5 is no longer maintained, unless it's about a security issue.

@Ocramius Ocramius closed this Oct 16, 2018
@Ocramius Ocramius self-assigned this Oct 16, 2018
@remicollet remicollet changed the base branch from 2.5 to 2.6 October 16, 2018 10:32
@karser
Copy link

karser commented Oct 16, 2018

I encountered this issue too.
doctrine/orm: v2.6.2
php: 7.3.0RC3

In UnitOfWork.php line 2718:
                                                                                                    
  Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?  

@Ocramius
Copy link
Member

@karser see #7325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants