Skip to content

Commit

Permalink
Fix for 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 22, 2018
1 parent 3524b55 commit c40d898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
env: PREFER_LOWEST=1

- php: 7.2
env: PHPCS=1 DEFAULT=0
env: CHECKS=1 DEFAULT=0

before_script:
- if [[ $PREFER_LOWEST != 1 ]]; then composer install --prefer-source --no-interaction ; fi
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"jbroadway/urlify": "^1.0.0"
},
"require-dev":{
"fig-r/psr2r-sniffer": "dev-master",
"phpstan/phpstan-shim": "^0.10.5"
"fig-r/psr2r-sniffer": "dev-master"
},
"autoload": {
"psr-4": {
Expand All @@ -33,6 +32,7 @@
"test-coverage": "php phpunit.phar --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"test-setup": "[ ! -f phpunit.phar ] && wget https://phar.phpunit.de/phpunit.phar || true",
"phpstan": "phpstan analyse -c tests/phpstan.neon -l 5 src/",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:\"^0.10\" && mv composer.backup composer.json",
"cs-check": "phpcs -v -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=tests/test_files/ src/ tests/",
"cs-fix": "phpcbf -v --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=tests/test_files/ src/ tests/"
}
Expand Down

0 comments on commit c40d898

Please sign in to comment.