PHP 7.2+ Support
* Updated the composer.json to require PHP 7.2, removed Travis CI tests for all PHP versions prior to 7.2 and replace jimdo/prometheus_client_php with endclothing/prometheus_client_php to support PHP 7.2. * Updated PHPUnit to v8 and Mockery to v1.4 in order to support PHP 7.4. * Downgraded Mockery from 1.4 to 1.3 in order to support PHP versions < 7.3.
This commit is contained in:
parent
6e874128e8
commit
4e1e6e0940
3 changed files with 5 additions and 8 deletions
|
@ -1,11 +1,9 @@
|
|||
language: php
|
||||
|
||||
php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- 7.4
|
||||
|
||||
before_install:
|
||||
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.6.0",
|
||||
"php": ">=7.2.0",
|
||||
"illuminate/support": "^5.3 || ^6.0 || ^7.0",
|
||||
"illuminate/routing": "^5.3 || ^6.0 || ^7.0",
|
||||
"jimdo/prometheus_client_php": "^0.9.0"
|
||||
"endclothing/prometheus_client_php": "^1.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -34,7 +34,7 @@
|
|||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.5",
|
||||
"mockery/mockery": "^0.9.5"
|
||||
"phpunit/phpunit": "^8",
|
||||
"mockery/mockery": "^1.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
syntaxCheck="true"
|
||||
verbose="true"
|
||||
>
|
||||
<testsuites>
|
||||
|
|
Loading…
Add table
Reference in a new issue