From f7798d8922de9364d12077cee8e719ca75d9d629 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 20 Feb 2023 14:39:57 +0100 Subject: [PATCH 1/5] Update dependencies --- composer.json | 9 +- composer.lock | 618 ++++++++++++++++++++------------------------------ 2 files changed, 249 insertions(+), 378 deletions(-) diff --git a/composer.json b/composer.json index c0b4be7b..e4e27b54 100644 --- a/composer.json +++ b/composer.json @@ -25,16 +25,15 @@ "lcobucci/clock": "^3.0.0" }, "require-dev": { - "infection/infection": "^0.26.18", + "infection/infection": "^0.26.19", "lcobucci/coding-standard": "^9.0", "phpbench/phpbench": "^1.2.8", "phpstan/extension-installer": "^1.2", - "phpstan/phpstan": "^1.9.14", + "phpstan/phpstan": "^1.9.18", "phpstan/phpstan-deprecation-rules": "^1.1.1", - "phpstan/phpstan-phpunit": "^1.3.3", + "phpstan/phpstan-phpunit": "^1.3.4", "phpstan/phpstan-strict-rules": "^1.4.5", - "phpunit/php-code-coverage": "9.2.24", - "phpunit/phpunit": "^9.5.28" + "phpunit/phpunit": "^10.0.10" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index bba6906b..a77f81f6 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": "5a020b01e850fa16e86cda176427c8bc", + "content-hash": "9827bd922bead9119e3efb543dfc013d", "packages": [ { "name": "lcobucci/clock", @@ -554,76 +554,6 @@ }, "time": "2022-08-26T10:53:05+00:00" }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, { "name": "doctrine/lexer", "version": "3.0.0", @@ -941,16 +871,16 @@ }, { "name": "infection/infection", - "version": "0.26.18", + "version": "0.26.19", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "ec533cd367eef0e52ee7b3435feabf9b61eeb7d5" + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/ec533cd367eef0e52ee7b3435feabf9b61eeb7d5", - "reference": "ec533cd367eef0e52ee7b3435feabf9b61eeb7d5", + "url": "https://api.github.com/repos/infection/infection/zipball/bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", + "reference": "bd7351c88f3a797ea8977e68fe6a3f4d4c5f457f", "shasum": "" }, "require": { @@ -971,7 +901,7 @@ "php": "^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", - "sebastian/diff": "^3.0.2 || ^4.0", + "sebastian/diff": "^3.0.2 || ^4.0 || ^5.0", "symfony/console": "^5.4 || ^6.0", "symfony/filesystem": "^5.4 || ^6.0", "symfony/finder": "^5.4 || ^6.0", @@ -1053,7 +983,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.26.18" + "source": "https://github.com/infection/infection/tree/0.26.19" }, "funding": [ { @@ -1065,7 +995,7 @@ "type": "open_collective" } ], - "time": "2023-01-20T23:10:11+00:00" + "time": "2023-02-05T21:47:26+00:00" }, { "name": "justinrainbow/json-schema", @@ -1773,16 +1703,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.14", + "version": "1.9.18", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e5fcc96289cf737304286a9b505fbed091f02e58" + "reference": "f2d5cf71be91172a57c649770b73c20ebcffb0bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5fcc96289cf737304286a9b505fbed091f02e58", - "reference": "e5fcc96289cf737304286a9b505fbed091f02e58", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f2d5cf71be91172a57c649770b73c20ebcffb0bf", + "reference": "f2d5cf71be91172a57c649770b73c20ebcffb0bf", "shasum": "" }, "require": { @@ -1812,7 +1742,7 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.14" + "source": "https://github.com/phpstan/phpstan/tree/1.9.18" }, "funding": [ { @@ -1828,7 +1758,7 @@ "type": "tidelift" } ], - "time": "2023-01-19T10:47:09+00:00" + "time": "2023-02-17T15:01:27+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -1880,16 +1810,16 @@ }, { "name": "phpstan/phpstan-phpunit", - "version": "1.3.3", + "version": "1.3.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "54a24bd23e9e80ee918cdc24f909d376c2e273f7" + "reference": "d77af96c1aaec28f7c0293677132eaaad079e01b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/54a24bd23e9e80ee918cdc24f909d376c2e273f7", - "reference": "54a24bd23e9e80ee918cdc24f909d376c2e273f7", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d77af96c1aaec28f7c0293677132eaaad079e01b", + "reference": "d77af96c1aaec28f7c0293677132eaaad079e01b", "shasum": "" }, "require": { @@ -1926,9 +1856,9 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.3" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.4" }, - "time": "2022-12-21T15:25:00+00:00" + "time": "2023-02-09T08:05:29+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -1980,16 +1910,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.24", + "version": "10.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2cf940ebc6355a9d430462811b5aaa308b174bed" + "reference": "bf4fbc9c13af7da12b3ea807574fb460f255daba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2cf940ebc6355a9d430462811b5aaa308b174bed", - "reference": "2cf940ebc6355a9d430462811b5aaa308b174bed", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bf4fbc9c13af7da12b3ea807574fb460f255daba", + "reference": "bf4fbc9c13af7da12b3ea807574fb460f255daba", "shasum": "" }, "require": { @@ -1997,18 +1927,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.14", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcov": "*", @@ -2017,7 +1947,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.0-dev" } }, "autoload": { @@ -2045,7 +1975,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.24" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.0" }, "funding": [ { @@ -2053,32 +1983,32 @@ "type": "github" } ], - "time": "2023-01-26T08:26:55+00:00" + "time": "2023-02-03T07:14:34+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd", + "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -2105,7 +2035,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1" }, "funding": [ { @@ -2113,28 +2043,28 @@ "type": "github" } ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2023-02-10T16:53:14+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -2142,7 +2072,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -2168,7 +2098,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -2176,32 +2106,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d", + "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2227,7 +2157,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" }, "funding": [ { @@ -2235,32 +2165,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-02-03T06:56:46+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -2286,7 +2216,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -2294,24 +2224,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.5.28", + "version": "10.0.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "954ca3113a03bf780d22f07bf055d883ee04b65e" + "reference": "fdfb75f4e7985d3db6c874f206b3281c1eb5e3eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/954ca3113a03bf780d22f07bf055d883ee04b65e", - "reference": "954ca3113a03bf780d22f07bf055d883ee04b65e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fdfb75f4e7985d3db6c874f206b3281c1eb5e3eb", + "reference": "fdfb75f4e7985d3db6c874f206b3281c1eb5e3eb", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -2321,27 +2250,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.0", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.0", + "sebastian/global-state": "^6.0", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "*" }, "bin": [ "phpunit" @@ -2349,7 +2277,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-main": "10.0-dev" } }, "autoload": { @@ -2380,7 +2308,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.28" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.10" }, "funding": [ { @@ -2396,7 +2324,7 @@ "type": "tidelift" } ], - "time": "2023-01-14T12:32:24+00:00" + "time": "2023-02-20T11:50:41+00:00" }, { "name": "psr/cache", @@ -2675,28 +2603,28 @@ }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2719,7 +2647,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" }, "funding": [ { @@ -2727,32 +2655,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2023-02-03T06:58:15+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2775,7 +2703,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -2783,32 +2711,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2830,7 +2758,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -2838,34 +2766,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.8", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c", + "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2904,7 +2834,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" }, "funding": [ { @@ -2912,33 +2842,33 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2023-02-03T07:07:16+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6", + "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2961,7 +2891,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0" }, "funding": [ { @@ -2969,33 +2899,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-02-03T06:59:47+00:00" }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f", + "reference": "70dd1b20bc198da394ad542e988381b44e64e39f", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^10.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -3027,7 +2957,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" }, "funding": [ { @@ -3035,27 +2965,27 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-02-03T07:00:31+00:00" }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc", + "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -3063,7 +2993,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -3082,7 +3012,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -3090,7 +3020,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0" }, "funding": [ { @@ -3098,34 +3028,34 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T07:03:04+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", + "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -3167,7 +3097,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" }, "funding": [ { @@ -3175,38 +3105,35 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2023-02-03T07:06:49+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "aab257c712de87b90194febd52e4d184551c2d44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44", + "reference": "aab257c712de87b90194febd52e4d184551c2d44", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -3231,7 +3158,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" }, "funding": [ { @@ -3239,33 +3166,33 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2023-02-03T07:07:38+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130", + "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -3288,7 +3215,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0" }, "funding": [ { @@ -3296,34 +3223,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-02-03T07:08:02+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -3345,7 +3272,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -3353,32 +3280,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -3400,7 +3327,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -3408,32 +3335,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -3460,10 +3387,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -3471,87 +3398,32 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { "name": "sebastian/type", - "version": "3.2.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -3574,7 +3446,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -3582,29 +3454,29 @@ "type": "github" } ], - "time": "2022-09-12T14:47:03+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -3627,7 +3499,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -3635,7 +3507,7 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "seld/jsonlint", From d60671fb7fff25276cfd319d0f0f1996c4e5ed69 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 20 Feb 2023 14:40:13 +0100 Subject: [PATCH 2/5] Migrate phpunit.xml.dist --- phpunit.xml.dist | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 524e751b..2a28b61a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,16 +1,21 @@ @@ -18,7 +23,7 @@ - + src From 948cb03e10ad6644e0e90a4c1f5e496f7439261c Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 20 Feb 2023 14:40:46 +0100 Subject: [PATCH 3/5] Upgrade removed withConsecutive+willReturnOnConsecutiveCalls API with willReturnMap --- tests/Token/ParserTest.php | 182 ++++++++++++++++++++----------------- 1 file changed, 101 insertions(+), 81 deletions(-) diff --git a/tests/Token/ParserTest.php b/tests/Token/ParserTest.php index 93ea0376..043cda22 100644 --- a/tests/Token/ParserTest.php +++ b/tests/Token/ParserTest.php @@ -178,17 +178,19 @@ public function parseMustRaiseExceptionWhenDealingWithClaimsThatHaveEmptyStringK public function parseMustReturnAnUnsecuredTokenWhenSignatureIsNotInformed(): void { $this->decoder->expects(self::exactly(3)) - ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->method('base64UrlDecode') + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) - ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'none'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->method('jsonDecode') + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'none']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -209,16 +211,18 @@ public function parseMustConfigureTypeToJWTWhenItIsMissing(): void { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) - ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['alg' => 'none'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->method('jsonDecode') + ->willReturnMap([ + ['a_dec', ['alg' => 'none']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -239,16 +243,18 @@ public function parseMustNotChangeTypeWhenItIsConfigured(): void { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) - ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWS', 'alg' => 'none'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->method('jsonDecode') + ->willReturnMap([ + ['a_dec', ['typ' => 'JWS', 'alg' => 'none']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -269,16 +275,18 @@ public function parseShouldReplicateClaimValueOnHeaderWhenNeeded(): void { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'none', RegisteredClaims::AUDIENCE => 'test'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'none', RegisteredClaims::AUDIENCE => 'test']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -299,16 +307,18 @@ public function parseMustReturnANonSignedTokenWhenSignatureAlgorithmIsMissing(): { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -329,16 +339,18 @@ public function parseMustReturnANonSignedTokenWhenSignatureAlgorithmIsNone(): vo { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'none'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'none']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -359,16 +371,18 @@ public function parseMustReturnASignedTokenWhenSignatureIsInformed(): void { $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'HS256'], - [RegisteredClaims::AUDIENCE => 'test'], - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'HS256']], + ['b_dec', [RegisteredClaims::AUDIENCE => 'test']], + ]); $parser = $this->createParser(); $token = $parser->parse('a.b.c'); @@ -394,16 +408,18 @@ public function parseMustConvertDateClaimsToObjects(): void $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'HS256'], - $data, - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'HS256']], + ['b_dec', $data], + ]); $token = $this->createParser()->parse('a.b.c'); self::assertInstanceOf(Plain::class, $token); @@ -428,16 +444,18 @@ public function parseMustConvertStringDates(): void $this->decoder->expects(self::exactly(3)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b'], ['c']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec', 'c_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ['c', 'c_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'HS256'], - $data, - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'HS256']], + ['b_dec', $data], + ]); $token = $this->createParser()->parse('a.b.c'); self::assertInstanceOf(Plain::class, $token); @@ -457,16 +475,17 @@ public function parseShouldRaiseExceptionOnInvalidDate(): void $this->decoder->expects(self::exactly(2)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'HS256'], - $data, - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'HS256']], + ['b_dec', $data], + ]); $this->expectException(InvalidTokenStructure::class); $this->expectExceptionMessage('Value is not in the allowed date format: 14/10/2018 10:50:10.10 UTC'); @@ -480,16 +499,17 @@ public function parseShouldRaiseExceptionOnTimestampBeyondDateTimeImmutableRange $this->decoder->expects(self::exactly(2)) ->method('base64UrlDecode') - ->withConsecutive(['a'], ['b']) - ->willReturnOnConsecutiveCalls('a_dec', 'b_dec'); + ->willReturnMap([ + ['a', 'a_dec'], + ['b', 'b_dec'], + ]); $this->decoder->expects(self::exactly(2)) ->method('jsonDecode') - ->withConsecutive(['a_dec'], ['b_dec']) - ->willReturnOnConsecutiveCalls( - ['typ' => 'JWT', 'alg' => 'HS256'], - $data, - ); + ->willReturnMap([ + ['a_dec', ['typ' => 'JWT', 'alg' => 'HS256']], + ['b_dec', $data], + ]); $this->expectException(InvalidTokenStructure::class); $this->createParser()->parse('a.b.c'); From 24e1b63d35d5ca2915f104ea851b7a5672e93561 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 20 Feb 2023 14:44:45 +0100 Subject: [PATCH 4/5] Upgrade data providers to be --- tests/RFC6978VectorTest.php | 14 +++++++------- tests/Signer/Ecdsa/EcdsaTestCase.php | 2 +- .../Signer/Ecdsa/MultibyteStringConverterTest.php | 4 ++-- tests/Signer/Ecdsa/Sha256Test.php | 2 +- tests/Signer/Ecdsa/Sha384Test.php | 2 +- tests/Signer/Ecdsa/Sha512Test.php | 2 +- tests/SodiumBase64PolyfillTest.php | 2 +- tests/TimeFractionPrecisionTest.php | 4 ++-- .../Constraint/HasClaimWithValueTest.php | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/RFC6978VectorTest.php b/tests/RFC6978VectorTest.php index c9063fe4..9e849abe 100644 --- a/tests/RFC6978VectorTest.php +++ b/tests/RFC6978VectorTest.php @@ -50,15 +50,15 @@ public function theVectorsFromRFC6978CanBeVerified( } /** @return mixed[] */ - public function dataRFC6979(): iterable + public static function dataRFC6979(): iterable { - yield from $this->sha256Data(); - yield from $this->sha384Data(); - yield from $this->sha512Data(); + yield from self::sha256Data(); + yield from self::sha384Data(); + yield from self::sha512Data(); } /** @return mixed[] */ - public function sha256Data(): iterable + public static function sha256Data(): iterable { $signer = new Sha256(); $key = InMemory::plainText( @@ -86,7 +86,7 @@ public function sha256Data(): iterable } /** @return mixed[] */ - public function sha384Data(): iterable + public static function sha384Data(): iterable { $signer = new Sha384(); $key = InMemory::plainText( @@ -115,7 +115,7 @@ public function sha384Data(): iterable } /** @return mixed[] */ - public function sha512Data(): iterable + public static function sha512Data(): iterable { $signer = new Sha512(); $key = InMemory::plainText( diff --git a/tests/Signer/Ecdsa/EcdsaTestCase.php b/tests/Signer/Ecdsa/EcdsaTestCase.php index 9b16751e..06ac0568 100644 --- a/tests/Signer/Ecdsa/EcdsaTestCase.php +++ b/tests/Signer/Ecdsa/EcdsaTestCase.php @@ -118,7 +118,7 @@ public function signShouldRaiseAnExceptionWhenKeyLengthIsNotTheExpectedOne( } /** @return iterable */ - abstract protected function incompatibleKeys(): iterable; + abstract public static function incompatibleKeys(): iterable; /** @test */ public function signShouldRaiseAnExceptionWhenKeyTypeIsNotEC(): void diff --git a/tests/Signer/Ecdsa/MultibyteStringConverterTest.php b/tests/Signer/Ecdsa/MultibyteStringConverterTest.php index cd3ca8c4..eec52365 100644 --- a/tests/Signer/Ecdsa/MultibyteStringConverterTest.php +++ b/tests/Signer/Ecdsa/MultibyteStringConverterTest.php @@ -75,7 +75,7 @@ public function fromAsn1ShouldReturnTheConcatenatedPoints(string $r, string $s, } /** @return string[][] */ - public function pointsConversionData(): iterable + public static function pointsConversionData(): iterable { return [ [ @@ -125,7 +125,7 @@ public function fromAsn1ShouldRaiseExceptionOnInvalidMessage(string $message, st } /** @return string[][] */ - public function invalidAsn1Structures(): iterable + public static function invalidAsn1Structures(): iterable { return [ 'Not a sequence' => ['', 'Should start with a sequence'], diff --git a/tests/Signer/Ecdsa/Sha256Test.php b/tests/Signer/Ecdsa/Sha256Test.php index 0b5a36e2..e7bb4f33 100644 --- a/tests/Signer/Ecdsa/Sha256Test.php +++ b/tests/Signer/Ecdsa/Sha256Test.php @@ -56,7 +56,7 @@ protected function signingKey(): Key } /** {@inheritdoc} */ - protected function incompatibleKeys(): iterable + public static function incompatibleKeys(): iterable { yield '384 bits' => ['private_ec384', 384]; yield '521 bits' => ['private_ec512', 521]; diff --git a/tests/Signer/Ecdsa/Sha384Test.php b/tests/Signer/Ecdsa/Sha384Test.php index d1083400..2a115c44 100644 --- a/tests/Signer/Ecdsa/Sha384Test.php +++ b/tests/Signer/Ecdsa/Sha384Test.php @@ -56,7 +56,7 @@ protected function signingKey(): Key } /** {@inheritdoc} */ - protected function incompatibleKeys(): iterable + public static function incompatibleKeys(): iterable { yield '256 bits' => ['private', 256]; yield '521 bits' => ['private_ec512', 521]; diff --git a/tests/Signer/Ecdsa/Sha512Test.php b/tests/Signer/Ecdsa/Sha512Test.php index 2d5d8292..bfd14705 100644 --- a/tests/Signer/Ecdsa/Sha512Test.php +++ b/tests/Signer/Ecdsa/Sha512Test.php @@ -56,7 +56,7 @@ protected function signingKey(): Key } /** {@inheritdoc} */ - protected function incompatibleKeys(): iterable + public static function incompatibleKeys(): iterable { yield '256 bits' => ['private', 256]; yield '384 bits' => ['private_ec384', 384]; diff --git a/tests/SodiumBase64PolyfillTest.php b/tests/SodiumBase64PolyfillTest.php index c33453aa..74a893de 100644 --- a/tests/SodiumBase64PolyfillTest.php +++ b/tests/SodiumBase64PolyfillTest.php @@ -104,7 +104,7 @@ public function base642binFallback(int $variant): void } /** @return int[][] */ - public function provideVariants(): array + public static function provideVariants(): array { return [ [SODIUM_BASE64_VARIANT_ORIGINAL], diff --git a/tests/TimeFractionPrecisionTest.php b/tests/TimeFractionPrecisionTest.php index ba61a27c..80058c7f 100644 --- a/tests/TimeFractionPrecisionTest.php +++ b/tests/TimeFractionPrecisionTest.php @@ -57,7 +57,7 @@ public function timeFractionsPrecisionsAreRespected(string $timeFraction): void } /** @return iterable */ - public function datesWithPotentialRoundingIssues(): iterable + public static function datesWithPotentialRoundingIssues(): iterable { yield ['1613938511.017448']; yield ['1613938511.023691']; @@ -86,7 +86,7 @@ public function typeConversionDoesNotCauseParsingErrors(float|int|string $issued } /** @return iterable */ - public function timeFractionConversions(): iterable + public static function timeFractionConversions(): iterable { yield [1616481863.528781890869140625, '1616481863.528782']; yield [1616497608.0510409, '1616497608.051041']; diff --git a/tests/Validation/Constraint/HasClaimWithValueTest.php b/tests/Validation/Constraint/HasClaimWithValueTest.php index 3c083316..bf7a1b78 100644 --- a/tests/Validation/Constraint/HasClaimWithValueTest.php +++ b/tests/Validation/Constraint/HasClaimWithValueTest.php @@ -37,7 +37,7 @@ public function registeredClaimsCannotBeValidatedUsingThisConstraint(string $cla } /** @return iterable */ - public function registeredClaims(): iterable + public static function registeredClaims(): iterable { foreach (Token\RegisteredClaims::ALL as $claim) { yield $claim => [$claim]; From 9249a0e8fd513169a62f209f5dba241b76ce4059 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 20 Feb 2023 14:46:16 +0100 Subject: [PATCH 5/5] Add new PHPUnit cache directory to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b6373b01..51522731 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ coverage phpcs.xml /.phpcs.cache /.phpunit.result.cache +/.phpunit.cache /build