diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,10 @@ static_analysis_summary: code_sniffer_source copy_paste mess_detector_summary | |||
36 | 36 | ||
37 | code_sniffer: code_sniffer_full | 37 | code_sniffer: code_sniffer_full |
38 | 38 | ||
39 | ### - errors filtered by coding standard: PEAR, PSR1, PSR2, Zend... | ||
40 | PHPCS_%: | ||
41 | @$(BIN)/phpcs $(PHP_SOURCE) --report-full --report-width=200 --standard=$* | ||
42 | |||
39 | ### - errors by Git author | 43 | ### - errors by Git author |
40 | code_sniffer_blame: | 44 | code_sniffer_blame: |
41 | @$(BIN)/phpcs $(PHP_SOURCE) --report-gitblame | 45 | @$(BIN)/phpcs $(PHP_SOURCE) --report-gitblame |