Don’t lint php files

This commit is contained in:
Jonny Barnes 2016-12-12 13:46:01 +00:00
parent 5d6b607992
commit f63b6e4dcd

View file

@ -3,10 +3,6 @@
.PHONY: sass frontend js compress lint-sass lint-js lint-php .PHONY: sass frontend js compress lint-sass lint-js lint-php
jsfiles := $(wildcard resources/assets/js/*.js) jsfiles := $(wildcard resources/assets/js/*.js)
sassfiles := $(wildcard resources/assets/sass/*.scss) sassfiles := $(wildcard resources/assets/sass/*.scss)
phpfiles := $(wildcard app/*.php) \
$(wildcard app/**/*.php) \
$(wildcard app/**/**/*.php) \
$(wildcard app/**/**/**/*.php)
yarnfiles:= node_modules/whatwg-fetch/fetch.js \ yarnfiles:= node_modules/whatwg-fetch/fetch.js \
node_modules/alertify.js/dist/js/alertify.js \ node_modules/alertify.js/dist/js/alertify.js \
node_modules/store2/dist/store2.min.js \ node_modules/store2/dist/store2.min.js \
@ -48,8 +44,3 @@ lint-js: $(jsfiles)
for f in $^; do \ for f in $^; do \
eslint $$f; \ eslint $$f; \
done; done;
lint-php: $(phpfiles)
for f in $^; do \
php -l $$f; \
done;