fix phpmd.sh

This commit is contained in:
Andrew Dolgov 2017-04-26 15:38:40 +03:00
parent 2f3bce5960
commit 9b666d2aa1
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
phpmd include text utils/gitlab-ci/phpmd-ruleset.xml #phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml #phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml
FILES=$(ls -dm *.php | sed "s/ //g") FILES=$(ls -dm *.php | tr -d " "| tr -d "\n")
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml