Skip to content

Commit

Permalink
🔧 Require PHP 8.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Dec 14, 2024
1 parent 54bbbd6 commit c65f0e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ To set up a custom WordPress build package to use this as a custom installer, ad
```json
"type": "wordpress-core",
"require": {
"roots/wordpress-core-installer": "^1.100"
"roots/wordpress-core-installer": "^2.0"
}
```

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.
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.

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:

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"require": {
"composer-plugin-api": "^1.0 || ^2.0",
"php": ">=5.6.0"
"php": ">=8.1"
},
"require-dev": {
"composer/composer": "^1.0 || ^2.0",
Expand Down

0 comments on commit c65f0e4

Please sign in to comment.