Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

CS: PHP keywords MUST be in lower case #7053

Merged
merged 2 commits into from
Dec 31, 2014

Conversation

keradus
Copy link
Contributor

@keradus keradus commented Dec 16, 2014

No description provided.

@@ -300,7 +300,7 @@ public function testGetTypes()

$count = 0;
foreach ($typesArray as $element) {
if (strpos($element, 'struct AutoDiscoverTestClass1') === 0 OR strpos($element, 'AutoDiscoverTestClass1 ArrayOfAutoDiscoverTestClass1') === 0) {
if (strpos($element, 'struct AutoDiscoverTestClass1') === 0 or strpos($element, 'AutoDiscoverTestClass1 ArrayOfAutoDiscoverTestClass1') === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

or should be ||

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just like before, fixers are atomic ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what do you think @Ocramius ?
wanna keep this PR atomic and change only one rule at once?

@Ocramius Ocramius self-assigned this Dec 17, 2014
@keradus
Copy link
Contributor Author

keradus commented Dec 30, 2014

Should I do sth else in this PR ?

@Ocramius
Copy link
Member

@keradus no, seems fine, though I'll merge manually later on

@Ocramius Ocramius added this to the 2.4.0 milestone Dec 30, 2014
Ocramius added a commit that referenced this pull request Dec 31, 2014
CS: PHP keywords MUST be in lower case
@Ocramius Ocramius merged commit 622643f into zendframework:develop Dec 31, 2014
@keradus keradus deleted the lowercase_keywords branch January 1, 2015 18:54
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this pull request May 15, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
gianarb pushed a commit to zendframework/zend-di that referenced this pull request May 15, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
gianarb pushed a commit to zendframework/zend-mime that referenced this pull request May 15, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
weierophinney pushed a commit to zendframework/zend-i18n-resources that referenced this pull request May 28, 2015
…rcase_keywords

CS: PHP keywords MUST be in lower case
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants