Skip to content

Commit

Permalink
Bump to PHP 8.2 (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher authored Dec 31, 2024
1 parent 9f18251 commit 1cfc67c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all-pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1cfc67c

Please sign in to comment.