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

TASK: Change all uppercase TRUE and FALSE to lowercase in PHP #2099

Merged

Conversation

mstruebing
Copy link
Contributor

This was a thing at some time I remember and I've found many leftover uppercase true and false.

related to #2098

@mstruebing mstruebing changed the base branch from master to 4.0 June 26, 2018 14:59
@mstruebing mstruebing changed the title Change uppercase true and false to lowercase in php TASK: Change all uppercase TRUE and FALSE to lowercase in PHP Jun 26, 2018
@gerhard-boden gerhard-boden reopened this Jun 26, 2018
Copy link
Contributor

@gerhard-boden gerhard-boden left a comment

Choose a reason for hiding this comment

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

in some cases the uppercase syntax must be kept intact

@@ -174,7 +174,7 @@ class Parser implements ParserInterface
[^\\\\\'])*
)
)$/x';
const SPLIT_PATTERN_VALUEBOOLEAN = '/^\s*(TRUE|FALSE|true|false)\s*$/';
const SPLIT_PATTERN_VALUEBOOLEAN = '/^\s*(true|false|true|false)\s*$/';
Copy link
Contributor

Choose a reason for hiding this comment

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

we still need the uppercase variant here

Copy link
Contributor

@gerhard-boden gerhard-boden left a comment

Choose a reason for hiding this comment

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

Thanks for the amendments! Looks good to me now!

@kitsunet kitsunet merged commit 2652f97 into neos:4.0 Jun 30, 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.

None yet

3 participants