From 9b666d2aa1d6a7fd9f239708ba2c59da5dfb9ca7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 15:38:40 +0300 Subject: [PATCH] fix phpmd.sh --- utils/gitlab-ci/phpmd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh index 3f3b376bc..e5bad474d 100644 --- a/utils/gitlab-ci/phpmd.sh +++ b/utils/gitlab-ci/phpmd.sh @@ -1,7 +1,7 @@ #!/bin/sh -e -phpmd include text utils/gitlab-ci/phpmd-ruleset.xml -phpmd classes 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 -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