Skip to content

Commit bfb9641

Browse files
author
Bruno Ramalho
committed
cleanup scripts
1 parent 71b0440 commit bfb9641

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

scripts/phpcpd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3+
echo -e "\e[34m=> PHP Copy/Paste Detector \e[0m"
4+
35
vendor/bin/phpcpd src

scripts/psr2.sh renamed to scripts/phpcs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
echo -e "\e[34m=> PHP CodeSniffer \e[0m"
4+
35
vendor/bin/phpcs --config-set colors 1
46
vendor/bin/phpcs --extensions=php \
57
--standard=./vendor/divante-ltd/pimcore-coding-standards/Standards/Pimcore5/ruleset.xml \

scripts/phpdocblock.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3+
echo -e "\e[34m=> PHP DocBlock Checker \e[0m"
4+
35
vendor/bin/phpdoccheck --directory=src

scripts/phploc.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3+
echo -e "\e[34m=> PHPLOC \e[0m"
4+
35
vendor/bin/phploc src

scripts/phpmd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
22

3+
echo -e "\e[34m=> PHP Mess Detector \e[0m"
4+
35
vendor/bin/phpmd src text \
46
./vendor/divante-ltd/pimcore-coding-standards/Standards/Pimcore5/rulesetmd.xml

0 commit comments

Comments
 (0)