-
Notifications
You must be signed in to change notification settings - Fork 396
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
Fixing PHPCS filset reference. #1079
Conversation
JS and CSS code can be sniffed via PHPCS using Drupal coding standards. |
Ah ha, interesting. Should this have both lines then? Shouldn't |
Yes I think that's right! |
Updated. Thanks @grasmash. |
phing/build.yml
Outdated
@@ -91,7 +91,8 @@ phpcs: | |||
filesets: | |||
- files.php.custom.modules | |||
- files.php.tests | |||
- files.frontend.custom.themes | |||
- files.php.custom.themes | |||
- files.frontend.custom.theme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you accidentally removed the s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! Fixing now. Gotta love Travis.
I'm not sure if this is correct, but it seems like build.yml has a mistake referencing a fileset for code sniffing. The
files.frontend.custom.themes
fileset contains javascript, bower, npm, etc. files, not PHP code. Seems odd to send that through code sniffing. Should this be thefiles.php.custom.themes
fileset instead?