From 68446ab0328c7dc9671639af15ccdef7e532ad51 Mon Sep 17 00:00:00 2001 From: Sean Fisher Date: Tue, 31 Dec 2024 10:56:44 -0500 Subject: [PATCH] Bump to PHP 8.2 --- .github/workflows/all-pr-tests.yml | 2 +- README.md | 2 +- configure.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/all-pr-tests.yml b/.github/workflows/all-pr-tests.yml index 6be3c0f5..aeb769b4 100644 --- a/.github/workflows/all-pr-tests.yml +++ b/.github/workflows/all-pr-tests.yml @@ -17,7 +17,7 @@ jobs: # Define a matrix of PHP/WordPress versions to test against strategy: matrix: - php: [8.1, 8.2, 8.3] + php: [8.2, 8.3] wordpress: ["latest"] runs-on: ubuntu-latest # Cancel any existing runs of this workflow diff --git a/README.md b/README.md index 7f223ea6..4a435e39 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Requires at least: 6.3 Tested up to: 6.7 -Requires PHP: 8.1 +Requires PHP: 8.2 License: GPL v2 or later diff --git a/configure.php b/configure.php index a0d3a337..e659618f 100644 --- a/configure.php +++ b/configure.php @@ -24,8 +24,8 @@ die( 'Not supported in Windows. 🪟' ); } -if ( version_compare( PHP_VERSION, '8.1.0', '<' ) ) { - die( 'PHP 8.1.0 or greater is required.' ); +if ( version_compare( PHP_VERSION, '8.2.0', '<' ) ) { + die( 'PHP 8.2.0 or greater is required.' ); } // Parse the command line arguments from $argv.