Browse files

Revert "Install phploc/phpmd using composer (on 5.3+)"

This reverts commit 55c87fa.
  • Loading branch information...
1 parent 55c87fa commit b53495777c1ea7f303789f0771800937a250ffb6 @mrook mrook committed Jul 14, 2014
Showing with 13 additions and 13 deletions.
  1. +12 −10 .travis.sh
  2. +1 −3 composer.json
View
22 .travis.sh
@@ -18,6 +18,18 @@ installPearTask ()
pear -qq channel-discover pear.phing.info
echo "... OK"
+ echo -e "\nInstalling / upgrading phpcpd ... "
+ which phpcpd >/dev/null &&
+ pear upgrade pear.phpunit.de/phpcpd ||
+ pear install pear.phpunit.de/phpcpd
+ phpenv rehash
+
+ echo -e "\nInstalling / upgrading phploc ... "
+ which phploc >/dev/null &&
+ pear upgrade pear.phpunit.de/phploc ||
+ pear install pear.phpunit.de/phploc
+ phpenv rehash
+
echo -e "\nInstalling / upgrading phpdepend ... "
if [[ $TRAVIS_PHP_VERSION < 5.3 ]]; then
which pdepend >/dev/null &&
@@ -67,16 +79,6 @@ installPearTask ()
pear install -f phpunit/Text_Template-1.1.1
pear upgrade pecl.php.net/Phar ||
pear install pecl.php.net/Phar
- echo -e "\nInstalling / upgrading phpcpd ... "
- which phpcpd >/dev/null &&
- pear upgrade pear.phpunit.de/phpcpd ||
- pear install pear.phpunit.de/phpcpd
- phpenv rehash
-
- echo -e "\nInstalling / upgrading phploc ... "
- which phploc >/dev/null &&
- pear upgrade pear.phpunit.de/phploc ||
- pear install pear.phpunit.de/phploc
phpenv rehash
mkdir vendor
touch vendor/autoload.php
View
4 composer.json
@@ -23,9 +23,7 @@
},
"require-dev": {
"phpunit/phpunit": ">=3.7",
- "phpdocumentor/phpdocumentor": "2.x",
- "phploc/phploc": "2.x",
- "phpmd/phpmd": "2.x"
+ "phpdocumentor/phpdocumentor": "2.x"
},
"autoload": {
"classmap": ["classes/phing/"]

0 comments on commit b534957

Please sign in to comment.