Skip to content

Commit 635dd2e

Browse files
authored
🔧 Require PHP 8.1+ (roots#7)
1 parent 54bbbd6 commit 635dd2e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
php-version:
17-
- '8.0'
1817
- '8.1'
1918
- '8.2'
2019
- '8.3'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ To set up a custom WordPress build package to use this as a custom installer, ad
1919
```json
2020
"type": "wordpress-core",
2121
"require": {
22-
"roots/wordpress-core-installer": "^1.100"
22+
"roots/wordpress-core-installer": "^2.0"
2323
}
2424
```
2525

26-
If you need to maintain support for PHP versions lower than 5.6 (not recommended!), use `^1.0` as your version constraint in the above.
26+
If you need to maintain support for PHP versions lower than 8.1 (not recommended!), use `^1.0` as your version constraint in the above.
2727

2828
By default, this package will install a `wordpress-core` type package in the `wordpress` directory. To change this you can add the following to either your custom WordPress core type package or the root composer package:
2929

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"require": {
3535
"composer-plugin-api": "^1.0 || ^2.0",
36-
"php": ">=5.6.0"
36+
"php": ">=8.1"
3737
},
3838
"require-dev": {
3939
"composer/composer": "^1.0 || ^2.0",

0 commit comments

Comments
 (0)