Skip to content

Commit

Permalink
update phpstan, cs-fixer + run build with symfony 4.3 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Jun 19, 2019
1 parent 1e8e3c5 commit dc4be5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -13,7 +13,7 @@ php:

env:
- SYMFONY_VERSION="3.4.*"
- SYMFONY_VERSION="4.2.*"
- SYMFONY_VERSION="4.3.*"
- PHPUNIT_VERSION="6.*"
- PHPUNIT_VERSION="7.*"

Expand All @@ -25,7 +25,7 @@ matrix:
- php: 7.3
env:
- PHPUNIT_VERSION="8.*"
- SYMFONY_VERSION="4.2.*"
- SYMFONY_VERSION="4.3.*"

install:
- rm -rf composer.lock vendor/*
Expand Down
4 changes: 2 additions & 2 deletions makefile
Expand Up @@ -15,7 +15,7 @@ phpstan: phpstan.phar
./phpstan.phar analyse -c phpstan.neon -a vendor/autoload.php -l 7 src

phpstan.phar:
wget https://raw.githubusercontent.com/phpstan/phpstan-shim/0.10.1/phpstan.phar && chmod 777 phpstan.phar
wget https://raw.githubusercontent.com/phpstan/phpstan-shim/0.11.8/phpstan.phar && chmod 777 phpstan.phar

build: composer.phar test phpstan php_cs_fixer_check

Expand All @@ -26,4 +26,4 @@ php_cs_fixer_check: php-cs-fixer.phar
./php-cs-fixer.phar fix --config .php_cs src tests --dry-run

php-cs-fixer.phar:
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.14.0/php-cs-fixer.phar && chmod 777 php-cs-fixer.phar
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.1/php-cs-fixer.phar && chmod 777 php-cs-fixer.phar

0 comments on commit dc4be5f

Please sign in to comment.