-
Notifications
You must be signed in to change notification settings - Fork 71
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
WPCS #236
Comments
Implemented in #237 |
Could I continue with full WPCS? |
Could it get into Travis also? |
@szepeviktor Hi, thanks for the pull request. I don't mind fixing indentations. I'm not sure about removing the parentheses used for require and include. Is there a merit for doing it? As for WordPress Coding Standards, I would not be too strict about it. I use 4 white spaces to start an indentation at a new line. I used to use a tab but I have had a hard time posting code on Gist for it as it did not get aligned gracefully. So I changed it to use white spaces. Let me know if you have difficulty using white spaces for indentations. As for your question about Travis, I could not comprehend your question. Travis is already set up for this repository. Do you want to do something with it? You may check out the Travis configuration file (https://github.com/michaeluno/admin-page-framework/blob/3.7.11/.travis.yml). |
As for indentation: You could copy WPCS' directory named Travis could check whether the commits are WPCS compatible. |
I see you want to implement coding standard checks in the tests. I'll see what I can do. |
I added a script in the tool directory to run To run the script, you just execute the However, by applying fixes, It caused some PHP syntax errors and I had to modify |
OK. |
I've been aware of it unless you are talking about something different. I'm not sure why you mention this. If you mentioned it because the use of the phar file in the script, it is for allowing it run locally without requiring the user to install Composer. |
Good afternoon!
How about fixing indentation and e.g. removing
()
from include and require?The text was updated successfully, but these errors were encountered: