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
#!/bin/bash | |
files=$(git diff-index --name-only --diff-filter=ACMR HEAD --) | |
for file in $files; do | |
phpcsout=$(phpcs -s $file --standard=phpcs.xml) | |
if [ "$phpcsout" != "" ]; then | |
affectedLines=$(git blame -p -s $file | grep 00000000 | cut -d " " -f2) |
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
date | close | |
---|---|---|
1907-01-01 | 51815 | |
2011-01-01 | 310956 | |
2017-01-01 | 269022 |