From be16fedd5eb4398202837aa482c29f9aed3afad7 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 9 Dec 2024 11:38:13 -0300 Subject: [PATCH 1/2] chore: bump dependencies Signed-off-by: Vitor Mattos --- composer.lock | 55 +++--- tests/integration/composer.lock | 185 ++++++++++----------- vendor-bin/openapi-extractor/composer.lock | 15 +- vendor-bin/php-coveralls/composer.lock | 36 ++-- vendor-bin/phpunit/composer.lock | 58 +++---- vendor-bin/psalm/composer.lock | 80 +++++---- 6 files changed, 219 insertions(+), 210 deletions(-) diff --git a/composer.lock b/composer.lock index 6c1b72515a..d8493deb54 100644 --- a/composer.lock +++ b/composer.lock @@ -1103,16 +1103,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -1150,7 +1150,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.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -1166,7 +1166,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -1353,16 +1353,16 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "ae33db114380a6455a2c15b84694b6738555edb8" + "reference": "54e519f73544c0b41d85f0979089af91eae30aba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/ae33db114380a6455a2c15b84694b6738555edb8", - "reference": "ae33db114380a6455a2c15b84694b6738555edb8", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/54e519f73544c0b41d85f0979089af91eae30aba", + "reference": "54e519f73544c0b41d85f0979089af91eae30aba", "shasum": "" }, "require": { - "php": "~8.0 || ~8.1 || ~8.2 || ~8.3", + "php": "~8.1 || ~8.2 || ~8.3", "psr/clock": "^1.0", "psr/container": "^2.0.2", "psr/event-dispatcher": "^1.0", @@ -1383,14 +1383,18 @@ { "name": "Christoph Wurst", "email": "christoph@winzerhof-wurst.at" + }, + { + "name": "Joas Schilling", + "email": "coding@schilljs.com" } ], - "description": "Composer package containing Nextcloud's public API (classes, interfaces)", + "description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API", "support": { "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2024-11-19T00:45:35+00:00" + "time": "2024-12-07T00:47:06+00:00" }, { "name": "psr/clock", @@ -1549,12 +1553,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "b33a18b5d222c63472a4b41f6fa3e15e591c9595" + "reference": "dcb2bdb48e1d9b0b5b1c333b61f49772aee879ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/b33a18b5d222c63472a4b41f6fa3e15e591c9595", - "reference": "b33a18b5d222c63472a4b41f6fa3e15e591c9595", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/dcb2bdb48e1d9b0b5b1c333b61f49772aee879ff", + "reference": "dcb2bdb48e1d9b0b5b1c333b61f49772aee879ff", "shasum": "" }, "conflict": { @@ -1695,7 +1699,7 @@ "dolibarr/dolibarr": "<19.0.2", "dompdf/dompdf": "<2.0.4", "doublethreedigital/guest-entries": "<3.1.2", - "drupal/core": ">=6,<6.38|>=7,<7.96|>=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", + "drupal/core": ">=6,<6.38|>=7,<7.96|>=8,<10.2.10|>=10.3,<10.3.6|>=11,<11.0.5", "drupal/core-recommended": ">=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", "drupal/drupal": ">=5,<5.11|>=6,<6.38|>=7,<7.80|>=8,<10.2.9|>=10.3,<10.3.6|>=11,<11.0.5", "duncanmcclean/guest-entries": "<3.1.2", @@ -1724,6 +1728,7 @@ "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26|>=3.3,<3.3.39", "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", "ezsystems/ezplatform-graphql": ">=1.0.0.0-RC1-dev,<1.0.13|>=2.0.0.0-beta1,<2.3.12", + "ezsystems/ezplatform-http-cache": "<2.3.16", "ezsystems/ezplatform-kernel": "<1.2.5.1-dev|>=1.3,<1.3.35", "ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8", "ezsystems/ezplatform-richtext": ">=2.3,<2.3.7.1-dev|>=3.3,<3.3.40", @@ -1808,11 +1813,12 @@ "hov/jobfair": "<1.0.13|>=2,<2.0.2", "httpsoft/http-message": "<1.0.12", "hyn/multi-tenant": ">=5.6,<5.7.2", - "ibexa/admin-ui": ">=4.2,<4.2.3|>=4.6.0.0-beta1,<4.6.9", + "ibexa/admin-ui": ">=4.2,<4.2.3|>=4.6,<4.6.14", "ibexa/core": ">=4,<4.0.7|>=4.1,<4.1.4|>=4.2,<4.2.3|>=4.5,<4.5.6|>=4.6,<4.6.2", "ibexa/fieldtype-richtext": ">=4.6,<4.6.10", "ibexa/graphql": ">=2.5,<2.5.31|>=3.3,<3.3.28|>=4.2,<4.2.3", - "ibexa/post-install": "<=1.0.4", + "ibexa/http-cache": ">=4.6,<4.6.14", + "ibexa/post-install": "<1.0.16|>=4.6,<4.6.14", "ibexa/solr": ">=4.5,<4.5.4", "ibexa/user": ">=4,<4.4.3", "icecoder/icecoder": "<=8.1", @@ -1911,6 +1917,7 @@ "mautic/core-lib": ">=1.0.0.0-beta,<4.4.13|>=5.0.0.0-alpha,<5.1.1", "maximebf/debugbar": "<1.19", "mdanter/ecc": "<2", + "mediawiki/abuse-filter": "<1.39.9|>=1.40,<1.41.3|>=1.42,<1.42.2", "mediawiki/cargo": "<3.6.1", "mediawiki/core": "<1.39.5|==1.40", "mediawiki/matomo": "<2.4.3", @@ -2086,6 +2093,7 @@ "s-cart/s-cart": "<6.9", "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", "sabre/dav": ">=1.6,<1.7.11|>=1.8,<1.8.9", + "samwilson/unlinked-wikibase": "<1.39.6|>=1.40,<1.40.2|>=1.41,<1.41.1", "scheb/two-factor-bundle": "<3.26|>=4,<4.11", "sensiolabs/connect": "<4.2.3", "serluck/phpwhois": "<=4.2.6", @@ -2117,11 +2125,13 @@ "silverstripe/userforms": "<3|>=5,<5.4.2", "silverstripe/versioned-admin": ">=1,<1.11.1", "simple-updates/phpwhois": "<=1", - "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4|==5.0.0.0-alpha12", + "simplesamlphp/saml2": "<4.6.14|==5.0.0.0-alpha12", + "simplesamlphp/saml2-legacy": "<4.6.14", "simplesamlphp/simplesamlphp": "<1.18.6", "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", "simplesamlphp/simplesamlphp-module-openid": "<1", "simplesamlphp/simplesamlphp-module-openidprovider": "<0.9", + "simplesamlphp/xml-common": "<1.20", "simplesamlphp/xml-security": "==1.6.11", "simplito/elliptic-php": "<1.0.6", "sitegeist/fluid-components": "<3.5", @@ -2135,6 +2145,7 @@ "socialiteproviders/steam": "<1.1", "spatie/browsershot": "<3.57.4", "spatie/image-optimizer": "<1.7.3", + "spencer14420/sp-php-email-handler": "<1", "spipu/html2pdf": "<5.2.8", "spoon/library": "<1.4.1", "spoonity/tcpdf": "<6.2.22", @@ -2205,13 +2216,13 @@ "t3s/content-consent": "<1.0.3|>=2,<2.0.2", "tastyigniter/tastyigniter": "<3.3", "tcg/voyager": "<=1.4", - "tecnickcom/tcpdf": "<=6.7.4", + "tecnickcom/tcpdf": "<=6.7.5", "terminal42/contao-tablelookupwizard": "<3.3.5", "thelia/backoffice-default-template": ">=2.1,<2.1.2", "thelia/thelia": ">=2.1,<2.1.3", "theonedemon/phpwhois": "<=4.2.5", "thinkcmf/thinkcmf": "<6.0.8", - "thorsten/phpmyfaq": "<3.2.2", + "thorsten/phpmyfaq": "<4", "tikiwiki/tiki-manager": "<=17.1", "timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1", "tinymce/tinymce": "<7.2", @@ -2383,7 +2394,7 @@ "type": "tidelift" } ], - "time": "2024-11-19T21:04:39+00:00" + "time": "2024-12-06T23:05:03+00:00" } ], "aliases": [], diff --git a/tests/integration/composer.lock b/tests/integration/composer.lock index 54db4ce575..fe96af9004 100644 --- a/tests/integration/composer.lock +++ b/tests/integration/composer.lock @@ -96,25 +96,25 @@ }, { "name": "behat/gherkin", - "version": "v4.10.0", + "version": "v4.11.0", "source": { "type": "git", "url": "https://github.com/Behat/Gherkin.git", - "reference": "cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6" + "reference": "32821a17b12620951e755b5d49328a6421a5b5b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Gherkin/zipball/cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6", - "reference": "cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6", + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/32821a17b12620951e755b5d49328a6421a5b5b5", + "reference": "32821a17b12620951e755b5d49328a6421a5b5b5", "shasum": "" }, "require": { - "php": "~7.2|~8.0" + "php": "8.1.* || 8.2.* || 8.3.* || 8.4.*" }, "require-dev": { "cucumber/cucumber": "dev-gherkin-24.1.0", - "phpunit/phpunit": "~8|~9", - "symfony/yaml": "~3|~4|~5|~6|~7" + "phpunit/phpunit": "^9.6", + "symfony/yaml": "^5.4 || ^6.4 || ^7.0" }, "suggest": { "symfony/yaml": "If you want to parse features, represented in YAML files" @@ -153,9 +153,9 @@ ], "support": { "issues": "https://github.com/Behat/Gherkin/issues", - "source": "https://github.com/Behat/Gherkin/tree/v4.10.0" + "source": "https://github.com/Behat/Gherkin/tree/v4.11.0" }, - "time": "2024-10-19T14:46:06+00:00" + "time": "2024-12-06T10:07:25+00:00" }, { "name": "behat/transliterator", @@ -959,21 +959,21 @@ }, { "name": "php-http/guzzle7-adapter", - "version": "1.0.0", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-http/guzzle7-adapter.git", - "reference": "fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01" + "reference": "03a415fde709c2f25539790fecf4d9a31bc3d0eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/guzzle7-adapter/zipball/fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01", - "reference": "fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01", + "url": "https://api.github.com/repos/php-http/guzzle7-adapter/zipball/03a415fde709c2f25539790fecf4d9a31bc3d0eb", + "reference": "03a415fde709c2f25539790fecf4d9a31bc3d0eb", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.0", - "php": "^7.2 | ^8.0", + "php": "^7.3 | ^8.0", "php-http/httplug": "^2.0", "psr/http-client": "^1.0" }, @@ -984,14 +984,11 @@ }, "require-dev": { "php-http/client-integration-tests": "^3.0", + "php-http/message-factory": "^1.1", + "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^8.0|^9.3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.2.x-dev" - } - }, "autoload": { "psr-4": { "Http\\Adapter\\Guzzle7\\": "src/" @@ -1015,9 +1012,9 @@ ], "support": { "issues": "https://github.com/php-http/guzzle7-adapter/issues", - "source": "https://github.com/php-http/guzzle7-adapter/tree/1.0.0" + "source": "https://github.com/php-http/guzzle7-adapter/tree/1.1.0" }, - "time": "2021-03-09T07:35:15+00:00" + "time": "2024-11-26T11:14:36+00:00" }, { "name": "php-http/httplug", @@ -1650,16 +1647,16 @@ "type": "library", "extra": { "merge-plugin": { - "ignore-duplicates": false, "include": [ "composer.local.json" ], + "recurse": true, + "replace": true, "merge-dev": true, "merge-extra": false, - "merge-extra-deep": false, "merge-scripts": false, - "recurse": true, - "replace": true + "merge-extra-deep": false, + "ignore-duplicates": false } }, "autoload": { @@ -1698,16 +1695,16 @@ }, { "name": "psr-discovery/http-client-implementations", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/psr-discovery/http-client-implementations.git", - "reference": "a05c54087d13504d8e48c27395fbab638fb0a114" + "reference": "04ee90da2cff334448c996a1aef9209f69b7991f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psr-discovery/http-client-implementations/zipball/a05c54087d13504d8e48c27395fbab638fb0a114", - "reference": "a05c54087d13504d8e48c27395fbab638fb0a114", + "url": "https://api.github.com/repos/psr-discovery/http-client-implementations/zipball/04ee90da2cff334448c996a1aef9209f69b7991f", + "reference": "04ee90da2cff334448c996a1aef9209f69b7991f", "shasum": "" }, "require": { @@ -1728,16 +1725,16 @@ "type": "library", "extra": { "merge-plugin": { - "ignore-duplicates": false, "include": [ "composer.local.json" ], + "recurse": true, + "replace": true, "merge-dev": true, "merge-extra": false, - "merge-extra-deep": false, "merge-scripts": false, - "recurse": true, - "replace": true + "merge-extra-deep": false, + "ignore-duplicates": false } }, "autoload": { @@ -1765,9 +1762,9 @@ ], "support": { "issues": "https://github.com/psr-discovery/http-client-implementations/issues", - "source": "https://github.com/psr-discovery/http-client-implementations/tree/1.2.0" + "source": "https://github.com/psr-discovery/http-client-implementations/tree/1.3.0" }, - "time": "2024-03-16T05:29:47+00:00" + "time": "2024-12-04T20:58:13+00:00" }, { "name": "psr-discovery/http-factory-implementations", @@ -1801,16 +1798,16 @@ "type": "library", "extra": { "merge-plugin": { - "ignore-duplicates": false, "include": [ "composer.local.json" ], + "recurse": true, + "replace": true, "merge-dev": true, "merge-extra": false, - "merge-extra-deep": false, "merge-scripts": false, - "recurse": true, - "replace": true + "merge-extra-deep": false, + "ignore-duplicates": false } }, "autoload": { @@ -3403,16 +3400,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v6.4.15", + "version": "v6.4.16", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "70ab1f65a4516ef741e519ea938e6aa465e6aa36" + "reference": "7a379d8871f6a36f01559c14e11141cc02eb8dc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/70ab1f65a4516ef741e519ea938e6aa465e6aa36", - "reference": "70ab1f65a4516ef741e519ea938e6aa465e6aa36", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/7a379d8871f6a36f01559c14e11141cc02eb8dc8", + "reference": "7a379d8871f6a36f01559c14e11141cc02eb8dc8", "shasum": "" }, "require": { @@ -3464,7 +3461,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.4.15" + "source": "https://github.com/symfony/dependency-injection/tree/v6.4.16" }, "funding": [ { @@ -3480,20 +3477,20 @@ "type": "tidelift" } ], - "time": "2024-11-09T06:56:25+00:00" + "time": "2024-11-25T14:52:46+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -3531,7 +3528,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.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -3547,7 +3544,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/event-dispatcher", @@ -3631,16 +3628,16 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", "shasum": "" }, "require": { @@ -3687,7 +3684,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" }, "funding": [ { @@ -3703,7 +3700,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", @@ -3773,23 +3770,23 @@ }, { "name": "symfony/http-client", - "version": "v6.4.15", + "version": "v6.4.16", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "cb4073c905cd12b8496d24ac428a9228c1750670" + "reference": "60a113666fa67e598abace38e5f46a0954d8833d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/cb4073c905cd12b8496d24ac428a9228c1750670", - "reference": "cb4073c905cd12b8496d24ac428a9228c1750670", + "url": "https://api.github.com/repos/symfony/http-client/zipball/60a113666fa67e598abace38e5f46a0954d8833d", + "reference": "60a113666fa67e598abace38e5f46a0954d8833d", "shasum": "" }, "require": { "php": ">=8.1", "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-client-contracts": "^3.4.1", + "symfony/http-client-contracts": "~3.4.3|^3.5.1", "symfony/service-contracts": "^2.5|^3" }, "conflict": { @@ -3846,7 +3843,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.4.15" + "source": "https://github.com/symfony/http-client/tree/v6.4.16" }, "funding": [ { @@ -3862,20 +3859,20 @@ "type": "tidelift" } ], - "time": "2024-11-13T13:40:18+00:00" + "time": "2024-11-27T11:52:33+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "20414d96f391677bf80078aa55baece78b82647d" + "reference": "c2f3ad828596624ca39ea40f83617ef51ca8bbf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/20414d96f391677bf80078aa55baece78b82647d", - "reference": "20414d96f391677bf80078aa55baece78b82647d", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/c2f3ad828596624ca39ea40f83617ef51ca8bbf9", + "reference": "c2f3ad828596624ca39ea40f83617ef51ca8bbf9", "shasum": "" }, "require": { @@ -3883,12 +3880,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -3924,7 +3921,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.1" }, "funding": [ { @@ -3940,7 +3937,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-11-25T12:02:18+00:00" }, { "name": "symfony/polyfill-ctype", @@ -3968,8 +3965,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4044,8 +4041,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4122,8 +4119,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4262,16 +4259,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -4325,7 +4322,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -4341,7 +4338,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/string", @@ -4526,16 +4523,16 @@ }, { "name": "symfony/translation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" + "reference": "4667ff3bd513750603a09c8dedbea942487fb07c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/4667ff3bd513750603a09c8dedbea942487fb07c", + "reference": "4667ff3bd513750603a09c8dedbea942487fb07c", "shasum": "" }, "require": { @@ -4584,7 +4581,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.1" }, "funding": [ { @@ -4600,7 +4597,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/var-exporter", @@ -4980,8 +4977,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { diff --git a/vendor-bin/openapi-extractor/composer.lock b/vendor-bin/openapi-extractor/composer.lock index 50ab251e43..c98d2fb295 100644 --- a/vendor-bin/openapi-extractor/composer.lock +++ b/vendor-bin/openapi-extractor/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "adhocore/cli", - "version": "v1.8.1", + "version": "v1.9.3", "source": { "type": "git", "url": "https://github.com/adhocore/php-cli.git", - "reference": "0945f82f564fb8296a358bec6f922c2dc473906c" + "reference": "86be16e3c3b42d76fcdb32529bcded0fedb925d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/adhocore/php-cli/zipball/0945f82f564fb8296a358bec6f922c2dc473906c", - "reference": "0945f82f564fb8296a358bec6f922c2dc473906c", + "url": "https://api.github.com/repos/adhocore/php-cli/zipball/86be16e3c3b42d76fcdb32529bcded0fedb925d3", + "reference": "86be16e3c3b42d76fcdb32529bcded0fedb925d3", "shasum": "" }, "require": { @@ -29,6 +29,9 @@ }, "type": "library", "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { "Ahc\\Cli\\": "src/" } @@ -63,7 +66,7 @@ ], "support": { "issues": "https://github.com/adhocore/php-cli/issues", - "source": "https://github.com/adhocore/php-cli/tree/v1.8.1" + "source": "https://github.com/adhocore/php-cli/tree/v1.9.3" }, "funding": [ { @@ -75,7 +78,7 @@ "type": "github" } ], - "time": "2024-11-20T07:38:11+00:00" + "time": "2024-12-04T03:40:29+00:00" }, { "name": "nextcloud/openapi-extractor", diff --git a/vendor-bin/php-coveralls/composer.lock b/vendor-bin/php-coveralls/composer.lock index a1bc8bdb02..f5f619956f 100644 --- a/vendor-bin/php-coveralls/composer.lock +++ b/vendor-bin/php-coveralls/composer.lock @@ -893,16 +893,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -940,7 +940,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.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -956,7 +956,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", @@ -1050,8 +1050,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1126,8 +1126,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1204,8 +1204,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1344,16 +1344,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -1407,7 +1407,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -1423,7 +1423,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/stopwatch", diff --git a/vendor-bin/phpunit/composer.lock b/vendor-bin/phpunit/composer.lock index 9732fc06e2..4abfd6172a 100644 --- a/vendor-bin/phpunit/composer.lock +++ b/vendor-bin/phpunit/composer.lock @@ -13,12 +13,12 @@ "source": { "type": "git", "url": "https://github.com/byjg/php-swagger-test.git", - "reference": "862b47a15dd2a892bae4e7c73e75642780da5790" + "reference": "a21e9a084f093138eb82f84cc292121d2c1e93ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/byjg/php-swagger-test/zipball/862b47a15dd2a892bae4e7c73e75642780da5790", - "reference": "862b47a15dd2a892bae4e7c73e75642780da5790", + "url": "https://api.github.com/repos/byjg/php-swagger-test/zipball/a21e9a084f093138eb82f84cc292121d2c1e93ee", + "reference": "a21e9a084f093138eb82f84cc292121d2c1e93ee", "shasum": "" }, "require": { @@ -52,7 +52,7 @@ "type": "github" } ], - "time": "2024-11-23T03:00:00+00:00" + "time": "2024-11-30T21:41:19+00:00" }, { "name": "byjg/uri", @@ -60,16 +60,16 @@ "source": { "type": "git", "url": "https://github.com/byjg/php-uri.git", - "reference": "75a5d090a12e1e274acfed44109cdebe9d5b66d7" + "reference": "fc3e8d3b50159fdc0abd4896ac8e8f68fa01732f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/byjg/php-uri/zipball/75a5d090a12e1e274acfed44109cdebe9d5b66d7", - "reference": "75a5d090a12e1e274acfed44109cdebe9d5b66d7", + "url": "https://api.github.com/repos/byjg/php-uri/zipball/fc3e8d3b50159fdc0abd4896ac8e8f68fa01732f", + "reference": "fc3e8d3b50159fdc0abd4896ac8e8f68fa01732f", "shasum": "" }, "require": { - "php": ">=8.1 <8.4", + "php": ">=8.1 <8.5", "psr/http-message": "^1.0|^1.1|^2.0" }, "provide": { @@ -77,7 +77,7 @@ }, "require-dev": { "phpunit/phpunit": "^9.6", - "vimeo/psalm": "^5.0" + "vimeo/psalm": "^6.0" }, "type": "project", "autoload": { @@ -100,7 +100,7 @@ "type": "github" } ], - "time": "2024-10-27T15:10:57+00:00" + "time": "2024-11-30T15:33:08+00:00" }, { "name": "byjg/webrequest", @@ -407,12 +407,12 @@ "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/4764e040f8743e92b86c36f488f32d0265dd1dae", + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae", "shasum": "" }, "require": { @@ -452,7 +452,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.x" }, "funding": [ { @@ -460,7 +460,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T17:47:46+00:00" + "time": "2024-11-26T13:04:49+00:00" }, { "name": "nikic/php-parser", @@ -645,12 +645,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "5a5c19843209812d6c8cb91d30478dfce3d8bdad" + "reference": "e656040b5bdab9d6ca046287327bbb47c62be886" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5a5c19843209812d6c8cb91d30478dfce3d8bdad", - "reference": "5a5c19843209812d6c8cb91d30478dfce3d8bdad", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e656040b5bdab9d6ca046287327bbb47c62be886", + "reference": "e656040b5bdab9d6ca046287327bbb47c62be886", "shasum": "" }, "require": { @@ -715,7 +715,7 @@ "type": "github" } ], - "time": "2024-10-31T05:58:31+00:00" + "time": "2024-12-07T06:07:48+00:00" }, { "name": "phpunit/php-file-iterator", @@ -968,12 +968,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c5c350263fd23819f0f27ff41570c4fa191b60d1" + "reference": "a770e0df716b20e92580f0f5ca9d4f7c948106fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c5c350263fd23819f0f27ff41570c4fa191b60d1", - "reference": "c5c350263fd23819f0f27ff41570c4fa191b60d1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a770e0df716b20e92580f0f5ca9d4f7c948106fd", + "reference": "a770e0df716b20e92580f0f5ca9d4f7c948106fd", "shasum": "" }, "require": { @@ -1061,7 +1061,7 @@ "type": "tidelift" } ], - "time": "2024-11-25T11:48:48+00:00" + "time": "2024-12-07T13:58:59+00:00" }, { "name": "psr/http-client", @@ -2198,12 +2198,12 @@ "source": { "type": "git", "url": "https://github.com/smalot/pdfparser.git", - "reference": "1e38ca9a3110829291da2f874ee08ad568029a5a" + "reference": "f44ada017eac4f607ffeb1caca96a2347d48f38f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/smalot/pdfparser/zipball/1e38ca9a3110829291da2f874ee08ad568029a5a", - "reference": "1e38ca9a3110829291da2f874ee08ad568029a5a", + "url": "https://api.github.com/repos/smalot/pdfparser/zipball/f44ada017eac4f607ffeb1caca96a2347d48f38f", + "reference": "f44ada017eac4f607ffeb1caca96a2347d48f38f", "shasum": "" }, "require": { @@ -2242,7 +2242,7 @@ "issues": "https://github.com/smalot/pdfparser/issues", "source": "https://github.com/smalot/pdfparser/tree/master" }, - "time": "2024-11-05T08:03:53+00:00" + "time": "2024-12-03T12:01:10+00:00" }, { "name": "symfony/deprecation-contracts", @@ -2339,8 +2339,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index 8c771fcdc9..6a77b69db9 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -432,29 +432,27 @@ }, { "name": "doctrine/deprecations", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "1.4.10 || 1.10.15", - "phpstan/phpstan-phpunit": "^1.0", + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "1.4.10 || 2.0.3", + "phpstan/phpstan-phpunit": "^1.0 || ^2", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "0.18.4", - "psr/log": "^1 || ^2 || ^3", - "vimeo/psalm": "4.30.0 || 5.12.0" + "psr/log": "^1 || ^2 || ^3" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -462,7 +460,7 @@ "type": "library", "autoload": { "psr-4": { - "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + "Doctrine\\Deprecations\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -473,9 +471,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.3" + "source": "https://github.com/doctrine/deprecations/tree/1.1.4" }, - "time": "2024-01-30T19:34:25+00:00" + "time": "2024-12-07T21:18:45+00:00" }, { "name": "felixfbecker/advanced-json-rpc", @@ -801,16 +799,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.6.0", + "version": "5.6.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c" + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/f3558a4c23426d12bffeaab463f8a8d8b681193c", - "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", "shasum": "" }, "require": { @@ -859,9 +857,9 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.0" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.1" }, - "time": "2024-11-12T11:25:25+00:00" + "time": "2024-12-07T09:39:29+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -1302,16 +1300,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -1349,7 +1347,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.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -1365,7 +1363,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", @@ -1459,8 +1457,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1535,8 +1533,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1613,8 +1611,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -1753,16 +1751,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -1816,7 +1814,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -1832,7 +1830,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/string", @@ -1995,11 +1993,11 @@ "type": "project", "extra": { "branch-alias": { - "dev-master": "5.x-dev", - "dev-4.x": "4.x-dev", - "dev-3.x": "3.x-dev", + "dev-1.x": "1.x-dev", "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" + "dev-3.x": "3.x-dev", + "dev-4.x": "4.x-dev", + "dev-master": "5.x-dev" } }, "autoload": { From cb5c04dcb12a5d01de4c8e673520aff09833bf03 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 9 Dec 2024 12:25:06 -0300 Subject: [PATCH 2/2] fix: integration and unit tests Signed-off-by: Vitor Mattos --- tests/Api/ApiTestCase.php | 4 +-- .../Api/Controller/AccountControllerTest.php | 14 +++++----- tests/Api/Controller/AdminControllerTest.php | 6 ++--- tests/Api/Controller/FileControllerTest.php | 12 ++++----- .../Controller/FileElementControllerTest.php | 6 ++--- tests/Api/Controller/NotifyControllerTest.php | 4 +-- .../RequestSignatureControllerTest.php | 8 +++--- .../Api/Controller/SettingControllerTest.php | 2 +- .../Api/Controller/SignFileControllerTest.php | 26 +++++++++---------- 9 files changed, 41 insertions(+), 41 deletions(-) diff --git a/tests/Api/ApiTestCase.php b/tests/Api/ApiTestCase.php index 9727e49db8..345ef92c61 100644 --- a/tests/Api/ApiTestCase.php +++ b/tests/Api/ApiTestCase.php @@ -40,7 +40,7 @@ class ApiTestCase extends TestCase { public function setUp(): void { parent::setUp(); $data = json_decode(file_get_contents('openapi-full.json'), true); - $data['servers'][] = ['url' => '/ocs/v2.php/ocsapp/apps/libresign/api/v1']; + $data['servers'][] = ['url' => '/ocs/v2.php/ocsapp/apps/libresign']; $data = $this->removeBasePath($data); /** @var OpenApiSchema */ $schema = \ByJG\ApiTools\Base\Schema::getInstance($data); @@ -61,7 +61,7 @@ public function setUp(): void { private function removeBasePath(array $data): array { $cleaned = []; foreach ($data['paths'] as $key => $value) { - $key = preg_replace('~^' . '/ocs/v2.php/apps/libresign/api/{apiVersion}' . '~', '', $key); + $key = preg_replace('~^/ocs/v2.php/apps/libresign~', '', $key); $cleaned[$key] = $value; } $data['paths'] = $cleaned; diff --git a/tests/Api/Controller/AccountControllerTest.php b/tests/Api/Controller/AccountControllerTest.php index 6e2accd89c..e4d0593988 100644 --- a/tests/Api/Controller/AccountControllerTest.php +++ b/tests/Api/Controller/AccountControllerTest.php @@ -31,7 +31,7 @@ public function testAccountCreateWithInvalidUuid():void { 'password' => 'secret', 'signPassword' => 'secretToSign' ]) - ->withPath('/account/create/1234564789') + ->withPath('/api/v1/account/create/1234564789') ->assertResponseCode(422); $response = $this->assertRequest(); @@ -84,7 +84,7 @@ public function testAccountCreateWithSuccess():void { 'password' => 'secret', 'signPassword' => 'secretToSign' ]) - ->withPath('/account/create/' . $signers[0]->getUuid()); + ->withPath('/api/v1/account/create/' . $signers[0]->getUuid()); $this->markUserExists('guest-user@test.coop'); $this->assertRequest(); @@ -112,7 +112,7 @@ public function testPostProfileFilesWithInvalidData():void { ] ] ]) - ->withPath('/account/files') + ->withPath('/api/v1/account/files') ->assertResponseCode(401); $this->assertRequest(); @@ -140,7 +140,7 @@ public function testPostAccountAddFilesWithSuccess():void { ] ] ]) - ->withPath('/account/files'); + ->withPath('/api/v1/account/files'); $this->assertRequest(); } @@ -150,7 +150,7 @@ public function testPostAccountAddFilesWithSuccess():void { */ public function testMeWithoutAuthenticatedUser():void { $this->request - ->withPath('/account/me') + ->withPath('/api/v1/account/me') ->assertResponseCode(404); $this->assertRequest(); @@ -162,7 +162,7 @@ public function testMeWithoutAuthenticatedUser():void { public function testMeWithAuthenticatedUser():void { $this->createAccount('username', 'password'); $this->request - ->withPath('/account/me') + ->withPath('/api/v1/account/me') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]); @@ -181,7 +181,7 @@ public function testApprovalListWithSuccess():void { ]); $this->request - ->withPath('/account/files/approval/list') + ->withPath('/api/v1/account/files/approval/list') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('allowapprove:password') ]); diff --git a/tests/Api/Controller/AdminControllerTest.php b/tests/Api/Controller/AdminControllerTest.php index 441d8a06e0..201683b523 100644 --- a/tests/Api/Controller/AdminControllerTest.php +++ b/tests/Api/Controller/AdminControllerTest.php @@ -25,7 +25,7 @@ public function testLoadCertificate():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('admintest:password') ]) - ->withPath('/admin/certificate'); + ->withPath('/api/v1/admin/certificate'); $this->assertRequest(); } @@ -65,7 +65,7 @@ public function testGenerateCertificateWithSuccess():void { 'Authorization' => 'Basic ' . base64_encode('admintest:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/admin/certificate/cfssl') + ->withPath('/api/v1/admin/certificate/cfssl') ->withRequestBody($cfsslConfig); // Make and test request mach with schema @@ -103,7 +103,7 @@ public function testGenerateCertificateWithFailure():void { 'Authorization' => 'Basic ' . base64_encode('admintest:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/admin/certificate/openssl') + ->withPath('/api/v1/admin/certificate/openssl') ->withRequestBody([ 'rootCert' => [ 'commonName' => 'CommonName', diff --git a/tests/Api/Controller/FileControllerTest.php b/tests/Api/Controller/FileControllerTest.php index 8a54b82682..7c371f1283 100644 --- a/tests/Api/Controller/FileControllerTest.php +++ b/tests/Api/Controller/FileControllerTest.php @@ -22,7 +22,7 @@ public function testValidateUsignUuidWithInvalidData():void { $this->mockAppConfig([]); $this->request - ->withPath('/file/validate/uuid/invalid') + ->withPath('/api/v1/file/validate/uuid/invalid') ->assertResponseCode(404); $response = $this->assertRequest(); @@ -35,7 +35,7 @@ public function testValidateUsignUuidWithInvalidData():void { */ public function testValidateUsignFileIdWithInvalidData():void { $this->request - ->withPath('/file/validate/file_id/171') + ->withPath('/api/v1/file/validate/file_id/171') ->assertResponseCode(404); $response = $this->assertRequest(); @@ -64,7 +64,7 @@ public function testValidateWithSuccessUsingUnloggedUser():void { ]); $this->request - ->withPath('/file/validate/uuid/' . $file->getUuid()); + ->withPath('/api/v1/file/validate/uuid/' . $file->getUuid()); $response = $this->assertRequest(); $body = json_decode($response->getBody()->getContents(), true); @@ -106,7 +106,7 @@ public function testValidateWithSuccessUsingSigner():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]) - ->withPath('/file/validate/uuid/' . $file->getUuid()); + ->withPath('/api/v1/file/validate/uuid/' . $file->getUuid()); $response = $this->assertRequest(); $body = json_decode($response->getBody()->getContents(), true); @@ -124,7 +124,7 @@ public function testControllerListWithEmptyData():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]) - ->withPath('/file/list'); + ->withPath('/api/v1/file/list'); $response = $this->assertRequest(); $body = json_decode($response->getBody()->getContents(), true); @@ -144,7 +144,7 @@ public function testSendNewFile():void { 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password'), 'Content-Type' => 'application/json', ]) - ->withPath('/file') + ->withPath('/api/v1/file') ->withMethod('POST') ->withRequestBody([ 'name' => 'test', diff --git a/tests/Api/Controller/FileElementControllerTest.php b/tests/Api/Controller/FileElementControllerTest.php index d899e51c1f..3436bbbf68 100644 --- a/tests/Api/Controller/FileElementControllerTest.php +++ b/tests/Api/Controller/FileElementControllerTest.php @@ -38,7 +38,7 @@ public function testPostSuccess():array { $this->mockAppConfig([]); $this->request - ->withPath('/file-element/' . $file->getUuid()) + ->withPath('/api/v1/file-element/' . $file->getUuid()) ->withMethod('POST') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password'), @@ -72,7 +72,7 @@ public function testPatchSuccess($params):array { extract($params); $signers = $this->getSignersFromFileId($file->getId()); $this->request - ->withPath('/file-element/' . $file->getUuid() . '/' . $fileElementId) + ->withPath('/api/v1/file-element/' . $file->getUuid() . '/' . $fileElementId) ->withMethod('PATCH') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password'), @@ -106,7 +106,7 @@ public function testDeleteSuccess($params):void { $this->createAccount('username', 'password'); extract($params); $this->request - ->withPath('/file-element/' . $file->getUuid() . '/' . $fileElementId) + ->withPath('/api/v1/file-element/' . $file->getUuid() . '/' . $fileElementId) ->withMethod('DELETE') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password'), diff --git a/tests/Api/Controller/NotifyControllerTest.php b/tests/Api/Controller/NotifyControllerTest.php index e80a6d87cf..f1627a5126 100644 --- a/tests/Api/Controller/NotifyControllerTest.php +++ b/tests/Api/Controller/NotifyControllerTest.php @@ -33,7 +33,7 @@ public function testNotifySignersWithError():void { ] ] ]) - ->withPath('/notify/signers') + ->withPath('/api/v1/notify/signers') ->assertResponseCode(401); $this->assertRequest(); @@ -74,7 +74,7 @@ public function testNotifySignersWithSuccess():void { ] ] ]) - ->withPath('/notify/signers'); + ->withPath('/api/v1/notify/signers'); $this->assertRequest(); } diff --git a/tests/Api/Controller/RequestSignatureControllerTest.php b/tests/Api/Controller/RequestSignatureControllerTest.php index 0fd4b9de87..45766ee368 100644 --- a/tests/Api/Controller/RequestSignatureControllerTest.php +++ b/tests/Api/Controller/RequestSignatureControllerTest.php @@ -21,7 +21,7 @@ public function testPostRegisterWithValidationFailure():void { $this->createAccount('username', 'password'); $this->request ->withMethod('POST') - ->withPath('/request-signature') + ->withPath('/api/v1/request-signature') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' @@ -51,7 +51,7 @@ public function testPostRegisterWithSuccess():void { $this->request ->withMethod('POST') - ->withPath('/request-signature') + ->withPath('/api/v1/request-signature') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password'), 'Content-Type' => 'application/json' @@ -82,7 +82,7 @@ public function testPatchRegisterWithValidationFailure():void { $this->createAccount('username', 'password'); $this->request ->withMethod('PATCH') - ->withPath('/request-signature') + ->withPath('/api/v1/request-signature') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' @@ -125,7 +125,7 @@ public function testPatchRegisterWithSuccess():void { $this->request ->withMethod('PATCH') - ->withPath('/request-signature') + ->withPath('/api/v1/request-signature') ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password'), 'Content-Type' => 'application/json' diff --git a/tests/Api/Controller/SettingControllerTest.php b/tests/Api/Controller/SettingControllerTest.php index 41a5e21ba0..4c26fdaed4 100644 --- a/tests/Api/Controller/SettingControllerTest.php +++ b/tests/Api/Controller/SettingControllerTest.php @@ -23,7 +23,7 @@ public function testHasRootCertReturnSuccess():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]) - ->withPath('/setting/has-root-cert'); + ->withPath('/api/v1/setting/has-root-cert'); $this->assertRequest(); } diff --git a/tests/Api/Controller/SignFileControllerTest.php b/tests/Api/Controller/SignFileControllerTest.php index 260679143b..873e1532fe 100644 --- a/tests/Api/Controller/SignFileControllerTest.php +++ b/tests/Api/Controller/SignFileControllerTest.php @@ -31,7 +31,7 @@ public function testSignUsingFileIdWithInvalidFileToSign():void { 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/file_id/171') + ->withPath('/api/v1/sign/file_id/171') ->withRequestBody([ 'identifyValue' => 'secretPassword', 'method' => 'password', @@ -54,7 +54,7 @@ public function testSignUsingFileIdWithInvalidUuidToSign():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/invalid') + ->withPath('/api/v1/sign/uuid/invalid') ->withRequestBody([ 'identifyValue' => 'secretPassword', 'method' => 'password', @@ -96,7 +96,7 @@ public function testSignUsingFileIdWithAlreadySignedFile():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/' . $signers[0]->getUuid()) + ->withPath('/api/v1/sign/uuid/' . $signers[0]->getUuid()) ->withRequestBody([ 'identifyValue' => 'secretPassword', 'method' => 'password', @@ -139,7 +139,7 @@ public function testSignUsingFileIdWithNotFoundFile():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/' . $signers[0]->getUuid()) + ->withPath('/api/v1/sign/uuid/' . $signers[0]->getUuid()) ->withRequestBody([ 'identifyValue' => 'secretPassword', 'method' => 'password', @@ -179,7 +179,7 @@ public function testSignUsingFileIdWithoutPfx():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/' . $signers[0]->getUuid()) + ->withPath('/api/v1/sign/uuid/' . $signers[0]->getUuid()) ->withRequestBody([ 'password' => '' ]) @@ -240,7 +240,7 @@ public function testSignUsingFileIdWithEmptyCertificatePassword():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/' . $signers[0]->getUuid()) + ->withPath('/api/v1/sign/uuid/' . $signers[0]->getUuid()) ->withRequestBody([ 'password' => '' ]) @@ -308,7 +308,7 @@ public function testSignUsingFileIdWithSuccess():void { 'Authorization' => 'Basic ' . base64_encode('username:password'), 'Content-Type' => 'application/json' ]) - ->withPath('/sign/uuid/' . $signers[0]->getUuid()) + ->withPath('/api/v1/sign/uuid/' . $signers[0]->getUuid()) ->withRequestBody([ 'identifyValue' => 'secretPassword', 'method' => 'password', @@ -354,7 +354,7 @@ public function testAccountSignatureEndpointWithSuccess():void { ->withRequestBody([ 'signPassword' => 'password' ]) - ->withPath('/account/signature'); + ->withPath('/api/v1/account/signature'); $home = $user->getHome(); $this->assertFileDoesNotExist($home . '/files/LibreSign/signature.pfx'); @@ -377,7 +377,7 @@ public function testAccountSignatureEndpointWithFailure():void { ->withRequestBody([ 'signPassword' => '' ]) - ->withPath('/account/signature') + ->withPath('/api/v1/account/signature') ->assertResponseCode(401); $this->assertRequest(); @@ -411,7 +411,7 @@ public function testDeleteSignFileIdSignRequestIdWithSuccess():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password') ]) - ->withPath('/sign/file_id/' . $file->getNodeId() . '/' . $signers[0]->getId()); + ->withPath('/api/v1/sign/file_id/' . $file->getNodeId() . '/' . $signers[0]->getId()); $this->assertRequest(); } @@ -427,7 +427,7 @@ public function testDeleteSignFileIdSignRequestIdWithError():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]) - ->withPath('/sign/file_id/171/171') + ->withPath('/api/v1/sign/file_id/171/171') ->assertResponseCode(422); $this->assertRequest(); @@ -460,7 +460,7 @@ public function testDeleteUsingSignFileIdWithSuccess():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('allowrequestsign:password') ]) - ->withPath('/sign/file_id/' . $file->getNodeId()); + ->withPath('/api/v1/sign/file_id/' . $file->getNodeId()); $this->assertRequest(); } @@ -476,7 +476,7 @@ public function testDeleteUsingSignFileIdWithError():void { ->withRequestHeader([ 'Authorization' => 'Basic ' . base64_encode('username:password') ]) - ->withPath('/sign/file_id/171') + ->withPath('/api/v1/sign/file_id/171') ->assertResponseCode(422); $this->assertRequest();