From df7dcd87bd1ccb307f48cb6b210fbdf96c11ef43 Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 27 May 2026 06:32:17 -0500 Subject: [PATCH] Allow PHP 8.4 Raise the upper bound in the plugin manifest from <8.4 to <8.5 so that installations on PHP 8.4 are no longer blocked by the plugin manager. Matomo core supports PHP 8.4 as of late 2024 (matomo-org/matomo#22471), and nothing in this plugin's source relies on behaviour that changed in 8.4. Also extend the test matrix to include PHP 8.4 so regressions are caught. Fixes #7 Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/matomo-tests.yml | 4 ++-- plugin.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/matomo-tests.yml b/.github/workflows/matomo-tests.yml index 3cb2317..8755655 100644 --- a/.github/workflows/matomo-tests.yml +++ b/.github/workflows/matomo-tests.yml @@ -1,7 +1,7 @@ # Action for running tests # This file has been automatically created. # To recreate it you can run this command -# ./console generate:test-action --plugin="VipDetector" --php-versions="7.4,8.1,8.2,8.3" +# ./console generate:test-action --plugin="VipDetector" --php-versions="7.4,8.1,8.2,8.3,8.4" name: Plugin VipDetector Tests @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.1', '8.2', '8.3'] + php: ['7.4', '8.1', '8.2', '8.3', '8.4'] target: ['minimum_required_matomo', 'maximum_supported_matomo'] steps: - uses: actions/checkout@v3 diff --git a/plugin.json b/plugin.json index 5aff8a0..fbdb3fa 100755 --- a/plugin.json +++ b/plugin.json @@ -3,7 +3,7 @@ "description": "Detect visits from special predefined IP ranges and display the name", "version": "3.0.2", "require": { - "php": ">=7.4.33,<8.4", + "php": ">=7.4.33,<8.5", "matomo": ">=5.0.0,<6.0.0-b1" }, "authors": [