code_sniffer: code_sniffer_full
+### - errors filtered by coding standard: PEAR, PSR1, PSR2, Zend...
+PHPCS_%:
+ @$(BIN)/phpcs $(PHP_SOURCE) --report-full --report-width=200 --standard=$*
+
### - errors by Git author
code_sniffer_blame:
@$(BIN)/phpcs $(PHP_SOURCE) --report-gitblame
# See phpunit.xml for configuration
# https://phpunit.de/manual/current/en/appendixes.configuration.html
##
-test: clean
+test:
@echo "-------"
@echo "PHPUNIT"
@echo "-------"
### remove all unversioned files
clean:
- @git clean -df
+ @git clean -df
### update the local copy of the documentation
doc: clean
- @rm -rf doc
- @git clone https://github.com/shaarli/Shaarli.wiki.git doc
- @rm -rf doc/.git
+ @rm -rf doc
+ @git clone https://github.com/shaarli/Shaarli.wiki.git doc
+ @rm -rf doc/.git
### Convert local markdown documentation to HTML
htmldoc: