Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update phpstan, cs-fixer + run build with symfony 4.3 #85

Merged
merged 1 commit into from Jun 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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