Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Adds support for PHP >= 7.2 and switch to endclothing/prometheus_client_php #22

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "superbalist/laravel-prometheus-exporter",
"name": "futurematt/laravel-prometheus-exporter",
"description": "A prometheus exporter for Laravel",
"license": "MIT",
"authors": [
Expand All @@ -9,10 +9,10 @@
}
],
"require": {
"php": ">=5.6.0",
"illuminate/support": "^5.3 || ^6.0 || ^7.0",
"illuminate/routing": "^5.3 || ^6.0 || ^7.0",
"jimdo/prometheus_client_php": "^0.9.0"
"php": ">=7.2.0",
"illuminate/support": "^5.3 || ^6.0 || ^7.0 || ^8.0",
"illuminate/routing": "^5.3 || ^6.0 || ^7.0 || ^8.0",
"endclothing/prometheus_client_php": "^1.0"
},
"autoload": {
"psr-4": {
Expand All @@ -34,7 +34,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"mockery/mockery": "^0.9.5"
"phpunit/phpunit": "^8",
"mockery/mockery": "^1.3"
}
}
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true"
>
<testsuites>
Expand Down