Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unneeded warning when decoding invalid data on PHP 7.4
- Loading branch information
1 parent
48aff2e
commit 0561623
Showing
3 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
language: php | ||
|
||
php: | ||
# - 5.3 # requires old distro, see below | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- hhvm # ignore errors, see below | ||
|
||
# lock distro so new future defaults will not break the build | ||
dist: trusty | ||
|
||
# also test lowest dependencies on PHP 7 | ||
matrix: | ||
include: | ||
- php: 5.3 | ||
dist: precise | ||
- php: 5.4 | ||
- php: 5.5 | ||
- php: 5.6 | ||
- php: 7.0 | ||
- php: 7.0 | ||
env: | ||
- DEPENDENCIES=lowest | ||
- php: 7.1 | ||
- php: 7.2 | ||
- php: 7.3 | ||
- php: 7.4 | ||
- php: hhvm-3.18 | ||
install: | ||
- composer require phpunit/phpunit:^5 --dev --no-interaction # requires legacy phpunit | ||
allow_failures: | ||
- php: hhvm | ||
|
||
sudo: false | ||
- php: hhvm-3.18 | ||
|
||
install: | ||
- composer install --no-interaction | ||
- if [ "$DEPENDENCIES" = "lowest" ]; then composer update --prefer-lowest -n; fi | ||
|
||
script: | ||
- ./vendor/bin/phpunit --coverage-text | ||
- if [ "$DEPENDENCIES" = "lowest" ]; then php -n tests/benchmark-middleware-runner.php; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters