From 65427304b249cadabda585f7476ce9d9afce0bc2 Mon Sep 17 00:00:00 2001 From: mikkamp Date: Thu, 16 Jan 2025 09:14:48 +0000 Subject: [PATCH 1/2] Add required PHP header --- woocommerce-google-analytics-integration.php | 1 + 1 file changed, 1 insertion(+) diff --git a/woocommerce-google-analytics-integration.php b/woocommerce-google-analytics-integration.php index 9d73fbcf..bf0aabc5 100644 --- a/woocommerce-google-analytics-integration.php +++ b/woocommerce-google-analytics-integration.php @@ -11,6 +11,7 @@ * Requires at least: 6.2 * Requires Plugins: woocommerce * Tested up to: 6.7 + * Requires PHP: 7.4 * License: GPLv2 or later * Text Domain: woocommerce-google-analytics-integration * Domain Path: languages/ From dcda663e9d0d0a6340fdd8b16bbadd628656b142 Mon Sep 17 00:00:00 2001 From: mikkamp Date: Thu, 16 Jan 2025 09:15:16 +0000 Subject: [PATCH 2/2] Add PHP version in composer - only for dev packages --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index 51d6670a..cf8b9621 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,9 @@ "yoast/phpunit-polyfills": "^1.1.0" }, "config": { + "platform": { + "php": "7.4.33" + }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true }