Skip to content

Commit 22a3bc0

Browse files
committed
Fix build by installing vimeo/psalm only when used, instead of making it a development requirement.
1 parent 4f72534 commit 22a3bc0

3 files changed

Lines changed: 5 additions & 670 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ php:
1010
matrix:
1111
allow_failures:
1212
- php: hhvm
13-
before_script: composer update --dev
13+
before_script:
14+
- composer update --dev
15+
- if [[ "$TRAVIS_PHP_VERSION == "7.0" ]]; then composer require --dev vimeo/psalm; fi
1416
script:
1517
- bin/check-syntax.sh
1618
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit; else php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit --no-coverage; fi

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
"ext-pdo_sqlite": "*",
4848
"phpunit/phpunit": "~4.8",
4949
"satooshi/php-coveralls": "^1.0",
50-
"mikey179/vfsStream": "~1.6",
51-
"vimeo/psalm": "^0.3.54"
50+
"mikey179/vfsStream": "~1.6"
5251
},
5352
"suggests": {
5453
"predis/predis": "1.1.1"

0 commit comments

Comments
 (0)