Skip to content

Instantly share code, notes, and snippets.

@mpdonadio
Created March 4, 2017 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpdonadio/3908a2e33f36a2263c15e62b112687a3 to your computer and use it in GitHub Desktop.
Save mpdonadio/3908a2e33f36a2263c15e62b112687a3 to your computer and use it in GitHub Desktop.
Run phpcs on changes files
#!/bin/bash
phpcs --standard=Drupal --report-width=74 `git diff --name-only origin/8.4.x`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment