Skip to content

Commit

Permalink
Bump more places to PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Nov 30, 2023
1 parent ce99fd6 commit f2d4e13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
php-tests:
strategy:
matrix:
php: [8.0, 8.1, 8.2]
php: [8.1, 8.2]
wordpress: ["latest"]
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
with:
Expand Down
2 changes: 1 addition & 1 deletion buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
- "echo \"extension=memcache.so\" >> /usr/local/etc/php/conf.d/buddy.ini"
services:
- type: "MYSQL"
version: "8.0"
version: "1"
connection:
host: "mysql"
port: 3306
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.0.0', '<' ) ) {
die( 'PHP 8.0.0 or greater is required.' );
if ( version_compare( PHP_VERSION, '8.1.0', '<' ) ) {
die( 'PHP 8.1.0 or greater is required.' );
}

// Parse the command line arguments from $argv.
Expand Down

0 comments on commit f2d4e13

Please sign in to comment.