From: Marc Tobias Metten Date: Sun, 11 Sep 2016 03:21:15 +0000 (+0200) Subject: add PHP code-sniffer to installation instructions (marked optional) X-Git-Tag: v3.0.0~132^2~2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/ae5cc28a1acbfe86cbad3a45f06ee40c71257c3d?hp=cf39e07dba72373302e2d1a48de3083339d0decb add PHP code-sniffer to installation instructions (marked optional) --- diff --git a/vagrant/install-on-centos-7.sh b/vagrant/install-on-centos-7.sh index 52ae5d0c..cd1ddfb0 100755 --- a/vagrant/install-on-centos-7.sh +++ b/vagrant/install-on-centos-7.sh @@ -31,6 +31,7 @@ python-numpy php-phpunit-PHPUnit pip install --user --upgrade pip setuptools lettuce==0.2.18 six==1.9 \ haversine Shapely pytidylib + sudo pear install PHP_CodeSniffer # # System Configuration diff --git a/vagrant/install-on-travis-ci.sh b/vagrant/install-on-travis-ci.sh index fdaec162..aca3c66f 100755 --- a/vagrant/install-on-travis-ci.sh +++ b/vagrant/install-on-travis-ci.sh @@ -27,6 +27,7 @@ sudo apt-get install -y -qq python-Levenshtein python-shapely \ python-numpy phpunit sudo -H pip install --quiet 'setuptools>=23.0.0' lettuce==0.2.18 'six>=1.9' haversine +sudo pear install PHP_CodeSniffer sudo service postgresql restart sudo -u postgres createuser -S www-data diff --git a/vagrant/install-on-ubuntu-16.sh b/vagrant/install-on-ubuntu-16.sh index a466c514..a4b9ddee 100755 --- a/vagrant/install-on-ubuntu-16.sh +++ b/vagrant/install-on-ubuntu-16.sh @@ -38,6 +38,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: python-numpy phpunit pip install --user lettuce==0.2.18 six==1.7 haversine + sudo pear install PHP_CodeSniffer # # System Configuration