Skip to content

Commit ca91ad9

Browse files
committed
Be explicit about the supported versions of PHP
The constraint used for the PHP version is far too permissive as we cannot predict if the library will be compatible with future versions of PHP without any change.
1 parent 80bc1c5 commit ca91ad9

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Prometheus instrumentation library",
44
"license": "Apache-2.0",
55
"require": {
6-
"php": ">=7.3",
6+
"php": "^7.3|^7.4|^8.0",
77
"ext-json": "*",
88
"psr/http-client": "^1.0",
99
"psr/http-factory": "^1.0",

composer.lock

Lines changed: 2 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)