Skip to content

Commit 910f16f

Browse files
committed
Update README.md - drop the mention of PHP 7
1 parent 37f1637 commit 910f16f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,11 @@ section of composer.json:
112112

113113
### How do I specify a PHP version?
114114

115-
This project supports PHP 8.1 as minimum version, however it's possible that a `composer update` will upgrade some package that will then require PHP 7+ or 8+.
115+
This project supports PHP 8.1 as the minimum version (see [Mautic requirements](https://mautic.org/mautic-requirements/)). However, running a `composer update` may upgrade some packages that require a higher PHP version.
116116

117-
To prevent this you can add this code to specify the PHP version you want to use in the `config` section of `composer.json`:
117+
To prevent this, you can specify the PHP version in the `config` section of `composer.json` by adding the following code:
118118
```json
119119
"config": {
120-
"sort-packages": true,
121120
"platform": {
122121
"php": "8.1"
123122
}

0 commit comments

Comments
 (0)