Skip to content

Use php keywords in lowercase#20384

Merged
ChristophWurst merged 1 commit intomasterfrom
techdebt/lowercase-keywords
Apr 9, 2020
Merged

Use php keywords in lowercase#20384
ChristophWurst merged 1 commit intomasterfrom
techdebt/lowercase-keywords

Conversation

@ChristophWurst
Copy link
Copy Markdown
Member

Why would anyone case them? Well, anyway, bringing use yet another step closer to PSR2.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews technical debt 🧱 🤔🚀 labels Apr 9, 2020
@ChristophWurst ChristophWurst added this to the Nextcloud 19 milestone Apr 9, 2020
@ChristophWurst ChristophWurst self-assigned this Apr 9, 2020
$adminAccountIsSet = isset($post['adminlogin']);

if ($dbIsSet AND $directoryIsSet AND $adminAccountIsSet) {
if ($dbIsSet and $directoryIsSet and $adminAccountIsSet) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we replace all and with &&?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Will come with logical_operators => true :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

So sorry for doing this in small steps but I want to avoid breaking something with these cleanups. Thus I do them in a way that is hopefully most reviewable 🙏

@rullzer rullzer mentioned this pull request Apr 9, 2020
59 tasks
@ChristophWurst ChristophWurst merged commit 6451093 into master Apr 9, 2020
@ChristophWurst ChristophWurst deleted the techdebt/lowercase-keywords branch April 9, 2020 14:25
@ChristophWurst
Copy link
Copy Markdown
Member Author

Oh no I mixed up the PRs and thought this one was reviewed 🙈

Shall I revert?

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

Labels

3. to review Waiting for reviews technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants