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

Use php keywords in lowercase #20384

Merged
merged 1 commit into from
Apr 9, 2020
Merged

Conversation

ChristophWurst
Copy link
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>
@@ -141,7 +141,7 @@ public function loadAutoConfig($post) {
$directoryIsSet = isset($post['directory']);
$adminAccountIsSet = isset($post['adminlogin']);

if ($dbIsSet AND $directoryIsSet AND $adminAccountIsSet) {
if ($dbIsSet and $directoryIsSet and $adminAccountIsSet) {
Copy link
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
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
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants