diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 20:16:23 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 14:09:15 +0100 |
commit | e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd (patch) | |
tree | beef67d31dc6aa8c23d16e53f6cd18379b57b843 /Makefile | |
parent | d9d71b10c3bc70a0881d630b37dc4e918c9e812f (diff) | |
download | Shaarli-e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd.tar.gz Shaarli-e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd.tar.zst Shaarli-e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd.zip |
Coding style: switch PHPCS to PSR12
Also temporarily ignore test code (one step at a time).
Reference: https://www.php-fig.org/psr/psr-12/
Related to #95
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -27,10 +27,6 @@ PHPCS := $(BIN)/phpcs | |||
27 | code_sniffer: | 27 | code_sniffer: |
28 | @$(PHPCS) | 28 | @$(PHPCS) |
29 | 29 | ||
30 | ### - errors filtered by coding standard: PEAR, PSR1, PSR2, Zend... | ||
31 | PHPCS_%: | ||
32 | @$(PHPCS) --report-full --report-width=200 --standard=$* | ||
33 | |||
34 | ### - errors by Git author | 30 | ### - errors by Git author |
35 | code_sniffer_blame: | 31 | code_sniffer_blame: |
36 | @$(PHPCS) --report-gitblame | 32 | @$(PHPCS) --report-gitblame |