mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 19:58:41 +00:00
Hide phpmd normal output
This commit is contained in:
parent
17e1afe276
commit
c98ec7517d
|
|
@ -14,7 +14,7 @@ hasInvalidPhpSyntax() {
|
|||
fi
|
||||
|
||||
# phpmd
|
||||
$(php -d memory_limit=4G ${rootpath}/vendor/bin/phpmd "$1" text ${rootpath}/Build/Config/phpmd.xml --exclude *tests* --minimumpriority 1)
|
||||
$(php -d memory_limit=4G ${rootpath}/vendor/bin/phpmd "$1" text ${rootpath}/Build/Config/phpmd.xml --exclude *tests* --minimumpriority 1 > /dev/null)
|
||||
if [[ $? != 0 ]]; then
|
||||
return 3
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user