From 53afff5de9ebf7c16aad5f1f74905edd8f1b1168 Mon Sep 17 00:00:00 2001 From: Chris <173256169+ChrisSudwestFryslan@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:03:19 +0100 Subject: [PATCH] Updated PHP and WP requirements --- .github/workflows/release.yml | 2 +- composer.json | 4 ++-- composer.lock | 4 ++-- open-government-publications.php | 4 ++-- package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a922834..24052fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: php-actions/composer@v6 with: - php_version: "7.4" + php_version: "8.1" - uses: actions/setup-node@v3 with: node-version: 16 diff --git a/composer.json b/composer.json index 1c3847a..f795500 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "owc" ], "homepage": "https://sudewestfryslan.nl", - "license": "proprietary", + "license": "EUPL-1.2", "authors": [ { "name": "Chris Jorritsma", @@ -29,7 +29,7 @@ } ], "require": { - "php": "^7.4|^8.0", + "php": "^8.1", "yahnis-elsts/plugin-update-checker": "^4.13" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 644e634..adb6836 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": "a238a96b40bb2f49af39b7cbfe747a50", + "content-hash": "d26d3039ef4f6a12c34a295a93bbbf9c", "packages": [ { "name": "yahnis-elsts/plugin-update-checker", @@ -4927,7 +4927,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4|^8.0" + "php": "^8.1" }, "platform-dev": {}, "plugin-api-version": "2.6.0" diff --git a/open-government-publications.php b/open-government-publications.php index 2d3e5e5..ba70504 100644 --- a/open-government-publications.php +++ b/open-government-publications.php @@ -8,8 +8,8 @@ * Author: Súdwest-Fryslân * Author URI: https://sudwestfryslan.nl/ * Requires at least: 5.1 - * Tested up to: 6.4 - * Requires PHP: 7.4 + * Tested up to: 6.7 + * Requires PHP: 8.1 */ if (! defined('ABSPATH')) { diff --git a/package.json b/package.json index 2f37db8..0c9d067 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "private": true, "author": "", "wordpress": { - "tested": "6.4", + "tested": "6.7", "required": "5.1" }, "devDependencies": {