diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54b613b..d82e74a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,7 +45,7 @@ jobs: coverage: none - name: PHPCS check - run: './vendor/bin/phpcs . -q --report=checkstyle --runtime-set testVersion 7.0- | cs2pr' + run: './vendor/bin/phpcs . -q --report=checkstyle --runtime-set testVersion 7.4- | cs2pr' - name: PHP Compatibility Check run: composer run check-php-compat \ No newline at end of file diff --git a/README.md b/README.md index 1448784..ea28280 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Requirements * [ElasticPress](https://wordpress.org/plugins/elasticpress/) 4.4.0+ -* PHP 7.0+ +* PHP 7.4+ * Optional: [Debug Bar](https://wordpress.org/plugins/debug-bar/) 1.0+ or [Query Monitor](https://wordpress.org/plugins/query-monitor/) ## Usage diff --git a/classes/QueryMonitorOutput.php b/classes/QueryMonitorOutput.php index e9691ce..b281f6c 100644 --- a/classes/QueryMonitorOutput.php +++ b/classes/QueryMonitorOutput.php @@ -61,7 +61,7 @@ public function output() { /** * Output Query Monitor styles so they apply correctly within the Shadow DOM panel. * - * @since 3.2.0 + * @since 4.0.0 * @return void */ protected function output_styles() { diff --git a/composer.json b/composer.json index 69ed798..1f2a09a 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": ">=7.0" + "php": ">=7.4" }, "license": ["GPL-2.0-only"], "require-dev": { @@ -24,7 +24,7 @@ "scripts": { "lint": "phpcs debug-bar-elasticpress.php classes", "lint-fix": "phpcbf debug-bar-elasticpress.php classes", - "check-php-compat": "phpcs debug-bar-elasticpress.php classes --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.0-" + "check-php-compat": "phpcs debug-bar-elasticpress.php classes --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index 1af5843..415aa7c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "76cd4a13f565d0bcb01942f664b9ddca", + "content-hash": "8b703da2f4e5a1716f478f5e64903412", "packages": [], "packages-dev": [ { @@ -760,8 +760,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.0" + "php": ">=7.4" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } diff --git a/debug-bar-elasticpress.php b/debug-bar-elasticpress.php index e51d1fc..fc48e43 100644 --- a/debug-bar-elasticpress.php +++ b/debug-bar-elasticpress.php @@ -5,7 +5,7 @@ * Description: Extends the Query Monitor and Debug Bar plugins for ElasticPress queries. * Version: 3.1.1 * Requires at least: 5.6 - * Requires PHP: 7.0 + * Requires PHP: 7.4 * Author: 10up * Author URI: https://10up.com * License: GPLv2 diff --git a/readme.txt b/readme.txt index ac1cb68..2379559 100755 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: tlovett1, 10up Tags: debug, debug bar, elasticpress, elasticsearch Requires at least: 4.6 Tested up to: 6.7 -Requires PHP: 7.0 +Requires PHP: 7.4 Stable tag: 3.1.1 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -20,7 +20,7 @@ Alternatively, go to ElasticPress > Query Log and set it to record ElasticPress * [ElasticPress 4.4.0+](https://wordpress.org/plugins/elasticpress) * [Debug Bar 1.0+](https://wordpress.org/plugins/debug-bar/) -* PHP 7.0+ +* PHP 7.4+ == Installation == 1. Install [ElasticPress](https://wordpress.org/plugins/elasticpress).