-
Notifications
You must be signed in to change notification settings - Fork 394
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
PHPCS Issues with Factory Hooks & Hooks #3322
Labels
Bug
Something isn't working
Comments
mikemadison13
changed the title
PHPCS Issues with Factory Hooks
PHPCS Issues with Factory Hooks & Hooks
Jan 3, 2019
mikemadison13
added a commit
to mikemadison13/blt
that referenced
this issue
Feb 6, 2019
I've addressed several of the issues here in #3370 however there are still variable issues that will cause warnings. |
The remaining issues here are all three related to variable scoping. The variables aren't properly defined inside the hooks, and phpcs is throwing errors as a result:
|
mikemadison13
added a commit
that referenced
this issue
Feb 12, 2019
mikemadison13
added a commit
to mikemadison13/blt
that referenced
this issue
Feb 12, 2019
mikemadison13
added a commit
that referenced
this issue
Feb 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My system information:
When I run this command:
factory hooks are updated.
When i go to commit these, I get:
And I expected this to happen:
PHPCS to come back clean.
Note that rerunning
blt blt:init:git-hooks
DID make my phpcs ignore the issues, but they are still present and they should be fixed.The text was updated successfully, but these errors were encountered: