Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Reformat code to fit WP PHPCS standards #908

Merged
merged 1 commit into from
Oct 19, 2016
Merged

Conversation

Leland
Copy link
Contributor

@Leland Leland commented Oct 18, 2016

Fairly minor changes here, consisting of moving == intances to
=== and moving else if instances to elseif.

In addition, I've moved the if/elseif control structure in a few places to the alternate syntax due
to the presence of HTML.

This is all to fix the warnings PHPCS were throwing when ran. There are still warnings that get flagged relating to commented out code in a couple of files, but those are benign and can be ignored.

Fixes #907

Fairly minor changes here, consisting of moving == intances to
=== and moving else if instances to elseif. In a few places, I've
moved the if/elseif control structure to the alternate syntax due
to the presence of HTML as well.

This is all to fix the errors PHPCS were throwing when ran.
@olefredrik
Copy link
Owner

Excellent! Thank you 👍

@olefredrik olefredrik merged commit f628021 into olefredrik:master Oct 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Theme has many PHPCS warnings
2 participants