From c65f0e4648fc2df710a9ef717cd7b2b43607fba0 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Thu, 12 Dec 2024 20:29:59 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Require=20PHP=208.1+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 1 - README.md | 4 ++-- composer.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f9c94af..17176ef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: php-version: - - '8.0' - '8.1' - '8.2' - '8.3' diff --git a/README.md b/README.md index 4fb5f86..c7b8211 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/composer.json b/composer.json index 78dc20b..b41fe5a 100644 --- a/composer.json +++ b/composer.json @@ -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",