From f2d4e13c51ce4d4c626875bba432897be8be7c04 Mon Sep 17 00:00:00 2001 From: Sean Fisher Date: Thu, 30 Nov 2023 15:34:08 -0500 Subject: [PATCH] Bump more places to PHP 8.1 --- .github/workflows/unit-test.yml | 2 +- buddy.yml | 2 +- configure.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 213fbb43..12b7eb1d 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -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: diff --git a/buddy.yml b/buddy.yml index ee5a0e06..fb2c8ff3 100644 --- a/buddy.yml +++ b/buddy.yml @@ -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 diff --git a/configure.php b/configure.php index 04b35f85..8674a54b 100644 --- a/configure.php +++ b/configure.php @@ -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.