From 8004c7625c473a401290998cd9d7ef4ac4045d8e Mon Sep 17 00:00:00 2001 From: Namith Jawahar Date: Fri, 15 May 2026 22:52:39 +0530 Subject: [PATCH 1/2] PHP Min Tests 1) PHP Min Tests 2) Update DID Manager Wordpress to version 0.0.5 or above Signed-off-by: Namith Jawahar --- composer.json | 3 +- composer.lock | 146 ++++++++++++++++++++++++++------------------------ 2 files changed, 79 insertions(+), 70 deletions(-) diff --git a/composer.json b/composer.json index 5d98c051..d0577f98 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { "php": ">=8.0", - "fairpm/did-manager-wordpress": "0.0.4-a" + "fairpm/did-manager-wordpress": ">=0.0.5" }, "require-dev": { "yoast/phpunit-polyfills": "*", @@ -38,6 +38,7 @@ "@format:phpcs", "@format:phpstan" ], + "detect-min-php": "sh -c 'for v in 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4; do echo Testing PHP $v...; if docker run --rm -v \"$PWD:/app\" -w /app php:${v}-cli sh -c \"find . -type f -name \\\"*.php\\\" -not -path \\\"*/vendor/*\\\" -print0 | xargs -0 -n1 php -l\" >/dev/null 2>&1; then echo Minimum supported PHP version: $v; exit 0; fi; done; echo No supported PHP version detected; exit 1'", "phpstan-baseline": "phpstan analyse --generate-baseline=tests/phpstan-baseline.neon --memory-limit=2G", "test": [ "Composer\\Config::disableProcessTimeout", diff --git a/composer.lock b/composer.lock index 53d6eb9a..627e1128 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": "b2d9bb03b2d90fcb6fe7a5842ae3c5a0", + "content-hash": "ac280b5ae7e512f35705bd61bf49ca65", "packages": [ { "name": "afragen/wordpress-plugin-readme-parser", @@ -54,16 +54,16 @@ }, { "name": "brick/math", - "version": "0.17.0", + "version": "0.17.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "a62af7ab2e3cee9f9bf4cf77a5d1e6ba408a44ee" + "reference": "6aef71a9fbbd1ee7be0e313cd627f8e6f7125a5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/a62af7ab2e3cee9f9bf4cf77a5d1e6ba408a44ee", - "reference": "a62af7ab2e3cee9f9bf4cf77a5d1e6ba408a44ee", + "url": "https://api.github.com/repos/brick/math/zipball/6aef71a9fbbd1ee7be0e313cd627f8e6f7125a5b", + "reference": "6aef71a9fbbd1ee7be0e313cd627f8e6f7125a5b", "shasum": "" }, "require": { @@ -101,7 +101,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.17.0" + "source": "https://github.com/brick/math/tree/0.17.1" }, "funding": [ { @@ -109,7 +109,7 @@ "type": "github" } ], - "time": "2026-03-17T12:54:54+00:00" + "time": "2026-04-19T20:55:20+00:00" }, { "name": "erusev/parsedown", @@ -169,16 +169,16 @@ }, { "name": "fairpm/did-manager", - "version": "0.0.4", + "version": "0.0.5", "source": { "type": "git", "url": "https://github.com/fairpm/did-manager.git", - "reference": "2aaea668dc045e9ce0a57a3375597b2e233d4695" + "reference": "52004bb6ae365b7e66ed9adf78cff7f6e16f60f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fairpm/did-manager/zipball/2aaea668dc045e9ce0a57a3375597b2e233d4695", - "reference": "2aaea668dc045e9ce0a57a3375597b2e233d4695", + "url": "https://api.github.com/repos/fairpm/did-manager/zipball/52004bb6ae365b7e66ed9adf78cff7f6e16f60f2", + "reference": "52004bb6ae365b7e66ed9adf78cff7f6e16f60f2", "shasum": "" }, "require": { @@ -191,8 +191,11 @@ }, "require-dev": { "carthage-software/mago": "^1.0.0-rc.12", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "phpcompatibility/php-compatibility": "^9.3", "phpunit/phpunit": "^10.0", - "roave/security-advisories": "dev-latest" + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.7" }, "type": "library", "autoload": { @@ -213,35 +216,38 @@ "description": "Core PHP library for DID management, key handling, and PLC operations", "support": { "issues": "https://github.com/fairpm/did-manager/issues", - "source": "https://github.com/fairpm/did-manager/tree/0.0.4" + "source": "https://github.com/fairpm/did-manager/tree/0.0.5" }, - "time": "2026-03-28T15:20:21+00:00" + "time": "2026-05-15T16:57:27+00:00" }, { "name": "fairpm/did-manager-wordpress", - "version": "0.0.4-a", + "version": "0.0.5", "source": { "type": "git", "url": "https://github.com/fairpm/did-manager-wordpress.git", - "reference": "ec9d707414bad62c8fbfdb00e86a79e752a077ac" + "reference": "4f69c46bf40cc14c031ce3ea5e5e2c7a80ca29b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fairpm/did-manager-wordpress/zipball/ec9d707414bad62c8fbfdb00e86a79e752a077ac", - "reference": "ec9d707414bad62c8fbfdb00e86a79e752a077ac", + "url": "https://api.github.com/repos/fairpm/did-manager-wordpress/zipball/4f69c46bf40cc14c031ce3ea5e5e2c7a80ca29b5", + "reference": "4f69c46bf40cc14c031ce3ea5e5e2c7a80ca29b5", "shasum": "" }, "require": { "afragen/wordpress-plugin-readme-parser": "^1.2025.12", "erusev/parsedown": "^1.7", "ext-json": "*", - "fairpm/did-manager": "^0.0.4", + "fairpm/did-manager": ">=0.0.5", "php": ">=8.0" }, "require-dev": { "carthage-software/mago": "^1.0.0-rc.12", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "phpcompatibility/php-compatibility": "^9.3", "phpunit/phpunit": "^10.0", - "roave/security-advisories": "dev-latest" + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.7" }, "type": "library", "autoload": { @@ -262,9 +268,9 @@ "description": "WordPress integration layer for FAIR DID management and metadata generation", "support": { "issues": "https://github.com/fairpm/did-manager-wordpress/issues", - "source": "https://github.com/fairpm/did-manager-wordpress/tree/0.0.4-a" + "source": "https://github.com/fairpm/did-manager-wordpress/tree/0.0.5" }, - "time": "2026-04-13T17:38:55+00:00" + "time": "2026-05-15T17:08:39+00:00" }, { "name": "simplito/bigint-wrapper-php", @@ -1392,11 +1398,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.47", + "version": "2.1.54", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/79015445d8bd79e62b29140f12e5bfced1dcca65", - "reference": "79015445d8bd79e62b29140f12e5bfced1dcca65", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8be50c3992107dc837b17da4d140fbbdf9a5c5bd", + "reference": "8be50c3992107dc837b17da4d140fbbdf9a5c5bd", "shasum": "" }, "require": { @@ -1441,7 +1447,7 @@ "type": "github" } ], - "time": "2026-04-13T15:49:08+00:00" + "time": "2026-04-29T13:31:09+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3018,16 +3024,16 @@ }, { "name": "symfony/console", - "version": "v7.4.8", + "version": "v7.4.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "1e92e39c51f95b88e3d66fa2d9f06d1fb45dd707" + "reference": "ed0107e43ab452aa77ae99e005b95e56b556e075" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/1e92e39c51f95b88e3d66fa2d9f06d1fb45dd707", - "reference": "1e92e39c51f95b88e3d66fa2d9f06d1fb45dd707", + "url": "https://api.github.com/repos/symfony/console/zipball/ed0107e43ab452aa77ae99e005b95e56b556e075", + "reference": "ed0107e43ab452aa77ae99e005b95e56b556e075", "shasum": "" }, "require": { @@ -3092,7 +3098,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.4.8" + "source": "https://github.com/symfony/console/tree/v7.4.11" }, "funding": [ { @@ -3112,20 +3118,20 @@ "type": "tidelift" } ], - "time": "2026-03-30T13:54:39+00:00" + "time": "2026-05-13T12:04:42+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.6.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" + "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", - "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/50f59d1f3ca46d41ac911f97a78626b6756af35b", + "reference": "50f59d1f3ca46d41ac911f97a78626b6756af35b", "shasum": "" }, "require": { @@ -3138,7 +3144,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -3163,7 +3169,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.0" }, "funding": [ { @@ -3174,12 +3180,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2026-04-13T15:52:40+00:00" }, { "name": "symfony/finder", @@ -3251,7 +3261,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.34.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -3310,7 +3320,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.34.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -3334,16 +3344,16 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.34.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "ad1b7b9092976d6c948b8a187cec9faaea9ec1df" + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/ad1b7b9092976d6c948b8a187cec9faaea9ec1df", - "reference": "ad1b7b9092976d6c948b8a187cec9faaea9ec1df", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e", + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e", "shasum": "" }, "require": { @@ -3392,7 +3402,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.34.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0" }, "funding": [ { @@ -3412,11 +3422,11 @@ "type": "tidelift" } ], - "time": "2026-04-10T16:19:22+00:00" + "time": "2026-04-26T13:13:48+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.34.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -3477,7 +3487,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.34.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0" }, "funding": [ { @@ -3501,7 +3511,7 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.34.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", @@ -3562,7 +3572,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.34.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.37.0" }, "funding": [ { @@ -3586,16 +3596,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.6.1", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" + "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", - "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d25d82433a80eba6aa0e6c24b61d7370d99e444a", + "reference": "d25d82433a80eba6aa0e6c24b61d7370d99e444a", "shasum": "" }, "require": { @@ -3613,7 +3623,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.6-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -3649,7 +3659,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.6.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.0" }, "funding": [ { @@ -3669,20 +3679,20 @@ "type": "tidelift" } ], - "time": "2025-07-15T11:30:57+00:00" + "time": "2026-03-28T09:44:51+00:00" }, { "name": "symfony/string", - "version": "v7.4.8", + "version": "v7.4.11", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "114ac57257d75df748eda23dd003878080b8e688" + "reference": "965f7306a43383d02c6aca1e3f3bd2f0ea5dee15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/114ac57257d75df748eda23dd003878080b8e688", - "reference": "114ac57257d75df748eda23dd003878080b8e688", + "url": "https://api.github.com/repos/symfony/string/zipball/965f7306a43383d02c6aca1e3f3bd2f0ea5dee15", + "reference": "965f7306a43383d02c6aca1e3f3bd2f0ea5dee15", "shasum": "" }, "require": { @@ -3740,7 +3750,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.4.8" + "source": "https://github.com/symfony/string/tree/v7.4.11" }, "funding": [ { @@ -3760,7 +3770,7 @@ "type": "tidelift" } ], - "time": "2026-03-24T13:12:05+00:00" + "time": "2026-05-13T12:04:42+00:00" }, { "name": "szepeviktor/phpstan-wordpress", @@ -3992,14 +4002,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "fairpm/did-manager-wordpress": 15 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=8.0" }, - "platform-dev": {}, - "plugin-api-version": "2.9.0" + "platform-dev": [], + "plugin-api-version": "2.6.0" } From 020591aa5a265222d6ac66aa2c84a49f6ddd768f Mon Sep 17 00:00:00 2001 From: Namith Jawahar <48271037+namithj@users.noreply.github.com> Date: Fri, 22 May 2026 19:09:39 +0530 Subject: [PATCH 2/2] Update fairpm/did-manager-wordpress version to ^0.0.7 Update fairpm/did-manager-wordpress version to ^0.0.7 Signed-off-by: Namith Jawahar <48271037+namithj@users.noreply.github.com> --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d0577f98..11825efb 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { "php": ">=8.0", - "fairpm/did-manager-wordpress": ">=0.0.5" + "fairpm/did-manager-wordpress": "^0.0.7" }, "require-dev": { "yoast/phpunit-polyfills": "*",