Skip to content

Commit 7842ada

Browse files
author
jdlabails
committed
phpmd as dependencies
1 parent 80ff3c9 commit 7842ada

File tree

6 files changed

+2738
-739
lines changed

6 files changed

+2738
-739
lines changed

Resources/_phar/phpDocumentor.phar

-17.4 MB
Binary file not shown.

Resources/_phar/phpmd.phar

-2.38 MB
Binary file not shown.

Resources/sh/docs.tpl.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ if [ ${DOC} -eq 1 ]
33
then
44
rm -rf ${DIR_REPORT}/DOCS/*
55
echo "Rédaction de la documentation"
6-
echo "php ${DIR_PHAR}/phpDocumentor.phar -d ${DIR_SRC} -t ${DIR_REPORT}/DOCS" > ${DIR_REPORT}/DOCS/cmd.txt
7-
php ${DIR_PHAR}/phpDocumentor.phar -d ${DIR_SRC} -t ${DIR_REPORT}/DOCS > ${DIR_REPORT}/DOCS/report.txt 2>&1
6+
echo "${DIR_BIN}/phpDocumentor -d ${DIR_SRC} -t ${DIR_REPORT}/DOCS" > ${DIR_REPORT}/DOCS/cmd.txt
7+
${DIR_BIN}/phpDocumentor -d ${DIR_SRC} -t ${DIR_REPORT}/DOCS > ${DIR_REPORT}/DOCS/report.txt 2>&1
88
fi

Resources/sh/md.tpl.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
rm -f ${DIR_REPORT}/MD/*.txt
33

44
echo "Analyse Mess Detector"
5-
echo "${DIR_PHAR}/phpmd.phar ${DIR_SRC} text %%%rule_set%%% --reportfile ${DIR_REPORT}/MD/report.txt" > ${DIR_REPORT}/MD/cmd.txt
6-
echo "${DIR_PHAR}/phpmd.phar ${DIR_SRC} text %%%rule_set%%%" > ${DIR_REPORT}/MD/cmdManuelle.txt
5+
echo "${DIR_BIN}/phpmd ${DIR_SRC} text %%%rule_set%%% --reportfile ${DIR_REPORT}/MD/report.txt" > ${DIR_REPORT}/MD/cmd.txt
6+
echo "${DIR_BIN}/phpmd ${DIR_SRC} text %%%rule_set%%%" > ${DIR_REPORT}/MD/cmdManuelle.txt
77

8-
php ${DIR_PHAR}/phpmd.phar ${DIR_SRC} text %%%rule_set%%% --reportfile ${DIR_REPORT}/MD/report.txt
8+
${DIR_BIN}/phpmd ${DIR_SRC} text %%%rule_set%%% --reportfile ${DIR_REPORT}/MD/report.txt

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@
1919
"php": ">=7.0",
2020
"symfony/symfony": ">=2.3",
2121
"symfony/translation": ">=2.3",
22-
"sebastian/phpcpd": "^2.0.0",
23-
"phploc/phploc": "^4.0.0",
24-
"symfony/phpunit-bridge": "^3.3",
25-
"squizlabs/php_codesniffer": "*"
22+
"sebastian/phpcpd": "*",
23+
"phploc/phploc": "*",
24+
"symfony/phpunit-bridge": "*",
25+
"squizlabs/php_codesniffer": "*",
26+
"pdepend/pdepend": "*",
27+
"phpdocumentor/phpdocumentor": "*",
28+
"phpmd/phpmd" : "*"
2629
},
2730
"scripts": {
2831
"post-install-cmd": [
@@ -46,8 +49,5 @@
4649
},
4750
"config": {
4851
"bin-dir": "bin/"
49-
},
50-
"require-dev": {
51-
"pdepend/pdepend": "^2.5"
5252
}
5353
}

0 commit comments

Comments
 (0)