Created
March 1, 2015 00:23
-
-
Save paul-m/bdb4c44ecd1de8f934cd to your computer and use it in GitHub Desktop.
How to review a patch for meta https://www.drupal.org/node/1811638
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a one-liner to aid in reviewing patches on this Drupal.org meta issue: | |
# https://www.drupal.org/node/1811638 | |
# You can use netbeansdrupalcomposed to gather the dependencies, which are phpcs | |
# and Drupal's Coder module | |
# https://www.drupal.org/sandbox/mile23/2197899 | |
# Substitute any module path you want in order to check only that module. | |
# The resulting list will be a bit of gobbledygook in CSV, but will show you whether | |
# or not the patch you're evaluating successfully removed the errors we're looking for. | |
phpcs --standard="/path/to/drupal/coder/coder_sniffer/Drupal" --report-csv path/to/module/src/Tests | grep "should use lowerCamel" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment