Skip to content
Permalink
Browse files

update .travis.yml and codestyle.c sh

  • Loading branch information
lachlan-00 committed May 5, 2019
1 parent 3b19542 commit 035a42ed89e4fcbaec7cfe260b658d0e0018f98d
Showing with 4 additions and 4 deletions.
  1. +2 −2 .travis.yml
  2. +2 −2 scripts/tests/codestyle.sh
@@ -2,11 +2,11 @@ language: php
sudo: false
php:
- 5.6
- 7.0
- 7.3

before_install:
- export PATH="$PATH:$HOME/.composer/vendor/bin"
- composer global require friendsofphp/php-cs-fixer:~2.4.0
- composer global require friendsofphp/php-cs-fixer:~2.12.0
-
before_script:
- chmod +x scripts/tests/syntax.sh
@@ -3,9 +3,9 @@
if [ -e "php-cs-fixer.phar" ]
then
PHPCSFIXER="php php-cs-fixer.phar"
elif hash php-cs-fixer
elif [ -e "php-cs-fixer" ]
then
PHPCSFIXER="php-cs-fixer"
PHPCSFIXER="php php-cs-fixer"
else
echo -e "\e[1;31mPlease install or download latest stable php-cs-fixer\e[00m";
echo -e "\e[1;31mhttp://cs.sensiolabs.org/\e[00m";

0 comments on commit 035a42e

Please sign in to comment.
You can’t perform that action at this time.