Skip to content

Commit b81d6b8

Browse files
committed
PHPStan disabled on Symfony 4
1 parent 7f16495 commit b81d6b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ matrix:
1515
include:
1616
# Test the latest stable release
1717
- php: 7.2
18+
env: PHPSTAN=true
1819
- php: 7.3
1920
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
2021

@@ -51,7 +52,7 @@ script:
5152
# simple-phpunit is the PHPUnit wrapper provided by the PHPUnit Bridge component and
5253
# it helps with testing legacy code and deprecations (composer require symfony/phpunit-bridge)
5354
#- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
54-
- composer phpstan
55+
- if [[ $PHPSTAN == true ]]; then composer phpstan; fi
5556
- ./vendor/bin/phpunit
5657

5758
after_script:

0 commit comments

Comments
 (0)