ci: check syntax via php first
parent
897804cef2
commit
3923815580
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l
|
@ -1,7 +1,8 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh -i -e
|
||||
|
||||
#phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
|
||||
#phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml
|
||||
|
||||
FILES=$(ls -dm *.php | tr -d " "| tr -d "\n")
|
||||
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml
|
||||
|
||||
|
Loading…
Reference in New Issue