diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index da2ce081..9ba8448c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -37,7 +37,7 @@ jobs: include: # Check lowest supported WP version, with the lowest supported PHP. - wordpress: '6.4' - php: '7.4' + php: '8.2' # Check latest WP with the latest PHP. - wordpress: 'master' php: 'latest' diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 455ddd55..0f374ada 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -35,10 +35,9 @@ jobs: fail-fast: false matrix: php: - - '7.4' - - '8.1' - '8.2' - '8.3' + - '8.4' steps: - name: Checkout code diff --git a/.wp-env.json b/.wp-env.json index 8e3e5455..b0bb18a9 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -5,7 +5,7 @@ "mappings": { "wp-content/mu-plugins": "./mu-plugins" }, - "phpVersion": "8.1", + "phpVersion": "8.2", "config": { "WP_DEBUG": true, "WP_DEBUG_LOG": true, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index edf55622..3fd334d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Thank you for your interest in contributing to MSM Sitemap! This document provid ## Requirements -* **Minimum Requirements:** WordPress 5.9+, PHP 7.4+ +* **Minimum Requirements:** WordPress 6.4+, PHP 8.2+ * **Coding Standards:** Follows [WordPress Coding Standards](https://github.com/WordPress/WordPress-Coding-Standards) and [PSR-12](https://www.php-fig.org/psr/psr-12/) ## Development Setup diff --git a/README.md b/README.md index e88213f4..57033eac 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Stable tag: 1.5.5 Requires at least: 6.4 Tested up to: 6.9 -Requires PHP: 7.4 +Requires PHP: 8.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: sitemap, xml, seo, performance, multisite diff --git a/composer.json b/composer.json index f73df286..088bcac3 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "source": "https://github.com/Automattic/msm-sitemap" }, "require": { - "php": ">=7.4", + "php": ">=8.2", "composer/installers": "^1.0 || ^2.0" }, "require-dev": { diff --git a/msm-sitemap.php b/msm-sitemap.php index 80d38c88..daacb569 100644 --- a/msm-sitemap.php +++ b/msm-sitemap.php @@ -13,7 +13,7 @@ * Description: Smart date-based sitemaps with automatic generation, detailed monitoring, and enterprise-ready architecture. * Version: 2.0.0-dev * Requires at least: 6.4 - * Requires PHP: 7.4 + * Requires PHP: 8.2 * Author: Metro.co.uk, MAKE, Alley Interactive, WordPress VIP. * Text Domain: msm-sitemap * License: GPL-2.0-or-later