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

Fixes PHPCS Errors based on WPCS #49

Merged
merged 7 commits into from
Oct 30, 2019
Merged

Fixes PHPCS Errors based on WPCS #49

merged 7 commits into from
Oct 30, 2019

Conversation

kopepasah
Copy link
Contributor

This covers a first stab at fixing some of the PHPCS errors, which will enable us to test next iterations of this plugin more easily.

Currently there is one final error to fix and it is blocked by #48.

Fixes #33

@kopepasah
Copy link
Contributor Author

Please do note that, at the creation of this PR, I have not tested these changes functionally. That is the next step.

pantheon-hud.php Outdated Show resolved Hide resolved
@kopepasah
Copy link
Contributor Author

@danielbachhuber I updated the PHPCS config with the config file you reference and removed the unnecessary configuration.

I did not change the PHP or WP version compatibility requirement configuration, as I am not of those without further digging. Hoping @ataylorme or yourself will know those minimum requirements. Either way, these need to be updated.

Let me know if there is something else missing.

@@ -1,42 +1,45 @@
<?php
/**
* Plugin Name: Pantheon HUD
* Version: 0.2.2
* Version: 0.2.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Version: 0.2.1
* Version: 0.2.2

@danielbachhuber danielbachhuber added this to the 0.2.3 milestone Oct 30, 2019
@danielbachhuber danielbachhuber changed the title WIP: Fixes PHPCS Errors based on WPCS Fixes PHPCS Errors based on WPCS Oct 30, 2019
@danielbachhuber
Copy link
Contributor

Looks great, thanks for your work on this!

@danielbachhuber danielbachhuber merged commit eea05b4 into pantheon-systems:master Oct 30, 2019
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.

Enforce WordPress Coding Standards on the repo
2 participants