Skip to content

Commit c93010b

Browse files
committed
[TASK] Block installations on unsupported higher PHP versions
We want Composer to be able to figure out which versions of which libraries it can install on which version of PHP. To make this possible, we should only allow installations on PHP versions that we know to work. This is the v8.x backport of #691.
1 parent 2f3dbdb commit c93010b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111

1212
### Changed
1313

14+
- Block installations on unsupported higher PHP versions (#691)
15+
1416
### Deprecated
1517

1618
### Removed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"require": {
26-
"php": ">=5.6.20",
26+
"php": "^5.6.20 || ^7.0.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
2727
"ext-iconv": "*"
2828
},
2929
"require-dev": {

0 commit comments

Comments
 (0)