Skip to content

Commit

Permalink
cleanup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Ramalho committed Apr 30, 2019
1 parent 71b0440 commit bfb9641
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/phpcpd.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

echo -e "\e[34m=> PHP Copy/Paste Detector \e[0m"

vendor/bin/phpcpd src
2 changes: 2 additions & 0 deletions scripts/psr2.sh → scripts/phpcs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

echo -e "\e[34m=> PHP CodeSniffer \e[0m"

vendor/bin/phpcs --config-set colors 1
vendor/bin/phpcs --extensions=php \
--standard=./vendor/divante-ltd/pimcore-coding-standards/Standards/Pimcore5/ruleset.xml \
Expand Down
2 changes: 2 additions & 0 deletions scripts/phpdocblock.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

echo -e "\e[34m=> PHP DocBlock Checker \e[0m"

vendor/bin/phpdoccheck --directory=src
2 changes: 2 additions & 0 deletions scripts/phploc.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

echo -e "\e[34m=> PHPLOC \e[0m"

vendor/bin/phploc src
2 changes: 2 additions & 0 deletions scripts/phpmd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

echo -e "\e[34m=> PHP Mess Detector \e[0m"

vendor/bin/phpmd src text \
./vendor/divante-ltd/pimcore-coding-standards/Standards/Pimcore5/rulesetmd.xml

0 comments on commit bfb9641

Please sign in to comment.