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

Allow for negative values in case statements. #3

Merged
merged 1 commit into from
Oct 24, 2012
Merged

Allow for negative values in case statements. #3

merged 1 commit into from
Oct 24, 2012

Conversation

realityking
Copy link
Contributor

This allow for the following syntax:

switch ($var)
{
    case -1:

   break;
   default:
}

@LouisLandry
Copy link
Contributor

Thanks Rouven!

LouisLandry added a commit that referenced this pull request Oct 24, 2012
Allow for negative values in case statements.
@LouisLandry LouisLandry merged commit d99f05d into joomla:master Oct 24, 2012
jatitoam pushed a commit to jatitoam/coding-standards that referenced this pull request May 19, 2018
Added mandatory throws check
wilsonge pushed a commit to wilsonge/coding-standards that referenced this pull request Oct 1, 2018
wilsonge pushed a commit to wilsonge/coding-standards that referenced this pull request Oct 1, 2018
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