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.

This commit is contained in:
Matt Rink 2020-08-17 10:15:07 +01:00
parent 6e874128e8
commit 0969a17dfd
No known key found for this signature in database
GPG key ID: 4351B94F9E2850DF
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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": {