From 6f190de5ee6ec1ecdb3021c9559176600e9d8b9e Mon Sep 17 00:00:00 2001 From: "rfar@duosecurity.com" Date: Wed, 14 May 2025 14:44:48 -0500 Subject: [PATCH 1/3] Upgrade to require duo_universal_php 1.1.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5114bc5..31c4849 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { "composer/installers": "~1.0", - "duosecurity/duo_universal_php": ">=1.0.1" + "duosecurity/duo_universal_php": ">=1.1.0" }, "require-dev": { "phpunit/phpunit": "^9.0", From 76e631dc58cc0ffac1271aea26523cf57fe87b8f Mon Sep 17 00:00:00 2001 From: "rfar@duosecurity.com" Date: Wed, 14 May 2025 14:50:59 -0500 Subject: [PATCH 2/3] Update artifact actions to v4 --- .github/workflows/wp_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wp_ci.yml b/.github/workflows/wp_ci.yml index aa179f4..dec6fbc 100644 --- a/.github/workflows/wp_ci.yml +++ b/.github/workflows/wp_ci.yml @@ -40,7 +40,7 @@ jobs: run: ./vendor/bin/phpunit --process-isolation tests - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: duo-universal path: ./duo-universal.zip From 9a0be5f5f1ffb116c1395bce8ec88dcec453668a Mon Sep 17 00:00:00 2001 From: "rfar@duosecurity.com" Date: Wed, 14 May 2025 15:07:34 -0500 Subject: [PATCH 3/3] Adding correct lockfile --- composer.lock | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/composer.lock b/composer.lock index 92c8918..baf9c77 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": "991a25ed1815de443edb0e8637c74468", + "content-hash": "afd3b1b2ba55a2436c4eb78e8fc3681c", "packages": [ { "name": "composer/installers", @@ -159,25 +159,26 @@ }, { "name": "duosecurity/duo_universal_php", - "version": "1.0.1", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/duosecurity/duo_universal_php.git", - "reference": "d7d9bd3bf996d16ff7f4af57b45ed5ca3144cd16" + "reference": "a2852c46949a2de9ca6da908e4353a81c61b43a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/duosecurity/duo_universal_php/zipball/d7d9bd3bf996d16ff7f4af57b45ed5ca3144cd16", - "reference": "d7d9bd3bf996d16ff7f4af57b45ed5ca3144cd16", + "url": "https://api.github.com/repos/duosecurity/duo_universal_php/zipball/a2852c46949a2de9ca6da908e4353a81c61b43a3", + "reference": "a2852c46949a2de9ca6da908e4353a81c61b43a3", "shasum": "" }, "require": { "ext-curl": "*", + "ext-json": "*", "firebase/php-jwt": "^6.0", - "php": ">=7.3" + "php": ">=7.4" }, "require-dev": { - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "3.*" }, "type": "library", @@ -187,14 +188,17 @@ } }, "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], "description": "A PHP implementation of the Duo Universal SDK.", "homepage": "https://duo.com/", "support": { "email": "support@duosecurity.com", "issues": "https://github.com/duosecurity/duo_universal_php/issues", - "source": "https://github.com/duosecurity/duo_universal_php/tree/1.0.1" + "source": "https://github.com/duosecurity/duo_universal_php/tree/1.1.0" }, - "time": "2022-07-06T13:56:13+00:00" + "time": "2025-03-05T18:33:28+00:00" }, { "name": "firebase/php-jwt", @@ -2570,10 +2574,10 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.2.0" + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.6.0" }