From 1066d3a6dff1f049f6c95c5199429a8d96bc68a0 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 4 Dec 2023 11:22:01 +0100 Subject: [PATCH] [2.x] Template types --- composer.json | 6 +- composer.lock | 2541 ++++++++++++++---------------- etc/qa/phpstan.neon | 26 +- etc/qa/phpunit.xml | 12 +- etc/qa/psalm.xml | 7 +- infection.json.dist | 26 +- src/CanceledException.php | 1 - src/CanceledFuture.php | 1 - src/EventLoopBridge.php | 67 +- src/KilledRuntime.php | 1 - src/Stream.php | 23 +- src/StreamInterface.php | 17 + stubs/Channel.stub | 82 + stubs/Event.stub | 36 + stubs/Future.stub | 54 + stubs/functions.stub | 13 + tests/CookieMonsterException.php | 1 - tests/EventLoopBridgeTest.php | 1 - tests/Types.php | 38 + 19 files changed, 1556 insertions(+), 1397 deletions(-) create mode 100644 src/StreamInterface.php create mode 100644 stubs/Channel.stub create mode 100644 stubs/Event.stub create mode 100644 stubs/Future.stub create mode 100644 stubs/functions.stub create mode 100644 tests/Types.php diff --git a/composer.json b/composer.json index 47f3bf9..9cfe0ec 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ "ext-parallel": "*", "react/async": "^4.2", "react/event-loop": "^1.5", - "react/promise": "^2.11 || ^3.0", + "react/promise": "^2.11 || ^3.2", "wyrihaximus/constants": "^1.6.0", - "wyrihaximus/metrics": "^1.0 || ^2" + "wyrihaximus/metrics": "^2.1" }, "require-dev": { - "wyrihaximus/async-test-utilities": "^7.2 || ^5" + "wyrihaximus/async-test-utilities": "^5.0.25 || ^8.0.5" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index eacb20d..c675529 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": "e972e1ad02dbc63b039ee95fe8067c31", + "content-hash": "996a6a8fe4de3b90318e7280116ec64f", "packages": [ { "name": "lcobucci/clock", @@ -344,39 +344,46 @@ }, { "name": "thecodingmachine/safe", - "version": "v1.3.3", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/e788f3d09dcd36f806350aedb77eac348fafadd3", + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3", "shasum": "" }, "require": { - "php": ">=7.2" + "php": "^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12", + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^0.12" + "thecodingmachine/phpstan-strict-rules": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.1-dev" + "dev-master": "2.2.x-dev" } }, "autoload": { "files": [ "deprecated/apc.php", + "deprecated/array.php", + "deprecated/datetime.php", "deprecated/libevent.php", + "deprecated/misc.php", + "deprecated/password.php", "deprecated/mssql.php", "deprecated/stats.php", + "deprecated/strings.php", "lib/special_cases.php", + "deprecated/mysqli.php", "generated/apache.php", "generated/apcu.php", "generated/array.php", @@ -397,6 +404,7 @@ "generated/fpm.php", "generated/ftp.php", "generated/funchand.php", + "generated/gettext.php", "generated/gmp.php", "generated/gnupg.php", "generated/hash.php", @@ -406,7 +414,6 @@ "generated/image.php", "generated/imap.php", "generated/info.php", - "generated/ingres-ii.php", "generated/inotify.php", "generated/json.php", "generated/ldap.php", @@ -415,20 +422,14 @@ "generated/mailparse.php", "generated/mbstring.php", "generated/misc.php", - "generated/msql.php", "generated/mysql.php", - "generated/mysqli.php", - "generated/mysqlndMs.php", - "generated/mysqlndQc.php", "generated/network.php", "generated/oci8.php", "generated/opcache.php", "generated/openssl.php", "generated/outcontrol.php", - "generated/password.php", "generated/pcntl.php", "generated/pcre.php", - "generated/pdf.php", "generated/pgsql.php", "generated/posix.php", "generated/ps.php", @@ -439,7 +440,6 @@ "generated/sem.php", "generated/session.php", "generated/shmop.php", - "generated/simplexml.php", "generated/sockets.php", "generated/sodium.php", "generated/solr.php", @@ -462,13 +462,13 @@ "generated/zip.php", "generated/zlib.php" ], - "psr-4": { - "Safe\\": [ - "lib/", - "deprecated/", - "generated/" - ] - } + "classmap": [ + "lib/DateTime.php", + "lib/DateTimeImmutable.php", + "lib/Exceptions/", + "deprecated/Exceptions/", + "generated/Exceptions/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -477,9 +477,9 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" + "source": "https://github.com/thecodingmachine/safe/tree/v2.4.0" }, - "time": "2020-10-28T17:51:34+00:00" + "time": "2022-10-07T14:02:17+00:00" }, { "name": "wyrihaximus/constants", @@ -533,32 +533,35 @@ }, { "name": "wyrihaximus/metrics", - "version": "1.1.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-metrics.git", - "reference": "bb209f20b77401af681c25c9a886e92296c14902" + "reference": "2edd4af12ddac00b29e676b4cfc3f8c310b1cb55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-metrics/zipball/bb209f20b77401af681c25c9a886e92296c14902", - "reference": "bb209f20b77401af681c25c9a886e92296c14902", + "url": "https://api.github.com/repos/WyriHaximus/php-metrics/zipball/2edd4af12ddac00b29e676b4cfc3f8c310b1cb55", + "reference": "2edd4af12ddac00b29e676b4cfc3f8c310b1cb55", "shasum": "" }, "require": { - "lcobucci/clock": "^2.0", - "php": "^7.4 || ^8.0", + "lcobucci/clock": "^2.0 || ^3.0", + "php": "^8.1", "react-parallel/object-proxy-attributes": "^1", - "thecodingmachine/safe": "^1.1", + "thecodingmachine/safe": "^2.0", "wyrihaximus/constants": "^1.5" }, "require-dev": { - "phpbench/phpbench": "^0.17.1 || ^1.0.0", - "phpstan/phpstan": "^0.12.99", - "vimeo/psalm": "^4.12", - "wyrihaximus/test-utilities": "^3.7.4" + "phpbench/phpbench": "^1.2.3", + "wyrihaximus/test-utilities": "^5.1" }, "type": "library", + "extra": { + "unused": [ + "thecodingmachine/safe" + ] + }, "autoload": { "psr-4": { "WyriHaximus\\Metrics\\": "src/" @@ -577,7 +580,7 @@ "description": "🕵️‍♀️ Prometheus modelled metric VO's and registry", "support": { "issues": "https://github.com/WyriHaximus/php-metrics/issues", - "source": "https://github.com/WyriHaximus/php-metrics/tree/1.1.0" + "source": "https://github.com/WyriHaximus/php-metrics/tree/2.1.0" }, "funding": [ { @@ -585,7 +588,7 @@ "type": "github" } ], - "time": "2021-11-10T16:03:58+00:00" + "time": "2023-01-13T23:11:41+00:00" } ], "packages-dev": [ @@ -738,16 +741,16 @@ }, { "name": "azjezz/psl", - "version": "2.0.4", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/azjezz/psl.git", - "reference": "c34e6c2c5560007eafb158bf9f6040c4054c09ab" + "reference": "5c20649db277565d6a40a66edfc2bbf8dc7f19e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/azjezz/psl/zipball/c34e6c2c5560007eafb158bf9f6040c4054c09ab", - "reference": "c34e6c2c5560007eafb158bf9f6040c4054c09ab", + "url": "https://api.github.com/repos/azjezz/psl/zipball/5c20649db277565d6a40a66edfc2bbf8dc7f19e0", + "reference": "5c20649db277565d6a40a66edfc2bbf8dc7f19e0", "shasum": "" }, "require": { @@ -756,27 +759,19 @@ "ext-json": "*", "ext-mbstring": "*", "ext-sodium": "*", - "php": "~8.1.0 || ~8.2.0", - "revolt/event-loop": "^0.2.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.4.0", - "php-coveralls/php-coveralls": "^2.5.2", - "php-standard-library/psalm-plugin": "^2.0.2", - "phpbench/phpbench": "^1.2.3", - "phpunit/phpunit": "^9.5.16", - "roave/infection-static-analysis-plugin": "^1.23.0", - "squizlabs/php_codesniffer": "^3.6.2", - "vimeo/psalm": "^4.21.0" + "php": "~8.0.0 || ~8.1.0" }, "suggest": { "php-standard-library/psalm-plugin": "Psalm integration" }, "type": "library", "extra": { + "psalm": { + "pluginClass": "Psl\\Integration\\Psalm\\Plugin" + }, "thanks": { - "name": "hhvm/hsl", - "url": "https://github.com/hhvm/hsl" + "url": "https://github.com/hhvm/hsl", + "name": "hhvm/hsl" } }, "autoload": { @@ -784,7 +779,8 @@ "src/bootstrap.php" ], "psr-4": { - "Psl\\": "src/Psl" + "Psl\\": "src/Psl", + "Psl\\Integration\\": "integration" } }, "notification-url": "https://packagist.org/downloads/", @@ -800,7 +796,7 @@ "description": "PHP Standard Library", "support": { "issues": "https://github.com/azjezz/psl/issues", - "source": "https://github.com/azjezz/psl/tree/2.0.4" + "source": "https://github.com/azjezz/psl/tree/1.9.3" }, "funding": [ { @@ -808,7 +804,7 @@ "type": "open_collective" } ], - "time": "2022-10-10T18:40:50+00:00" + "time": "2021-12-10T10:34:36+00:00" }, { "name": "beberlei/assert", @@ -944,6 +940,97 @@ "abandoned": "react/async", "time": "2021-10-20T14:07:33+00:00" }, + { + "name": "colinodell/json5", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/colinodell/json5.git", + "reference": "dd7f788c5de3837d1483a216dc9b30e5d9c8c00a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/colinodell/json5/zipball/dd7f788c5de3837d1483a216dc9b30e5d9c8c00a", + "reference": "dd7f788c5de3837d1483a216dc9b30e5d9c8c00a", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^7.1.3|^8.0" + }, + "conflict": { + "scrutinizer/ocular": "1.7.*" + }, + "require-dev": { + "mikehaertl/php-shellcommand": "^1.2.5", + "phpstan/phpstan": "^0.12.58", + "scrutinizer/ocular": "^1.6", + "squizlabs/php_codesniffer": "^2.3", + "symfony/finder": "^4.4|^5.2", + "symfony/phpunit-bridge": "^5.1" + }, + "bin": [ + "bin/json5" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "files": [ + "src/global.php" + ], + "psr-4": { + "ColinODell\\Json5\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Developer" + } + ], + "description": "UTF-8 compatible JSON5 parser for PHP", + "homepage": "https://github.com/colinodell/json5", + "keywords": [ + "JSON5", + "json", + "json5_decode", + "json_decode" + ], + "support": { + "issues": "https://github.com/colinodell/json5/issues", + "source": "https://github.com/colinodell/json5/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://www.patreon.com/colinodell", + "type": "patreon" + } + ], + "time": "2020-11-29T14:52:27+00:00" + }, { "name": "composer-unused/contracts", "version": "0.2.0", @@ -992,32 +1079,33 @@ }, { "name": "composer-unused/symbol-parser", - "version": "0.1.8", + "version": "0.1.10", "source": { "type": "git", "url": "https://github.com/composer-unused/symbol-parser.git", - "reference": "605be0cb0049341c8f35b94a11f1cba68c8f930b" + "reference": "b57dc7924b8017c47087bf2fd6b125c1facdee47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer-unused/symbol-parser/zipball/605be0cb0049341c8f35b94a11f1cba68c8f930b", - "reference": "605be0cb0049341c8f35b94a11f1cba68c8f930b", + "url": "https://api.github.com/repos/composer-unused/symbol-parser/zipball/b57dc7924b8017c47087bf2fd6b125c1facdee47", + "reference": "b57dc7924b8017c47087bf2fd6b125c1facdee47", "shasum": "" }, "require": { "composer-unused/contracts": "^0.1 || ^0.2", - "nikic/php-parser": "^4.13", + "nikic/php-parser": "^4.15", "php": "^7.4 || ^8.0", + "phpstan/phpdoc-parser": "^1.8", "psr/container": "^1.0 || ^2.0", "psr/log": "^1.1 || ^2 || ^3", - "symfony/finder": "4.4 || ^5.3 || ^6.0" + "symfony/finder": "^4.4 || ^5.3 || ^6.0" }, "require-dev": { "ext-ds": "*", - "phpstan/phpstan": "^1.4", - "phpunit/phpunit": "^9.5.18", + "phpstan/phpstan": "^1.8", + "phpunit/phpunit": "^9.5.25", "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.6.2", + "squizlabs/php_codesniffer": "^3.7.1", "symfony/serializer": "^5.4" }, "type": "library", @@ -1057,37 +1145,36 @@ "type": "other" } ], - "time": "2022-03-09T17:46:04+00:00" + "time": "2022-10-07T12:49:32+00:00" }, { "name": "composer/ca-bundle", - "version": "1.5.4", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "bc0593537a463e55cadf45fd938d23b75095b7e1" + "reference": "13a8d67799a4f1c0e6bb0abd788abbe9e95dee8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/bc0593537a463e55cadf45fd938d23b75095b7e1", - "reference": "bc0593537a463e55cadf45fd938d23b75095b7e1", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/13a8d67799a4f1c0e6bb0abd788abbe9e95dee8e", + "reference": "13a8d67799a4f1c0e6bb0abd788abbe9e95dee8e", "shasum": "" }, "require": { "ext-openssl": "*", "ext-pcre": "*", - "php": "^7.2 || ^8.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8 || ^9", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8", + "psr/log": "^1.0", + "symfony/process": "^2.5 || ^3.0 || ^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { @@ -1117,50 +1204,36 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.5.4" + "source": "https://github.com/composer/ca-bundle/tree/master" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2024-11-27T15:35:25+00:00" + "time": "2019-07-30T05:22:27+00:00" }, { "name": "composer/class-map-generator", - "version": "1.5.0", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/composer/class-map-generator.git", - "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915" + "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", - "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", + "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513", "shasum": "" }, "require": { - "composer/pcre": "^2.1 || ^3.1", + "composer/pcre": "^2 || ^3", "php": "^7.2 || ^8.0", - "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" + "symfony/finder": "^4.4 || ^5.3 || ^6" }, "require-dev": { - "phpstan/phpstan": "^1.12 || ^2", - "phpstan/phpstan-deprecation-rules": "^1 || ^2", - "phpstan/phpstan-phpunit": "^1 || ^2", - "phpstan/phpstan-strict-rules": "^1.1 || ^2", - "phpunit/phpunit": "^8", - "symfony/filesystem": "^5.4 || ^6" + "phpstan/phpstan": "^1.6", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/filesystem": "^5.4 || ^6", + "symfony/phpunit-bridge": "^5" }, "type": "library", "extra": { @@ -1190,7 +1263,7 @@ ], "support": { "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.5.0" + "source": "https://github.com/composer/class-map-generator/tree/1.0.0" }, "funding": [ { @@ -1206,52 +1279,51 @@ "type": "tidelift" } ], - "time": "2024-11-25T16:11:06+00:00" + "time": "2022-06-19T11:31:27+00:00" }, { "name": "composer/composer", - "version": "2.7.7", + "version": "2.4.1", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23" + "reference": "777d542e3af65f8e7a66a4d98ce7a697da339414" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/291942978f39435cf904d33739f98d7d4eca7b23", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23", + "url": "https://api.github.com/repos/composer/composer/zipball/777d542e3af65f8e7a66a4d98ce7a697da339414", + "reference": "777d542e3af65f8e7a66a4d98ce7a697da339414", "shasum": "" }, "require": { "composer/ca-bundle": "^1.0", - "composer/class-map-generator": "^1.3.3", + "composer/class-map-generator": "^1.0", "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", - "composer/semver": "^3.3", + "composer/pcre": "^2 || ^3", + "composer/semver": "^3.0", "composer/spdx-licenses": "^1.5.7", "composer/xdebug-handler": "^2.0.2 || ^3.0.3", "justinrainbow/json-schema": "^5.2.11", "php": "^7.2.5 || ^8.0", "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", + "react/promise": "^2.8", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.2", "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11 || ^7", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", + "symfony/console": "^5.4.11 || ^6.0.11", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", "symfony/polyfill-php73": "^1.24", "symfony/polyfill-php80": "^1.24", - "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "symfony/process": "^5.4 || ^6.0" }, "require-dev": { - "phpstan/phpstan": "^1.11.0", - "phpstan/phpstan-deprecation-rules": "^1.2.0", - "phpstan/phpstan-phpunit": "^1.4.0", - "phpstan/phpstan-strict-rules": "^1.6.0", - "phpstan/phpstan-symfony": "^1.4.0", - "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" + "phpstan/phpstan": "^1.4.1", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1", + "phpstan/phpstan-symfony": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", @@ -1269,12 +1341,12 @@ ] }, "branch-alias": { - "dev-main": "2.7-dev" + "dev-main": "2.4-dev" } }, "autoload": { "psr-4": { - "Composer\\": "src/Composer/" + "Composer\\": "src/Composer" } }, "notification-url": "https://packagist.org/downloads/", @@ -1303,8 +1375,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.7" + "source": "https://github.com/composer/composer/tree/2.4.1" }, "funding": [ { @@ -1320,7 +1391,7 @@ "type": "tidelift" } ], - "time": "2024-06-10T20:11:12+00:00" + "time": "2022-08-20T09:44:50+00:00" }, { "name": "composer/metadata-minifier", @@ -1393,20 +1464,20 @@ }, { "name": "composer/pcre", - "version": "3.1.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "04229f163664973f68f38f6f73d917799168ef24" + "reference": "c8e9d27cfc5ed22643c19c160455b473ffd8aabe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/04229f163664973f68f38f6f73d917799168ef24", - "reference": "04229f163664973f68f38f6f73d917799168ef24", + "url": "https://api.github.com/repos/composer/pcre/zipball/c8e9d27cfc5ed22643c19c160455b473ffd8aabe", + "reference": "c8e9d27cfc5ed22643c19c160455b473ffd8aabe", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^1.3", @@ -1416,7 +1487,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.x-dev" + "dev-main": "2.x-dev" } }, "autoload": { @@ -1444,7 +1515,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.4" + "source": "https://github.com/composer/pcre/tree/2.0.0" }, "funding": [ { @@ -1460,33 +1531,33 @@ "type": "tidelift" } ], - "time": "2024-05-27T13:40:54+00:00" + "time": "2022-02-25T20:05:29+00:00" }, { "name": "composer/semver", - "version": "3.4.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" + "reference": "3426bd5efa8a12d230824536c42a8a4ad30b7940" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "url": "https://api.github.com/repos/composer/semver/zipball/3426bd5efa8a12d230824536c42a8a4ad30b7940", + "reference": "3426bd5efa8a12d230824536c42a8a4ad30b7940", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.11", - "symfony/phpunit-bridge": "^3 || ^7" + "phpstan/phpstan": "^0.12.19", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.x-dev" + "dev-master": "3.x-dev" } }, "autoload": { @@ -1523,9 +1594,9 @@ "versioning" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", + "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.3" + "source": "https://github.com/composer/semver/tree/3.0.0" }, "funding": [ { @@ -1541,20 +1612,20 @@ "type": "tidelift" } ], - "time": "2024-09-19T14:15:21+00:00" + "time": "2020-05-26T18:22:04+00:00" }, { "name": "composer/spdx-licenses", - "version": "1.5.8", + "version": "1.5.7", "source": { "type": "git", "url": "https://github.com/composer/spdx-licenses.git", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" + "reference": "c848241796da2abf65837d51dce1fae55a960149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/c848241796da2abf65837d51dce1fae55a960149", + "reference": "c848241796da2abf65837d51dce1fae55a960149", "shasum": "" }, "require": { @@ -1603,9 +1674,9 @@ "validator" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", + "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" + "source": "https://github.com/composer/spdx-licenses/tree/1.5.7" }, "funding": [ { @@ -1621,31 +1692,29 @@ "type": "tidelift" } ], - "time": "2023-11-20T07:44:33+00:00" + "time": "2022-05-23T07:37:50+00:00" }, { "name": "composer/xdebug-handler", - "version": "3.0.5", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef" + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef", - "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339", + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339", "shasum": "" }, "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", + "php": "^5.3.2 || ^7.0 || ^8.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "autoload": { @@ -1669,9 +1738,9 @@ "performance" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", + "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.5" + "source": "https://github.com/composer/xdebug-handler/tree/2.0.2" }, "funding": [ { @@ -1687,7 +1756,7 @@ "type": "tidelift" } ], - "time": "2024-05-06T16:37:16+00:00" + "time": "2021-07-31T17:03:58+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", @@ -1927,35 +1996,35 @@ }, { "name": "ergebnis/composer-normalize", - "version": "2.28.3", + "version": "2.29.0", "source": { "type": "git", "url": "https://github.com/ergebnis/composer-normalize.git", - "reference": "ec75a2bf751f6fec165e9ea0262655b8ca397e5c" + "reference": "fad0e99b16c625817a5bfd910e4d7e31999c53b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/ec75a2bf751f6fec165e9ea0262655b8ca397e5c", - "reference": "ec75a2bf751f6fec165e9ea0262655b8ca397e5c", + "url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/fad0e99b16c625817a5bfd910e4d7e31999c53b2", + "reference": "fad0e99b16c625817a5bfd910e4d7e31999c53b2", "shasum": "" }, "require": { "composer-plugin-api": "^2.0.0", "ergebnis/json-normalizer": "~2.1.0", - "ergebnis/json-printer": "^3.2.0", + "ergebnis/json-printer": "^3.3.0", "justinrainbow/json-schema": "^5.2.12", "localheinz/diff": "^1.1.1", - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "require-dev": { - "composer/composer": "^2.3.9", - "ergebnis/license": "^1.2.0", - "ergebnis/php-cs-fixer-config": "^4.4.0", - "fakerphp/faker": "^1.19.0", - "phpunit/phpunit": "^9.5.21", - "psalm/plugin-phpunit": "~0.17.0", - "symfony/filesystem": "^5.4.9", - "vimeo/psalm": "^4.24.0" + "composer/composer": "^2.4.4", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.0.0", + "fakerphp/faker": "^1.20.0", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "symfony/filesystem": "^6.0.13", + "vimeo/psalm": "^5.0.0" }, "type": "composer-plugin", "extra": { @@ -1992,7 +2061,7 @@ "issues": "https://github.com/ergebnis/composer-normalize/issues", "source": "https://github.com/ergebnis/composer-normalize" }, - "time": "2022-07-05T16:09:10+00:00" + "time": "2022-12-01T11:51:19+00:00" }, { "name": "ergebnis/json-normalizer", @@ -2061,31 +2130,31 @@ }, { "name": "ergebnis/json-printer", - "version": "3.2.0", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/ergebnis/json-printer.git", - "reference": "651cab2b7604a6b338d0d16749f5ea0851a68005" + "reference": "18920367473b099633f644f0ca6dc8794345148f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/651cab2b7604a6b338d0d16749f5ea0851a68005", - "reference": "651cab2b7604a6b338d0d16749f5ea0851a68005", + "url": "https://api.github.com/repos/ergebnis/json-printer/zipball/18920367473b099633f644f0ca6dc8794345148f", + "reference": "18920367473b099633f644f0ca6dc8794345148f", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "require-dev": { - "ergebnis/license": "^1.1.0", - "ergebnis/php-cs-fixer-config": "^3.4.0", - "fakerphp/faker": "^1.17.0", - "infection/infection": "~0.25.5", - "phpunit/phpunit": "^9.5.11", - "psalm/plugin-phpunit": "~0.16.1", - "vimeo/psalm": "^4.16.1" + "ergebnis/license": "^2.0.0", + "ergebnis/php-cs-fixer-config": "^4.11.0", + "fakerphp/faker": "^1.20.0", + "infection/infection": "~0.26.6", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "~0.18.3", + "vimeo/psalm": "^4.30.0" }, "type": "library", "autoload": { @@ -2114,13 +2183,7 @@ "issues": "https://github.com/ergebnis/json-printer/issues", "source": "https://github.com/ergebnis/json-printer" }, - "funding": [ - { - "url": "https://github.com/localheinz", - "type": "github" - } - ], - "time": "2021-12-27T12:39:13+00:00" + "time": "2022-11-28T10:27:43+00:00" }, { "name": "ergebnis/json-schema-validator", @@ -2271,59 +2334,6 @@ ], "time": "2021-11-08T15:37:09+00:00" }, - { - "name": "facade/ignition-contracts", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/facade/ignition-contracts.git", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", - "shasum": "" - }, - "require": { - "php": "^7.3|^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^v2.15.8", - "phpunit/phpunit": "^9.3.11", - "vimeo/psalm": "^3.17.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Facade\\IgnitionContracts\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://flareapp.io", - "role": "Developer" - } - ], - "description": "Solution contracts for Ignition", - "homepage": "https://github.com/facade/ignition-contracts", - "keywords": [ - "contracts", - "flare", - "ignition" - ], - "support": { - "issues": "https://github.com/facade/ignition-contracts/issues", - "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" - }, - "time": "2020-10-16T08:27:54+00:00" - }, { "name": "felixfbecker/advanced-json-rpc", "version": "v3.1.0", @@ -2498,52 +2508,37 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.9.2", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + "reference": "df897ae757ad329d2affc38ffb5bbce782b2b510" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/df897ae757ad329d2affc38ffb5bbce782b2b510", + "reference": "df897ae757ad329d2affc38ffb5bbce782b2b510", "shasum": "" }, "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.3", - "guzzlehttp/psr7": "^2.7.0", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" + "guzzlehttp/promises": "^1.0.0", + "guzzlehttp/psr7": "^1.0.0", + "php": ">=5.5.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "guzzle/client-integration-tests": "3.0.2", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.39 || ^9.6.20", - "psr/log": "^1.1 || ^2.0 || ^3.0" - }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" + "phpunit/phpunit": "^4.0", + "psr/log": "^1.0" }, "type": "library", "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false + "branch-alias": { + "dev-master": "6.0-dev" } }, "autoload": { "files": [ - "src/functions_include.php" + "src/functions.php" ], "psr-4": { "GuzzleHttp\\": "src/" @@ -2554,103 +2549,59 @@ "MIT" ], "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" } ], "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", "keywords": [ "client", "curl", "framework", "http", "http client", - "psr-18", - "psr-7", "rest", "web service" ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + "source": "https://github.com/guzzle/guzzle/tree/master" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", - "type": "tidelift" - } - ], - "time": "2024-07-24T11:22:20+00:00" + "time": "2015-05-26T18:22:06+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.4", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" + "reference": "01abc3232138f330d8a1eaa808fcbdf9b4292f47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "url": "https://api.github.com/repos/guzzle/promises/zipball/01abc3232138f330d8a1eaa808fcbdf9b4292f47", + "reference": "01abc3232138f330d8a1eaa808fcbdf9b4292f47", "shasum": "" }, "require": { - "php": "^7.2.5 || ^8.0" + "php": ">=5.5.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "phpunit/phpunit": "^4.0" }, "type": "library", "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -2660,25 +2611,10 @@ "MIT" ], "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" } ], "description": "Guzzle promises library", @@ -2687,64 +2623,44 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.4" + "source": "https://github.com/guzzle/promises/tree/master" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", - "type": "tidelift" - } - ], - "time": "2024-10-17T10:06:22+00:00" + "time": "2015-05-13T05:05:10+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.7.0", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + "reference": "19e510056d8d671d9d9e25dc16937b3dd3802ae6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/19e510056d8d671d9d9e25dc16937b3dd3802ae6", + "reference": "19e510056d8d671d9d9e25dc16937b3dd3802ae6", "shasum": "" }, "require": { - "php": "^7.2.5 || ^8.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" + "php": ">=5.4.0", + "psr/http-message": "^1.0" }, "provide": { - "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + "phpunit/phpunit": "^4.0" }, "type": "library", "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { "GuzzleHttp\\Psr7\\": "src/" } @@ -2754,112 +2670,67 @@ "MIT" ], "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" } ], - "description": "PSR-7 message implementation that also provides common utility methods", + "description": "PSR-7 message implementation", "keywords": [ "http", "message", - "psr-7", - "request", - "response", "stream", - "uri", - "url" + "uri" ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.0" + "source": "https://github.com/guzzle/psr7/tree/master" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", - "type": "tidelift" - } - ], - "time": "2024-07-18T11:15:46+00:00" + "time": "2015-05-19T17:58:45+00:00" }, { "name": "icanhazstring/composer-unused", - "version": "0.8.2", + "version": "0.8.5", "source": { "type": "git", "url": "https://github.com/composer-unused/composer-unused.git", - "reference": "82d6a14ab3199b42f9b3bcbd5f832b2c5c04357d" + "reference": "8c559d4aeac59291f01aea9160f093b208276bbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer-unused/composer-unused/zipball/82d6a14ab3199b42f9b3bcbd5f832b2c5c04357d", - "reference": "82d6a14ab3199b42f9b3bcbd5f832b2c5c04357d", + "url": "https://api.github.com/repos/composer-unused/composer-unused/zipball/8c559d4aeac59291f01aea9160f093b208276bbf", + "reference": "8c559d4aeac59291f01aea9160f093b208276bbf", "shasum": "" }, "require": { "composer-unused/contracts": "^0.2", - "composer-unused/symbol-parser": "^0.1.8", - "nikic/php-parser": "^4.13", + "composer-unused/symbol-parser": "^0.1.10", + "ext-json": "*", + "nikic/php-parser": "^4.15", "ondram/ci-detector": "^4.1", "php": "^7.4 || ^8.0", + "phpstan/phpdoc-parser": "^1.12", "psr/container": "^1.0 || ^2.0", "psr/log": "^1.1 || ^2 || ^3", "symfony/config": "^4.4 || ^5.4 || ^6.0", "symfony/console": "^4.4 || ^5.4 || ^6.0", - "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0", + "symfony/dependency-injection": "^4.4.8 || ^5.4 || ^6.0", + "symfony/property-access": "^4.4 || ^5.4 || ^6.0", "symfony/serializer": "^4.4 || ^5.4 || ^6.0", "webmozart/assert": "^1.10", "webmozart/glob": "^4.4" }, "require-dev": { - "dg/bypass-finals": "^1.3", + "dg/bypass-finals": "^1.4", "ext-ds": "*", "ext-zend-opcache": "*", "jangregor/phpstan-prophecy": "^0.8.1", "phpspec/prophecy-phpunit": "^2.0.1", "phpstan/phpstan": "^0.12.99", - "phpunit/phpunit": "^9.5.19", + "phpunit/phpunit": "^9.5.26", "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.6" + "squizlabs/php_codesniffer": "^3.7" }, "bin": [ "bin/composer-unused" @@ -2901,7 +2772,7 @@ "type": "other" } ], - "time": "2022-03-22T12:44:31+00:00" + "time": "2022-12-02T10:46:30+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -3072,45 +2943,45 @@ }, { "name": "infection/infection", - "version": "0.26.6", + "version": "0.26.16", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "de9b6b92f00ff1cb39decddf95797a4ebec3a1ee" + "reference": "d646aafe530ba21b8479694cd151570c93c72312" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/de9b6b92f00ff1cb39decddf95797a4ebec3a1ee", - "reference": "de9b6b92f00ff1cb39decddf95797a4ebec3a1ee", + "url": "https://api.github.com/repos/infection/infection/zipball/d646aafe530ba21b8479694cd151570c93c72312", + "reference": "d646aafe530ba21b8479694cd151570c93c72312", "shasum": "" }, "require": { + "colinodell/json5": "^2.2", "composer-runtime-api": "^2.0", "composer/xdebug-handler": "^2.0 || ^3.0", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", + "ext-mbstring": "*", "infection/abstract-testframework-adapter": "^0.5.0", "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.5", "justinrainbow/json-schema": "^5.2.10", "nikic/php-parser": "^4.13.2", "ondram/ci-detector": "^4.1.0", - "php": "^7.4.7 || ^8.0", + "php": "^8.0", "sanmai/later": "^0.1.1", "sanmai/pipeline": "^5.1 || ^6", "sebastian/diff": "^3.0.2 || ^4.0", - "seld/jsonlint": "^1.7", - "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "thecodingmachine/safe": "^1.1.3", - "webmozart/assert": "^1.3", - "webmozart/path-util": "^2.3" + "symfony/console": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/process": "^5.4 || ^6.0", + "thecodingmachine/safe": "^2.1.2", + "webmozart/assert": "^1.3" }, "conflict": { - "dg/bypass-finals": "*", + "dg/bypass-finals": "<1.4.1", "phpunit/php-code-coverage": ">9 <9.1.4" }, "require-dev": { @@ -3119,14 +2990,14 @@ "helmich/phpunit-json-assert": "^3.0", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.2.0", + "phpstan/phpstan": "^1.3.0", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-webmozart-assert": "^1.0.2", - "phpunit/phpunit": "^9.3.11", - "symfony/phpunit-bridge": "^4.4.18 || ^5.1.10", - "symfony/yaml": "^5.0", - "thecodingmachine/phpstan-safe-rule": "^1.1.0" + "phpunit/phpunit": "^9.5.5", + "symfony/phpunit-bridge": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0", + "thecodingmachine/phpstan-safe-rule": "^1.2.0" }, "bin": [ "bin/infection" @@ -3182,7 +3053,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.26.6" + "source": "https://github.com/infection/infection/tree/0.26.16" }, "funding": [ { @@ -3194,7 +3065,7 @@ "type": "open_collective" } ], - "time": "2022-03-07T11:40:30+00:00" + "time": "2022-10-22T10:07:33+00:00" }, { "name": "jakobbuis/simple-slow-test-reporter", @@ -3234,6 +3105,7 @@ "issues": "https://github.com/jakobbuis/simple-slow-test-reporter/issues", "source": "https://github.com/jakobbuis/simple-slow-test-reporter/tree/v1.0.0" }, + "abandoned": "ergebnis/phpunit-slow-test-detector", "time": "2020-12-26T16:20:53+00:00" }, { @@ -3351,20 +3223,20 @@ }, { "name": "justinrainbow/json-schema", - "version": "5.3.0", + "version": "5.2.12", "source": { "type": "git", "url": "https://github.com/jsonrainbow/json-schema.git", - "reference": "feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8" + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8", - "reference": "feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8", + "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=5.3.3" }, "require-dev": { "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", @@ -3375,6 +3247,11 @@ "bin/validate-json" ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, "autoload": { "psr-4": { "JsonSchema\\": "src/JsonSchema/" @@ -3410,9 +3287,9 @@ ], "support": { "issues": "https://github.com/jsonrainbow/json-schema/issues", - "source": "https://github.com/jsonrainbow/json-schema/tree/5.3.0" + "source": "https://github.com/jsonrainbow/json-schema/tree/5.2.12" }, - "time": "2024-07-06T21:00:26+00:00" + "time": "2022-04-13T08:02:27+00:00" }, { "name": "localheinz/diff", @@ -3476,21 +3353,20 @@ }, { "name": "maglnet/composer-require-checker", - "version": "4.0.0", + "version": "4.4.0", "source": { "type": "git", "url": "https://github.com/maglnet/ComposerRequireChecker.git", - "reference": "baa11a4e9e5072117e3d180ef16c07036cafa4a2" + "reference": "45a6a59b923fe6408011005260ccd94ee60dbcb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/baa11a4e9e5072117e3d180ef16c07036cafa4a2", - "reference": "baa11a4e9e5072117e3d180ef16c07036cafa4a2", + "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/45a6a59b923fe6408011005260ccd94ee60dbcb1", + "reference": "45a6a59b923fe6408011005260ccd94ee60dbcb1", "shasum": "" }, "require": { "composer-runtime-api": "^2.0.0", - "ext-json": "*", "ext-phar": "*", "nikic/php-parser": "^4.13.0", "php": "^8.0", @@ -3505,7 +3381,7 @@ "phing/phing": "^2.17.0", "phpstan/phpstan": "^1.2.0", "phpunit/phpunit": "^9.5.10", - "roave/infection-static-analysis-plugin": "1.13.x-dev as 1.13.0", + "roave/infection-static-analysis-plugin": "^1.23", "vimeo/psalm": "^4.15" }, "bin": [ @@ -3551,9 +3427,9 @@ ], "support": { "issues": "https://github.com/maglnet/ComposerRequireChecker/issues", - "source": "https://github.com/maglnet/ComposerRequireChecker/tree/4.0.0" + "source": "https://github.com/maglnet/ComposerRequireChecker/tree/4.4.0" }, - "time": "2021-12-13T16:44:32+00:00" + "time": "2022-12-14T08:48:46+00:00" }, { "name": "myclabs/deep-copy", @@ -3654,18 +3530,103 @@ }, "time": "2016-10-11T06:31:05+00:00" }, + { + "name": "nette/utils", + "version": "v3.2.5", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/9cd80396ca58d7969ab44fc7afcf03624dfa526e", + "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e", + "shasum": "" + }, + "require": { + "php": ">=7.2 <8.2" + }, + "conflict": { + "nette/di": "<3.0.6" + }, + "require-dev": { + "nette/tester": "~2.0", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.3" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", + "ext-xml": "to use Strings::length() etc. when mbstring is not available" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v3.2.5" + }, + "time": "2021-09-20T10:50:11+00:00" + }, { "name": "nikic/php-parser", - "version": "v4.15.1", + "version": "v4.15.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900" + "reference": "617d0220b903895537b25791f52af4698dd19339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", - "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/617d0220b903895537b25791f52af4698dd19339", + "reference": "617d0220b903895537b25791f52af4698dd19339", "shasum": "" }, "require": { @@ -3706,9 +3667,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.0" }, - "time": "2022-09-04T07:30:47+00:00" + "time": "2022-09-03T19:54:32+00:00" }, { "name": "nikolaposa/version", @@ -3773,41 +3734,42 @@ }, { "name": "nunomaduro/collision", - "version": "v6.0.0", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "5338ecc3909ef3ed150f6408f14e44cdb62bfdd0" + "reference": "f05978827b9343cba381ca05b8c7deee346b6015" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/5338ecc3909ef3ed150f6408f14e44cdb62bfdd0", - "reference": "5338ecc3909ef3ed150f6408f14e44cdb62bfdd0", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f05978827b9343cba381ca05b8c7deee346b6015", + "reference": "f05978827b9343cba381ca05b8c7deee346b6015", "shasum": "" }, "require": { - "facade/ignition-contracts": "^1.0.2", "filp/whoops": "^2.14.5", "php": "^8.0.0", "symfony/console": "^6.0.2" }, "require-dev": { "brianium/paratest": "^6.4.1", - "laravel/framework": "^9.0", - "nunomaduro/larastan": "^1.0.2", + "laravel/framework": "^9.26.1", + "laravel/pint": "^1.1.1", + "nunomaduro/larastan": "^1.0.3", "nunomaduro/mock-final-classes": "^1.1.0", - "orchestra/testbench": "^7.0.0", - "phpunit/phpunit": "^9.5.11" + "orchestra/testbench": "^7.7", + "phpunit/phpunit": "^9.5.23", + "spatie/ignition": "^1.4.1" }, "type": "library", "extra": { - "branch-alias": { - "dev-develop": "6.x-dev" - }, "laravel": { "providers": [ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" ] + }, + "branch-alias": { + "dev-develop": "6.x-dev" } }, "autoload": { @@ -3856,7 +3818,7 @@ "type": "patreon" } ], - "time": "2022-01-10T17:17:19+00:00" + "time": "2023-01-03T12:54:54+00:00" }, { "name": "ocramius/package-versions", @@ -4053,16 +4015,16 @@ }, { "name": "orklah/psalm-insane-comparison", - "version": "v2.0.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/orklah/psalm-insane-comparison.git", - "reference": "659164543e044446e04e93ac54648e16a28310bf" + "reference": "f0e44bf31678d189c8ee4556598d0ad6e3f853c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orklah/psalm-insane-comparison/zipball/659164543e044446e04e93ac54648e16a28310bf", - "reference": "659164543e044446e04e93ac54648e16a28310bf", + "url": "https://api.github.com/repos/orklah/psalm-insane-comparison/zipball/f0e44bf31678d189c8ee4556598d0ad6e3f853c9", + "reference": "f0e44bf31678d189c8ee4556598d0ad6e3f853c9", "shasum": "" }, "require": { @@ -4071,7 +4033,7 @@ }, "require-dev": { "nikic/php-parser": "^4.0", - "vimeo/psalm": "^4.0" + "vimeo/psalm": "^4.0|^5" }, "type": "psalm-plugin", "extra": { @@ -4101,9 +4063,9 @@ "description": "Detects possible insane comparison (\"string\" == 0) to help migrate to PHP8", "support": { "issues": "https://github.com/orklah/psalm-insane-comparison/issues", - "source": "https://github.com/orklah/psalm-insane-comparison/tree/v2.0.0" + "source": "https://github.com/orklah/psalm-insane-comparison/tree/v2.2.0" }, - "time": "2022-01-10T17:38:52+00:00" + "time": "2023-01-06T09:06:11+00:00" }, { "name": "pepakriz/phpstan-exception-rules", @@ -4137,13 +4099,13 @@ }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, "phpstan": { "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-master": "0.12-dev" } }, "autoload": { @@ -4275,16 +4237,16 @@ }, { "name": "php-coveralls/php-coveralls", - "version": "v2.5.2", + "version": "v2.5.3", "source": { "type": "git", "url": "https://github.com/php-coveralls/php-coveralls.git", - "reference": "007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4" + "reference": "9d8243bbf0e053333692857c98fab7cfba0d60a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4", - "reference": "007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4", + "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/9d8243bbf0e053333692857c98fab7cfba0d60a9", + "reference": "9d8243bbf0e053333692857c98fab7cfba0d60a9", "shasum": "" }, "require": { @@ -4299,7 +4261,7 @@ "symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || >=8.0 <8.5.29 || >=9.0 <9.5.23", "sanmai/phpunit-legacy-adapter": "^6.1 || ^8.0" }, "suggest": { @@ -4352,9 +4314,9 @@ ], "support": { "issues": "https://github.com/php-coveralls/php-coveralls/issues", - "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.5.2" + "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.5.3" }, - "time": "2021-12-06T17:05:08+00:00" + "time": "2022-09-12T20:47:09+00:00" }, { "name": "php-parallel-lint/php-console-color", @@ -4725,21 +4687,21 @@ }, { "name": "phpspec/prophecy", - "version": "v1.15.0", + "version": "v1.16.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be8cac52a0827776ff9ccda8c381ac5b71aeb359", + "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.2", + "php": "^7.2 || 8.0.* || 8.1.* || 8.2.*", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" @@ -4786,9 +4748,9 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.16.0" }, - "time": "2021-12-08T12:19:24+00:00" + "time": "2022-11-29T15:06:56+00:00" }, { "name": "phpspec/prophecy-phpunit", @@ -4844,36 +4806,31 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "0.5.1", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "b2169b6c87a97f509893323c448aceb9429357c8" + "reference": "5f13698464773fa6f5392a9e311f81e23e9c3ba7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/b2169b6c87a97f509893323c448aceb9429357c8", - "reference": "b2169b6c87a97f509893323c448aceb9429357c8", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5f13698464773fa6f5392a9e311f81e23e9c3ba7", + "reference": "5f13698464773fa6f5392a9e311f81e23e9c3ba7", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phing/phing": "^2.16.3", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.60", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^7.5.20", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.5-dev" - } - }, "autoload": { "psr-4": { "PHPStan\\PhpDocParser\\": [ @@ -4888,22 +4845,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/0.5.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.12.0" }, - "time": "2021-03-19T10:54:26+00:00" + "time": "2022-10-20T07:49:58+00:00" }, { "name": "phpstan/phpstan", - "version": "1.8.2", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c53312ecc575caf07b0e90dee43883fdf90ca67c" + "reference": "709999b91448d4f2bb07daffffedc889b33e461c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c53312ecc575caf07b0e90dee43883fdf90ca67c", - "reference": "c53312ecc575caf07b0e90dee43883fdf90ca67c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/709999b91448d4f2bb07daffffedc889b33e461c", + "reference": "709999b91448d4f2bb07daffffedc889b33e461c", "shasum": "" }, "require": { @@ -4927,9 +4884,13 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.8.2" + "source": "https://github.com/phpstan/phpstan/tree/1.9.3" }, "funding": [ { @@ -4940,45 +4901,39 @@ "url": "https://github.com/phpstan", "type": "github" }, - { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" - }, { "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", "type": "tidelift" } ], - "time": "2022-07-20T09:57:31+00:00" + "time": "2022-12-13T10:28:10+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.0.0", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682" + "reference": "f6e02de43f10c3f7c5ef86c125d9eedef94558cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", - "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f6e02de43f10c3f7c5ef86c125d9eedef94558cf", + "reference": "f6e02de43f10c3f7c5ef86c125d9eedef94558cf", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.9.3" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-php-parser": "^1.1", "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -4997,27 +4952,27 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.0" }, - "time": "2021-09-23T11:02:21+00:00" + "time": "2022-12-07T16:49:11+00:00" }, { "name": "phpstan/phpstan-php-parser", - "version": "1.0.0", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-php-parser.git", - "reference": "b4fe8703df4841a59fd61571687e3bebe896cd6d" + "reference": "1c7670dd92da864b5d019f22d9f512a6ae18b78e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-php-parser/zipball/b4fe8703df4841a59fd61571687e3bebe896cd6d", - "reference": "b4fe8703df4841a59fd61571687e3bebe896cd6d", + "url": "https://api.github.com/repos/phpstan/phpstan-php-parser/zipball/1c7670dd92da864b5d019f22d9f512a6ae18b78e", + "reference": "1c7670dd92da864b5d019f22d9f512a6ae18b78e", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "phpstan/phpstan": "^1.3" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -5028,7 +4983,7 @@ "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.1-dev" }, "phpstan": { "includes": [ @@ -5048,28 +5003,28 @@ "description": "PHP-Parser extensions for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-php-parser/issues", - "source": "https://github.com/phpstan/phpstan-php-parser/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-php-parser/tree/1.1.0" }, "abandoned": true, - "time": "2021-09-13T11:29:18+00:00" + "time": "2021-12-16T19:43:32+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "1.0.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3" + "reference": "4c06b7e3f2c40081334d86975350dda814bd064a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", - "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/4c06b7e3f2c40081334d86975350dda814bd064a", + "reference": "4c06b7e3f2c40081334d86975350dda814bd064a", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.9.0" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -5082,9 +5037,6 @@ }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "extension.neon", @@ -5104,27 +5056,27 @@ "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.0.0" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.0" }, - "time": "2021-10-14T08:03:54+00:00" + "time": "2022-12-07T15:46:24+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "1.1.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "e12d55f74a8cca18c6e684c6450767e055ba7717" + "reference": "a73b39739b5e165a7a40075ecf05c4385f6c0d1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/e12d55f74a8cca18c6e684c6450767e055ba7717", - "reference": "e12d55f74a8cca18c6e684c6450767e055ba7717", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/a73b39739b5e165a7a40075ecf05c4385f6c0d1b", + "reference": "a73b39739b5e165a7a40075ecf05c4385f6c0d1b", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.2.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.7.15" }, "require-dev": { "nikic/php-parser": "^4.13.0", @@ -5134,9 +5086,6 @@ }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -5155,9 +5104,9 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.1.0" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.0" }, - "time": "2021-11-18T09:30:29+00:00" + "time": "2022-08-23T15:07:03+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5479,16 +5428,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.21", + "version": "9.5.27", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1" + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0e32b76be457de00e83213528f6bb37e2a38fcb1", - "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", "shasum": "" }, "require": { @@ -5503,7 +5452,6 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpspec/prophecy": "^1.12.1", "phpunit/php-code-coverage": "^9.2.13", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", @@ -5511,19 +5459,16 @@ "phpunit/php-timer": "^5.0.2", "sebastian/cli-parser": "^1.0.1", "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.5", + "sebastian/comparator": "^4.0.8", "sebastian/diff": "^4.0.3", "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.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.0", + "sebastian/type": "^3.2", "sebastian/version": "^3.0.2" }, - "require-dev": { - "phpspec/prophecy-phpunit": "^2.0.1" - }, "suggest": { "ext-soap": "*", "ext-xdebug": "*" @@ -5565,7 +5510,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.21" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" }, "funding": [ { @@ -5575,22 +5520,26 @@ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2022-06-19T12:14:25+00:00" + "time": "2022-12-09T07:31:23+00:00" }, { "name": "psalm/plugin-phpunit", - "version": "0.17.0", + "version": "0.18.4", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-phpunit.git", - "reference": "45951541beef07e93e3ad197daf01da88e85c31d" + "reference": "e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/45951541beef07e93e3ad197daf01da88e85c31d", - "reference": "45951541beef07e93e3ad197daf01da88e85c31d", + "url": "https://api.github.com/repos/psalm/psalm-plugin-phpunit/zipball/e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc", + "reference": "e4ab3096653d9eb6f6d0ea5f4461898d59ae4dbc", "shasum": "" }, "require": { @@ -5598,7 +5547,7 @@ "composer/semver": "^1.4 || ^2.0 || ^3.0", "ext-simplexml": "*", "php": "^7.1 || ^8.0", - "vimeo/psalm": "dev-master || dev-4.x || ^4.5" + "vimeo/psalm": "dev-master || dev-4.x || ^4.7.1 || ^5@beta || ^5.0" }, "conflict": { "phpunit/phpunit": "<7.5" @@ -5635,31 +5584,31 @@ "description": "Psalm plugin for PHPUnit", "support": { "issues": "https://github.com/psalm/psalm-plugin-phpunit/issues", - "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.17.0" + "source": "https://github.com/psalm/psalm-plugin-phpunit/tree/0.18.4" }, - "time": "2022-06-14T17:05:57+00:00" + "time": "2022-12-03T07:47:07+00:00" }, { "name": "psr/container", - "version": "2.0.2", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "reference": "9fc7aab7a78057a124384358ebae8a1711b6f6fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/container/zipball/9fc7aab7a78057a124384358ebae8a1711b6f6fc", + "reference": "9fc7aab7a78057a124384358ebae8a1711b6f6fc", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -5688,27 +5637,26 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/container/tree/1.1.0" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2021-03-05T15:48:30+00:00" }, { - "name": "psr/http-client", - "version": "1.0.3", + "name": "psr/http-message", + "version": "1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + "url": "https://github.com/php-fig/http-message.git", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" + "php": ">=5.3.0" }, "type": "library", "extra": { @@ -5718,7 +5666,7 @@ }, "autoload": { "psr-4": { - "Psr\\Http\\Client\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5728,39 +5676,40 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "homepage": "http://www.php-fig.org/" } ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", + "description": "Common interface for HTTP messages", "keywords": [ "http", - "http-client", + "http-message", "psr", - "psr-18" + "psr-7", + "request", + "response" ], "support": { - "source": "https://github.com/php-fig/http-client" + "issues": "https://github.com/php-fig/http-message/issues", + "source": "https://github.com/php-fig/http-message/tree/master" }, - "time": "2023-09-23T14:17:50+00:00" + "time": "2015-05-04T20:22:00+00:00" }, { - "name": "psr/http-factory", + "name": "psr/log", "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + "url": "https://github.com/php-fig/log.git", + "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", + "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd", "shasum": "" }, "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" + "php": ">=5.3.0" }, "type": "library", "extra": { @@ -5770,7 +5719,7 @@ }, "autoload": { "psr-4": { - "Psr\\Http\\Message\\": "src/" + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5780,51 +5729,50 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "homepage": "http://www.php-fig.org/" } ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "factory", - "http", - "message", + "log", "psr", - "psr-17", - "psr-7", - "request", - "response" + "psr-3" ], "support": { - "source": "https://github.com/php-fig/http-factory" + "source": "https://github.com/php-fig/log/tree/master" }, - "time": "2024-04-15T12:06:14+00:00" + "time": "2018-11-20T15:27:04+00:00" }, { - "name": "psr/http-message", - "version": "2.0", + "name": "react/promise-timer", + "version": "v1.5.0", "source": { "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + "url": "https://github.com/reactphp/promise-timer.git", + "reference": "a11206938ca2394dc7bb368f5da25cd4533fa603" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/a11206938ca2394dc7bb368f5da25cd4533fa603", + "reference": "a11206938ca2394dc7bb368f5da25cd4533fa603", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": ">=5.3", + "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", + "react/promise": "^2.7.0 || ^1.2.1" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" }, + "type": "library", "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { - "Psr\\Http\\Message\\": "src/" + "React\\Promise\\Timer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5833,51 +5781,70 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Christian Lück", + "email": "christian@lueck.tv" } ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", + "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.", + "homepage": "https://github.com/reactphp/promise-timer", "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" + "async", + "event-loop", + "promise", + "reactphp", + "timeout", + "timer" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" + "issues": "https://github.com/reactphp/promise-timer/issues", + "source": "https://github.com/reactphp/promise-timer/tree/v1.5.0" }, - "time": "2023-04-04T09:54:51+00:00" + "time": "2018-06-13T16:45:37+00:00" }, { - "name": "psr/log", - "version": "2.0.0", + "name": "roave/backward-compatibility-check", + "version": "7.1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" + "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", + "reference": "10abd71ae2b1ffe79b216312c4dd01455eee4eb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", - "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", + "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/10abd71ae2b1ffe79b216312c4dd01455eee4eb5", + "reference": "10abd71ae2b1ffe79b216312c4dd01455eee4eb5", "shasum": "" }, "require": { - "php": ">=8.0.0" + "azjezz/psl": "^1.9.3", + "composer/composer": "^2.4.1", + "ext-json": "*", + "nikolaposa/version": "^4.1.0", + "ocramius/package-versions": "^2.5.1", + "php": "~8.0.0 || ~8.1.0", + "roave/better-reflection": "^5.9.0", + "symfony/console": "^6.0.12" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } + "conflict": { + "symfony/process": "<5.3.7" + }, + "require-dev": { + "doctrine/coding-standard": "^10.0.0", + "php-standard-library/psalm-plugin": "^1.1.5", + "phpunit/phpunit": "^9.5.23", + "psalm/plugin-phpunit": "^0.17.0", + "roave/infection-static-analysis-plugin": "^1.21", + "roave/security-advisories": "dev-master", + "squizlabs/php_codesniffer": "^3.7.1", + "vimeo/psalm": "^4.26.0" }, + "bin": [ + "bin/roave-backward-compatibility-check" + ], + "type": "library", "autoload": { "psr-4": { - "Psr\\Log\\": "src" + "Roave\\BackwardCompatibility\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5886,294 +5853,52 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/2.0.0" - }, - "time": "2021-07-14T16:41:46+00:00" - }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, - "time": "2019-03-08T08:55:37+00:00" - }, - { - "name": "react/promise-timer", - "version": "v1.5.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise-timer.git", - "reference": "a11206938ca2394dc7bb368f5da25cd4533fa603" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/a11206938ca2394dc7bb368f5da25cd4533fa603", - "reference": "a11206938ca2394dc7bb368f5da25cd4533fa603", - "shasum": "" - }, - "require": { - "php": ">=5.3", - "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5", - "react/promise": "^2.7.0 || ^1.2.1" - }, - "require-dev": { - "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "React\\Promise\\Timer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christian Lück", - "email": "christian@lueck.tv" - } - ], - "description": "A trivial implementation of timeouts for Promises, built on top of ReactPHP.", - "homepage": "https://github.com/reactphp/promise-timer", - "keywords": [ - "async", - "event-loop", - "promise", - "reactphp", - "timeout", - "timer" - ], - "support": { - "issues": "https://github.com/reactphp/promise-timer/issues", - "source": "https://github.com/reactphp/promise-timer/tree/v1.5.0" - }, - "time": "2018-06-13T16:45:37+00:00" - }, - { - "name": "revolt/event-loop", - "version": "v0.2.5", - "source": { - "type": "git", - "url": "https://github.com/revoltphp/event-loop.git", - "reference": "4e7455506d9ff61f3705b76a20a8f12ad4dc1552" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/4e7455506d9ff61f3705b76a20a8f12ad4dc1552", - "reference": "4e7455506d9ff61f3705b76a20a8f12ad4dc1552", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "require-dev": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^9", - "psalm/phar": "^4.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Revolt\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "ceesjank@gmail.com" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Rock-solid event loop for concurrent PHP applications.", - "keywords": [ - "async", - "asynchronous", - "concurrency", - "event", - "event-loop", - "non-blocking", - "scheduler" - ], - "support": { - "issues": "https://github.com/revoltphp/event-loop/issues", - "source": "https://github.com/revoltphp/event-loop/tree/v0.2.5" - }, - "time": "2022-08-01T03:01:07+00:00" - }, - { - "name": "roave/backward-compatibility-check", - "version": "7.2.0", - "source": { - "type": "git", - "url": "https://github.com/Roave/BackwardCompatibilityCheck.git", - "reference": "f21e629c40a5f292d0c709e2498f96566d1a0818" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/BackwardCompatibilityCheck/zipball/f21e629c40a5f292d0c709e2498f96566d1a0818", - "reference": "f21e629c40a5f292d0c709e2498f96566d1a0818", - "shasum": "" - }, - "require": { - "azjezz/psl": "^2.0.4", - "composer/composer": "^2.4.2", - "ext-json": "*", - "nikolaposa/version": "^4.1.0", - "ocramius/package-versions": "^2.5.1", - "php": "~8.1.0 || ~8.2.0", - "roave/better-reflection": "^6.2.0", - "symfony/console": "^6.0.13" - }, - "conflict": { - "revolt/event-loop": "<0.2.5", - "symfony/process": "<5.3.7" - }, - "require-dev": { - "doctrine/coding-standard": "^10.0.0", - "php-standard-library/psalm-plugin": "^2.0.2", - "phpunit/phpunit": "^9.5.25", - "psalm/plugin-phpunit": "^0.17.0", - "roave/infection-static-analysis-plugin": "^1.23", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.7.1", - "vimeo/psalm": "^4.28.0" - }, - "bin": [ - "bin/roave-backward-compatibility-check" - ], - "type": "library", - "autoload": { - "psr-4": { - "Roave\\BackwardCompatibility\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "James Titcumb", - "email": "james@asgrim.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "James Titcumb", + "email": "james@asgrim.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" } ], "description": "Tool to compare two revisions of a public API to check for BC breaks", "support": { "issues": "https://github.com/Roave/BackwardCompatibilityCheck/issues", - "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/7.2.0" + "source": "https://github.com/Roave/BackwardCompatibilityCheck/tree/7.1.0" }, - "time": "2022-10-10T19:58:35+00:00" + "time": "2022-08-29T08:47:16+00:00" }, { "name": "roave/better-reflection", - "version": "6.2.0", + "version": "5.9.0", "source": { "type": "git", "url": "https://github.com/Roave/BetterReflection.git", - "reference": "55b947fe0b929ec6ec4d40d6b4a37b7e6bf2496b" + "reference": "cc16e7f3ba0115e8155880cca1d7f3868d2cfa7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/55b947fe0b929ec6ec4d40d6b4a37b7e6bf2496b", - "reference": "55b947fe0b929ec6ec4d40d6b4a37b7e6bf2496b", + "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/cc16e7f3ba0115e8155880cca1d7f3868d2cfa7f", + "reference": "cc16e7f3ba0115e8155880cca1d7f3868d2cfa7f", "shasum": "" }, "require": { "ext-json": "*", "jetbrains/phpstorm-stubs": "2022.2", - "nikic/php-parser": "^4.15.1", - "php": "~8.0.12 || ~8.1.0 || ~8.2.0", - "roave/signature": "^1.6" + "nikic/php-parser": "^4.14.0", + "php": "~8.0.12 || ~8.1.0", + "roave/signature": "^1.5" }, "conflict": { "thecodingmachine/safe": "<1.1.3" }, "require-dev": { "doctrine/coding-standard": "^10.0.0", - "phpstan/phpstan": "^1.8.8", + "phpstan/phpstan": "^1.8.2", "phpstan/phpstan-phpunit": "^1.1.1", - "phpunit/phpunit": "^9.5.25", - "roave/infection-static-analysis-plugin": "^1.23.0", - "vimeo/psalm": "^4.27" + "phpunit/phpunit": "^9.5.23", + "roave/infection-static-analysis-plugin": "^1.21.0", + "vimeo/psalm": "^4.26" }, "suggest": { "composer/composer": "Required to use the ComposerSourceLocator" @@ -6213,34 +5938,34 @@ "description": "Better Reflection - an improved code reflection API", "support": { "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/6.2.0" + "source": "https://github.com/Roave/BetterReflection/tree/5.9.0" }, - "time": "2022-10-08T10:54:38+00:00" + "time": "2022-08-26T17:54:20+00:00" }, { "name": "roave/infection-static-analysis-plugin", - "version": "1.18.0", + "version": "1.25.0", "source": { "type": "git", "url": "https://github.com/Roave/infection-static-analysis-plugin.git", - "reference": "f7e2194b1390fc9fa900e0ec123edea7112d0c18" + "reference": "f0b6b72dc9e378fdf0cadf440bc2b8061333392e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/infection-static-analysis-plugin/zipball/f7e2194b1390fc9fa900e0ec123edea7112d0c18", - "reference": "f7e2194b1390fc9fa900e0ec123edea7112d0c18", + "url": "https://api.github.com/repos/Roave/infection-static-analysis-plugin/zipball/f0b6b72dc9e378fdf0cadf440bc2b8061333392e", + "reference": "f0b6b72dc9e378fdf0cadf440bc2b8061333392e", "shasum": "" }, "require": { - "infection/infection": "0.26.6", + "infection/infection": "0.26.16", "ocramius/package-versions": "^1.9.0 || ^2.0.0", - "php": "~7.4.7|~8.0.0|~8.1.0", + "php": "~8.0.0|~8.1.0|~8.2.0", "sanmai/later": "^0.1.2", - "vimeo/psalm": "^4.22.0" + "vimeo/psalm": "^4.29.0" }, "require-dev": { - "doctrine/coding-standard": "^9.0.0", - "phpunit/phpunit": "^9.5.18" + "doctrine/coding-standard": "^10.0.0", + "phpunit/phpunit": "^9.5.25" }, "bin": [ "bin/roave-infection-static-analysis-plugin" @@ -6264,32 +5989,32 @@ "description": "Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis", "support": { "issues": "https://github.com/Roave/infection-static-analysis-plugin/issues", - "source": "https://github.com/Roave/infection-static-analysis-plugin/tree/1.18.0" + "source": "https://github.com/Roave/infection-static-analysis-plugin/tree/1.25.0" }, - "time": "2022-03-08T08:35:20+00:00" + "time": "2022-10-22T11:43:05+00:00" }, { "name": "roave/signature", - "version": "1.6.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/Roave/Signature.git", - "reference": "ed898589a3088217e6aa4f4a77d7b2b8f5e91a8a" + "reference": "b100e2c40e51f3c56a0b29faf3e7ca75c33df60b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/ed898589a3088217e6aa4f4a77d7b2b8f5e91a8a", - "reference": "ed898589a3088217e6aa4f4a77d7b2b8f5e91a8a", + "url": "https://api.github.com/repos/Roave/Signature/zipball/b100e2c40e51f3c56a0b29faf3e7ca75c33df60b", + "reference": "b100e2c40e51f3c56a0b29faf3e7ca75c33df60b", "shasum": "" }, "require": { - "php": "7.4.*|8.0.*|8.1.*|8.2.*" + "php": "7.4.*|8.0.*|8.1.*" }, "require-dev": { - "doctrine/coding-standard": "^10.0.0", - "infection/infection": "^0.26.6", + "doctrine/coding-standard": "^9.0", + "infection/infection": "^0.25.1", "phpunit/phpunit": "^9.5.9", - "vimeo/psalm": "^4.27.0" + "vimeo/psalm": "^4.10.1" }, "type": "library", "autoload": { @@ -6304,9 +6029,9 @@ "description": "Sign and verify stuff", "support": { "issues": "https://github.com/Roave/Signature/issues", - "source": "https://github.com/Roave/Signature/tree/1.6.0" + "source": "https://github.com/Roave/Signature/tree/1.5.0" }, - "time": "2022-09-06T11:01:18+00:00" + "time": "2021-09-18T13:37:44+00:00" }, { "name": "sanmai/later", @@ -6600,16 +6325,16 @@ }, { "name": "sebastian/comparator", - "version": "4.0.5", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "7a8ff306445707539c1a6397372a982a1ec55120" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7a8ff306445707539c1a6397372a982a1ec55120", - "reference": "7a8ff306445707539c1a6397372a982a1ec55120", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { @@ -6662,7 +6387,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -6670,7 +6395,7 @@ "type": "github" } ], - "time": "2020-09-30T06:47:25+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", @@ -6860,16 +6585,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { @@ -6918,14 +6643,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -6933,7 +6658,7 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", @@ -7288,16 +7013,16 @@ }, { "name": "sebastian/type", - "version": "3.0.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", "shasum": "" }, "require": { @@ -7309,7 +7034,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -7332,7 +7057,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" }, "funding": [ { @@ -7340,7 +7065,7 @@ "type": "github" } ], - "time": "2022-03-15T09:54:48+00:00" + "time": "2022-09-12T14:47:03+00:00" }, { "name": "sebastian/version", @@ -7397,24 +7122,23 @@ }, { "name": "seld/jsonlint", - "version": "1.11.0", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "1748aaf847fc731cfad7725aec413ee46f0cc3a2" + "reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/1748aaf847fc731cfad7725aec413ee46f0cc3a2", - "reference": "1748aaf847fc731cfad7725aec413ee46f0cc3a2", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1", + "reference": "ff2aa5420bfbc296cf6a0bc785fa5b35736de7c1", "shasum": "" }, "require": { "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.11", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "bin": [ "bin/jsonlint" @@ -7433,7 +7157,7 @@ { "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" + "homepage": "http://seld.be" } ], "description": "JSON Linter", @@ -7445,7 +7169,7 @@ ], "support": { "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.11.0" + "source": "https://github.com/Seldaek/jsonlint/tree/master" }, "funding": [ { @@ -7457,20 +7181,20 @@ "type": "tidelift" } ], - "time": "2024-07-11T14:55:45+00:00" + "time": "2020-04-30T19:05:18+00:00" }, { "name": "seld/phar-utils", - "version": "1.2.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" + "reference": "9f3452c93ff423469c0d56450431562ca423dcee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/9f3452c93ff423469c0d56450431562ca423dcee", + "reference": "9f3452c93ff423469c0d56450431562ca423dcee", "shasum": "" }, "require": { @@ -7503,22 +7227,22 @@ ], "support": { "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" + "source": "https://github.com/Seldaek/phar-utils/tree/1.2.0" }, - "time": "2022-08-31T10:31:18+00:00" + "time": "2021-12-10T11:20:11+00:00" }, { "name": "seld/signal-handler", - "version": "2.0.2", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/Seldaek/signal-handler.git", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" + "reference": "e1ac658a54dbe15dcda621fa95a2248e10566bcb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", + "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/e1ac658a54dbe15dcda621fa95a2248e10566bcb", + "reference": "e1ac658a54dbe15dcda621fa95a2248e10566bcb", "shasum": "" }, "require": { @@ -7564,38 +7288,38 @@ ], "support": { "issues": "https://github.com/Seldaek/signal-handler/issues", - "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" + "source": "https://github.com/Seldaek/signal-handler/tree/2.0.0" }, - "time": "2023-09-03T09:24:00+00:00" + "time": "2022-07-20T14:27:19+00:00" }, { "name": "slevomat/coding-standard", - "version": "7.0.14", + "version": "7.0.16", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "15b2b4630c148775debea8e412bc7e128d9868a3" + "reference": "14c324b2f2f0072933036c2f3abaeda16a56dcd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/15b2b4630c148775debea8e412bc7e128d9868a3", - "reference": "15b2b4630c148775debea8e412bc7e128d9868a3", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/14c324b2f2f0072933036c2f3abaeda16a56dcd3", + "reference": "14c324b2f2f0072933036c2f3abaeda16a56dcd3", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "0.5.1 - 0.5.5", - "squizlabs/php_codesniffer": "^3.6.0" + "phpstan/phpdoc-parser": "^1.0.0", + "squizlabs/php_codesniffer": "^3.6.1" }, "require-dev": { - "phing/phing": "2.16.4", + "phing/phing": "2.17.0", "php-parallel-lint/php-parallel-lint": "1.3.1", - "phpstan/phpstan": "0.12.96", + "phpstan/phpstan": "0.12.99", "phpstan/phpstan-deprecation-rules": "0.12.6", "phpstan/phpstan-phpunit": "0.12.22", "phpstan/phpstan-strict-rules": "0.12.11", - "phpunit/phpunit": "7.5.20|8.5.5|9.5.8" + "phpunit/phpunit": "7.5.20|8.5.5|9.5.10" }, "type": "phpcodesniffer-standard", "extra": { @@ -7615,7 +7339,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.14" + "source": "https://github.com/slevomat/coding-standard/tree/7.0.16" }, "funding": [ { @@ -7627,7 +7351,7 @@ "type": "tidelift" } ], - "time": "2021-08-26T12:17:56+00:00" + "time": "2021-10-22T06:56:51+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -7780,24 +7504,23 @@ }, { "name": "symfony/console", - "version": "v6.4.15", + "version": "v6.0.12", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd" + "reference": "c5c2e313aa682530167c25077d6bdff36346251e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", + "url": "https://api.github.com/repos/symfony/console/zipball/c5c2e313aa682530167c25077d6bdff36346251e", + "reference": "c5c2e313aa682530167c25077d6bdff36346251e", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0|^7.0" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -7811,16 +7534,18 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^5.4|^6.0|^7.0", - "symfony/messenger": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/stopwatch": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" }, "type": "library", "autoload": { @@ -7849,12 +7574,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.15" + "source": "https://github.com/symfony/console/tree/v6.0.12" }, "funding": [ { @@ -7870,7 +7595,7 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:19:14+00:00" + "time": "2022-08-23T20:52:30+00:00" }, { "name": "symfony/dependency-injection", @@ -7962,29 +7687,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.1", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + "reference": "dd99cb3a0aff6cadd2a8d7d7ed72c2161e218337" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/dd99cb3a0aff6cadd2a8d7d7ed72c2161e218337", + "reference": "dd99cb3a0aff6cadd2a8d7d7ed72c2161e218337", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-master": "2.1-dev" } }, "autoload": { @@ -8009,7 +7730,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.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.1.2" }, "funding": [ { @@ -8025,29 +7746,27 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2020-05-27T08:34:37+00:00" }, { "name": "symfony/filesystem", - "version": "v6.4.13", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3" + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3", - "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/731f917dc31edcffec2c6a777f3698c33bea8f01", + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" - }, - "require-dev": { - "symfony/process": "^5.4|^6.4|^7.0" + "symfony/polyfill-mbstring": "~1.8", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -8075,7 +7794,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.13" + "source": "https://github.com/symfony/filesystem/tree/v5.4.0" }, "funding": [ { @@ -8091,27 +7810,26 @@ "type": "tidelift" } ], - "time": "2024-10-25T15:07:50+00:00" + "time": "2021-10-28T13:39:27+00:00" }, { "name": "symfony/finder", - "version": "v6.4.13", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958" + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/daea9eca0b08d0ed1dc9ab702a46128fd1be4958", - "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958", + "url": "https://api.github.com/repos/symfony/finder/zipball/d2f29dac98e96a98be467627bd49c2efb1bc2590", + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590", "shasum": "" }, "require": { - "php": ">=8.1" - }, - "require-dev": { - "symfony/filesystem": "^6.0|^7.0" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -8139,7 +7857,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.13" + "source": "https://github.com/symfony/finder/tree/v5.4.0" }, "funding": [ { @@ -8155,112 +7873,148 @@ "type": "tidelift" } ], - "time": "2024-10-01T08:30:56+00:00" + "time": "2021-11-28T15:25:38+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "name": "symfony/inflector", + "version": "v3.4.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "url": "https://github.com/symfony/inflector.git", + "reference": "8b7161c60d9481f8564df09987fe51e7edfadfce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/inflector/zipball/8b7161c60d9481f8564df09987fe51e7edfadfce", + "reference": "8b7161c60d9481f8564df09987fe51e7edfadfce", "shasum": "" }, "require": { - "php": ">=7.2" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" + "php": "^5.5.9|>=7.0.8" }, "type": "library", "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" + "branch-alias": { + "dev-master": "3.4-dev" } }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, + "Symfony\\Component\\Inflector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Symfony Inflector Component", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" + "inflection", + "pluralize", + "singularize", + "string", + "symfony", + "words" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/inflector/tree/3.4" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, + "abandoned": "EnglishInflector from the String component", + "time": "2017-08-03T09:34:20+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.8.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", + "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "url": "https://github.com/fabpot", - "type": "github" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" } ], - "time": "2024-09-09T11:45:10+00:00" + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/master" + }, + "time": "2018-04-30T19:57:29+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.0.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + "reference": "9332d285b58a16b144b3bf0bfd3b6334d9a43006" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/9332d285b58a16b144b3bf0bfd3b6334d9a43006", + "reference": "9332d285b58a16b144b3bf0bfd3b6334d9a43006", "shasum": "" }, "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" + "php": ">=5.3.3" }, "type": "library", "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { @@ -8296,49 +8050,31 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2015-11-04T20:28:58+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.0.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" + "reference": "b0235b9e98e224821e23018a9487764ad6dec859" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", - "reference": "3833d7255cc303546435cb650316bff708a1c75c", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/b0235b9e98e224821e23018a9487764ad6dec859", + "reference": "b0235b9e98e224821e23018a9487764ad6dec859", "shasum": "" }, "require": { - "php": ">=7.2" - }, - "suggest": { - "ext-intl": "For best performance" + "php": ">=5.3.3" }, "type": "library", "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { @@ -8377,52 +8113,34 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2015-11-04T20:28:58+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "3296adf6a6454a050679cde90f95350ad604b171" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", + "reference": "3296adf6a6454a050679cde90f95350ad604b171", "shasum": "" }, "require": { - "php": ">=7.2" - }, - "provide": { - "ext-mbstring": "*" + "php": ">=5.3.3" }, "suggest": { "ext-mbstring": "For best performance" }, "type": "library", "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" + "branch-alias": { + "dev-master": "1.8-dev" } }, "autoload": { @@ -8457,46 +8175,35 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/master" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2018-04-26T10:06:28+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.31.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb" + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f68c03565dcaaf25a890667542e8bd75fe7e5bb", - "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.1" }, "type": "library", "extra": { "thanks": { "url": "https://github.com/symfony/polyfill", "name": "symfony/polyfill" + }, + "branch-alias": { + "dev-main": "1.23-dev" } }, "autoload": { @@ -8533,7 +8240,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0" }, "funding": [ { @@ -8549,30 +8256,33 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2021-06-05T21:20:04+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.31.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.1" }, "type": "library", "extra": { "thanks": { "url": "https://github.com/symfony/polyfill", "name": "symfony/polyfill" + }, + "branch-alias": { + "dev-main": "1.23-dev" } }, "autoload": { @@ -8613,7 +8323,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" }, "funding": [ { @@ -8629,30 +8339,33 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2022-03-04T08:16:47+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.31.0", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" + "reference": "00dedc6d362a1b863dda3f8243516da9fdfbe657" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", - "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/00dedc6d362a1b863dda3f8243516da9fdfbe657", + "reference": "00dedc6d362a1b863dda3f8243516da9fdfbe657", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.1" }, "type": "library", "extra": { "thanks": { "url": "https://github.com/symfony/polyfill", "name": "symfony/polyfill" + }, + "branch-alias": { + "dev-main": "1.22-dev" } }, "autoload": { @@ -8661,10 +8374,7 @@ ], "psr-4": { "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8689,7 +8399,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.22.0" }, "funding": [ { @@ -8705,24 +8415,25 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/process", - "version": "v6.4.15", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3cb242f059c14ae08591c5c4087d1fe443564392" + "reference": "5be20b3830f726e019162b26223110c8f47cf274" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3cb242f059c14ae08591c5c4087d1fe443564392", - "reference": "3cb242f059c14ae08591c5c4087d1fe443564392", + "url": "https://api.github.com/repos/symfony/process/zipball/5be20b3830f726e019162b26223110c8f47cf274", + "reference": "5be20b3830f726e019162b26223110c8f47cf274", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -8750,7 +8461,91 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.15" + "source": "https://github.com/symfony/process/tree/v5.4.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-11-28T15:25:38+00:00" + }, + { + "name": "symfony/property-access", + "version": "v4.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-access.git", + "reference": "e6d51a8845b862835f5fcaf3c1030a50dc7cc70f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-access/zipball/e6d51a8845b862835f5fcaf3c1030a50dc7cc70f", + "reference": "e6d51a8845b862835f5fcaf3c1030a50dc7cc70f", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/inflector": "^3.4|^4.0|^5.0" + }, + "require-dev": { + "symfony/cache": "^3.4|^4.0|^5.0" + }, + "suggest": { + "psr/cache-implementation": "To cache access methods." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyAccess\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony PropertyAccess Component", + "homepage": "https://symfony.com", + "keywords": [ + "access", + "array", + "extraction", + "index", + "injection", + "object", + "property", + "property path", + "reflection" + ], + "support": { + "source": "https://github.com/symfony/property-access/tree/4.4" }, "funding": [ { @@ -8766,7 +8561,7 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:19:14+00:00" + "time": "2020-05-30T18:50:54+00:00" }, { "name": "symfony/serializer", @@ -8869,43 +8664,39 @@ }, { "name": "symfony/service-contracts", - "version": "v3.5.1", + "version": "v1.1.9", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b776d18b303a39f56c63747bcb977ad4b27aca26", + "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0", - "symfony/deprecation-contracts": "^2.5|^3" + "php": ">=7.1.3", + "psr/container": "^1.0" }, - "conflict": { - "ext-psr": "<1.1|>=2" + "suggest": { + "symfony/service-implementation": "" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-master": "1.1-dev" } }, "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8932,7 +8723,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v1.1.9" }, "funding": [ { @@ -8948,7 +8739,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2020-07-06T13:19:58+00:00" }, { "name": "symfony/stopwatch", @@ -9002,34 +8793,34 @@ }, { "name": "symfony/string", - "version": "v6.4.15", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f" + "reference": "9ffaaba53c61ba75a3c7a3a779051d1e9ec4fd2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", - "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", + "url": "https://api.github.com/repos/symfony/string/zipball/9ffaaba53c61ba75a3c7a3a779051d1e9ec4fd2d", + "reference": "9ffaaba53c61ba75a3c7a3a779051d1e9ec4fd2d", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, "conflict": { - "symfony/translation-contracts": "<2.5" + "symfony/translation-contracts": ">=3.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0|^7.0", - "symfony/http-client": "^5.4|^6.0|^7.0", - "symfony/intl": "^6.2|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0|^7.0" + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { @@ -9068,7 +8859,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.15" + "source": "https://github.com/symfony/string/tree/v5.4.0" }, "funding": [ { @@ -9084,7 +8875,7 @@ "type": "tidelift" } ], - "time": "2024-11-13T13:31:12+00:00" + "time": "2021-11-24T10:02:00+00:00" }, { "name": "symfony/yaml", @@ -9163,37 +8954,37 @@ }, { "name": "thecodingmachine/phpstan-safe-rule", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/thecodingmachine/phpstan-safe-rule.git", - "reference": "71bd8c11aee95a79d2cf3f03200d38605bde2930" + "reference": "8a7b88e0d54f209a488095085f183e9174c40e1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/phpstan-safe-rule/zipball/71bd8c11aee95a79d2cf3f03200d38605bde2930", - "reference": "71bd8c11aee95a79d2cf3f03200d38605bde2930", + "url": "https://api.github.com/repos/thecodingmachine/phpstan-safe-rule/zipball/8a7b88e0d54f209a488095085f183e9174c40e1e", + "reference": "8a7b88e0d54f209a488095085f183e9174c40e1e", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", "phpstan/phpstan": "^1.0", - "thecodingmachine/safe": "^1.0" + "thecodingmachine/safe": "^1.0 || ^2.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^7.5.2", + "phpunit/phpunit": "^7.5.2 || ^8.0", "squizlabs/php_codesniffer": "^3.4" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - }, "phpstan": { "includes": [ "phpstan-safe-rule.neon" ] + }, + "branch-alias": { + "dev-master": "1.1-dev" } }, "autoload": { @@ -9214,9 +9005,9 @@ "description": "A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe", "support": { "issues": "https://github.com/thecodingmachine/phpstan-safe-rule/issues", - "source": "https://github.com/thecodingmachine/phpstan-safe-rule/tree/v1.1.0" + "source": "https://github.com/thecodingmachine/phpstan-safe-rule/tree/v1.2.0" }, - "time": "2021-11-17T11:21:46+00:00" + "time": "2022-01-17T10:12:29+00:00" }, { "name": "thecodingmachine/phpstan-strict-rules", @@ -9242,13 +9033,13 @@ }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "phpstan-strict-rules.neon" ] + }, + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { @@ -9323,18 +9114,71 @@ ], "time": "2020-07-12T23:59:07+00:00" }, + { + "name": "tomasvotruba/cognitive-complexity", + "version": "0.0.5", + "source": { + "type": "git", + "url": "https://github.com/TomasVotruba/cognitive-complexity.git", + "reference": "d14c2619ba8e932e82d941792198e0f9ce41001f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/TomasVotruba/cognitive-complexity/zipball/d14c2619ba8e932e82d941792198e0f9ce41001f", + "reference": "d14c2619ba8e932e82d941792198e0f9ce41001f", + "shasum": "" + }, + "require": { + "nette/utils": "^3.2", + "php": "^8.1", + "phpstan/phpstan": "^1.9.3" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpstan/extension-installer": "^1.2", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.15.1", + "symplify/easy-coding-standard": "^11.1", + "symplify/monorepo-builder": "^11.1", + "tomasvotruba/type-coverage": "^0.0.5", + "tracy/tracy": "^2.9" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "config/extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "TomasVotruba\\CognitiveComplexity\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan rules to measure cognitive complexity of your classes and methods", + "support": { + "issues": "https://github.com/TomasVotruba/cognitive-complexity/issues", + "source": "https://github.com/TomasVotruba/cognitive-complexity/tree/0.0.5" + }, + "time": "2022-12-29T13:35:06+00:00" + }, { "name": "vimeo/psalm", - "version": "v4.25.0", + "version": "4.30.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "d7cd84c4ebca74ba3419b9601f81d177bcbe2aac" + "reference": "d0bc6e25d89f649e4f36a534f330f8bb4643dd69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/d7cd84c4ebca74ba3419b9601f81d177bcbe2aac", - "reference": "d7cd84c4ebca74ba3419b9601f81d177bcbe2aac", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/d0bc6e25d89f649e4f36a534f330f8bb4643dd69", + "reference": "d0bc6e25d89f649e4f36a534f330f8bb4643dd69", "shasum": "" }, "require": { @@ -9373,6 +9217,7 @@ "phpdocumentor/reflection-docblock": "^5", "phpmyadmin/sql-parser": "5.1.0||dev-master", "phpspec/prophecy": ">=1.9.0", + "phpstan/phpdoc-parser": "1.2.* || 1.6.4", "phpunit/phpunit": "^9.0", "psalm/plugin-phpunit": "^0.16", "slevomat/coding-standard": "^7.0", @@ -9394,10 +9239,10 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "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-master": "4.x-dev" } }, "autoload": { @@ -9426,9 +9271,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/v4.25.0" + "source": "https://github.com/vimeo/psalm/tree/4.30.0" }, - "time": "2022-07-25T17:04:37+00:00" + "time": "2022-11-06T20:37:08+00:00" }, { "name": "webmozart/assert", @@ -9591,25 +9436,25 @@ }, { "name": "wyrihaximus/async-test-utilities", - "version": "5.0.0", + "version": "5.0.25", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-async-test-utilities.git", - "reference": "85d0a8f64ea86c09c05a61768f9b281e6c5759d1" + "reference": "5a9c30c489d696da1b7b98af8a6f42bb49793e1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-async-test-utilities/zipball/85d0a8f64ea86c09c05a61768f9b281e6c5759d1", - "reference": "85d0a8f64ea86c09c05a61768f9b281e6c5759d1", + "url": "https://api.github.com/repos/WyriHaximus/php-async-test-utilities/zipball/5a9c30c489d696da1b7b98af8a6f42bb49793e1b", + "reference": "5a9c30c489d696da1b7b98af8a6f42bb49793e1b", "shasum": "" }, "require": { - "clue/block-react": "^1.5", + "clue/block-react": "^1.5.", "php": "^8", - "phpunit/phpunit": "^9.5", - "react/event-loop": "^1.3", - "react/promise": "^2.9", - "wyrihaximus/test-utilities": "^5" + "phpunit/phpunit": "^9.5.27", + "react/event-loop": "^1.3.0", + "react/promise": "^2.9.", + "wyrihaximus/test-utilities": "^5.2.4" }, "require-dev": { "wyrihaximus/iterator-or-array-to-array": "^1.2" @@ -9633,7 +9478,7 @@ "description": "Test utilities for api-clients packages", "support": { "issues": "https://github.com/WyriHaximus/php-async-test-utilities/issues", - "source": "https://github.com/WyriHaximus/php-async-test-utilities/tree/5.0.0" + "source": "https://github.com/WyriHaximus/php-async-test-utilities/tree/5.0.25" }, "funding": [ { @@ -9641,7 +9486,7 @@ "type": "github" } ], - "time": "2022-05-02T14:21:47+00:00" + "time": "2023-01-08T10:37:18+00:00" }, { "name": "wyrihaximus/coding-standard", @@ -9684,28 +9529,30 @@ }, { "name": "wyrihaximus/phpstan-rules-wrapper", - "version": "2.0.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper.git", - "reference": "bcecd546a629dd3b41fced01ca632dad2cc9fb8a" + "reference": "73e6c542aae0311cc78b5221b693e7da12a7c267" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-phpstan-rules-wrapper/zipball/bcecd546a629dd3b41fced01ca632dad2cc9fb8a", - "reference": "bcecd546a629dd3b41fced01ca632dad2cc9fb8a", + "url": "https://api.github.com/repos/WyriHaximus/php-phpstan-rules-wrapper/zipball/73e6c542aae0311cc78b5221b693e7da12a7c267", + "reference": "73e6c542aae0311cc78b5221b693e7da12a7c267", "shasum": "" }, "require": { "ergebnis/phpstan-rules": "^1.0", "jangregor/phpstan-prophecy": "^1.0", "pepakriz/phpstan-exception-rules": "^0.12.0", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-php-parser": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "thecodingmachine/phpstan-safe-rule": "^1.1", - "thecodingmachine/phpstan-strict-rules": "^1.0" + "php": "^8", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-php-parser": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan-strict-rules": "^1.4", + "thecodingmachine/phpstan-safe-rule": "^1.2", + "thecodingmachine/phpstan-strict-rules": "^1.0", + "tomasvotruba/cognitive-complexity": "^0.0.5" }, "type": "library", "notification-url": "https://packagist.org/downloads/", @@ -9721,7 +9568,7 @@ "description": "🌯 PHPStan rules wrapper", "support": { "issues": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/issues", - "source": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/tree/2.0.0" + "source": "https://github.com/WyriHaximus/php-phpstan-rules-wrapper/tree/2.8.0" }, "funding": [ { @@ -9729,47 +9576,47 @@ "type": "github" } ], - "time": "2021-12-26T13:12:07+00:00" + "time": "2023-01-05T22:18:12+00:00" }, { "name": "wyrihaximus/test-utilities", - "version": "5.0.19", + "version": "5.2.4", "source": { "type": "git", "url": "https://github.com/WyriHaximus/php-test-utilities.git", - "reference": "4ca5fdf155ae501dd21fef408827f28eb7e0838d" + "reference": "1a63e5dfcf650f16477104a5e54fe63c28a0cde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/php-test-utilities/zipball/4ca5fdf155ae501dd21fef408827f28eb7e0838d", - "reference": "4ca5fdf155ae501dd21fef408827f28eb7e0838d", + "url": "https://api.github.com/repos/WyriHaximus/php-test-utilities/zipball/1a63e5dfcf650f16477104a5e54fe63c28a0cde0", + "reference": "1a63e5dfcf650f16477104a5e54fe63c28a0cde0", "shasum": "" }, "require": { - "ergebnis/composer-normalize": "^2.28.3", - "icanhazstring/composer-unused": "^0.8.2", + "ergebnis/composer-normalize": "^2.29.0", + "icanhazstring/composer-unused": "^0.8.5", "infection/infection": "^0.26.5", "jakobbuis/simple-slow-test-reporter": "^1.0", - "maglnet/composer-require-checker": "^4.0.0 || ^3.8.0", - "nunomaduro/collision": "^6.0.0 || ^5.11.0", - "orklah/psalm-insane-comparison": "^2.0.0", + "maglnet/composer-require-checker": "^4.4.0", + "nunomaduro/collision": "^6.4.0", + "orklah/psalm-insane-comparison": "^2.2.0", "php": "^8", - "php-coveralls/php-coveralls": "^2.5.2", + "php-coveralls/php-coveralls": "^2.5.3", "php-parallel-lint/php-console-highlighter": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", "php-standard-library/psalm-plugin": "^1.1", - "phpspec/prophecy": "^1.15", + "phpspec/prophecy": "^1.16", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.21", - "psalm/plugin-phpunit": "^0.17.0", - "roave/backward-compatibility-check": "^7 || ^6", - "roave/infection-static-analysis-plugin": "^1.18.0", + "phpstan/phpstan": "^1.9.2", + "phpunit/phpunit": "^9.5.27", + "psalm/plugin-phpunit": "^0.18.4", + "roave/backward-compatibility-check": "^7.1.0", + "roave/infection-static-analysis-plugin": "^1.25.0", "squizlabs/php_codesniffer": "^3.7.1", - "thecodingmachine/safe": "^1.3.3", - "vimeo/psalm": "^4.25", + "thecodingmachine/safe": "^2.4.0", + "vimeo/psalm": "^5 || ^4.30", "wyrihaximus/coding-standard": "^2.11.0", - "wyrihaximus/phpstan-rules-wrapper": "^2" + "wyrihaximus/phpstan-rules-wrapper": "^2.8.0" }, "conflict": { "symfony/dependency-injection": "<5.0.0" @@ -9813,7 +9660,7 @@ "description": "🛠️ Test utilities for api-clients packages", "support": { "issues": "https://github.com/WyriHaximus/php-test-utilities/issues", - "source": "https://github.com/WyriHaximus/php-test-utilities/tree/5.0.19" + "source": "https://github.com/WyriHaximus/php-test-utilities/tree/5.2.4" }, "funding": [ { @@ -9821,14 +9668,14 @@ "type": "github" } ], - "time": "2022-07-31T09:21:22+00:00" + "time": "2023-01-07T21:34:04+00:00" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": {}, "prefer-stable": false, - "prefer-lowest": false, + "prefer-lowest": true, "platform": { "php": "^8.1", "ext-parallel": "*" diff --git a/etc/qa/phpstan.neon b/etc/qa/phpstan.neon index bdc2171..133e86c 100644 --- a/etc/qa/phpstan.neon +++ b/etc/qa/phpstan.neon @@ -1,11 +1,21 @@ parameters: level: max - ergebnis: - noExtends: - classesAllowedToBeExtended: - - ReactParallel\EventLoop\CancelledException - - ReactParallel\EventLoop\CanceledFuture - - ReactParallel\EventLoop\KilledRuntime + ignoreErrors: + - + message: '#Result of method ReactParallel\\EventLoop\\EventLoopBridge::await\(\) \(void\) is used.#' + path: ../../tests/Types.php +# ergebnis: +# noExtends: +# classesAllowedToBeExtended: +# - ReactParallel\EventLoop\CancelledException +# - ReactParallel\EventLoop\CanceledFuture +# - ReactParallel\EventLoop\KilledRuntime + stubFiles: + - ../../stubs/Event.stub +# - ../../stubs/Events.stub + - ../../stubs/Future.stub + - ../../stubs/Channel.stub + - ../../stubs/functions.stub -includes: - - ../../vendor/wyrihaximus/async-test-utilities/rules.neon +#includes: +# - ../../vendor/wyrihaximus/async-test-utilities/rules.neon diff --git a/etc/qa/phpunit.xml b/etc/qa/phpunit.xml index 5207296..87257ff 100644 --- a/etc/qa/phpunit.xml +++ b/etc/qa/phpunit.xml @@ -1,16 +1,16 @@ - + ../../tests/ - - + + ../../src/ - - + + - + diff --git a/etc/qa/psalm.xml b/etc/qa/psalm.xml index 82fe126..a6d8104 100644 --- a/etc/qa/psalm.xml +++ b/etc/qa/psalm.xml @@ -11,7 +11,12 @@ - + + + + + + diff --git a/infection.json.dist b/infection.json.dist index 11f0133..c130dca 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -1,5 +1,5 @@ { - "timeout": 1800, + "timeout": 66, "source": { "directories": [ "src" @@ -16,7 +16,29 @@ "minCoveredMsi": 100, "ignoreMsiWithNoMutations": true, "mutators": { - "@default": true + "@default": true, + "InstanceOf_": { + "ignore": [ + "ReactParallel\\EventLoop\\EventLoopBridge::handleCancelEvent" + ] + }, + "LogicalNot": { + "ignore": [ + "ReactParallel\\EventLoop\\EventLoopBridge::handleCancelEvent" + ] + }, + "MethodCallRemoval": { + "ignore": [ + "ReactParallel\\EventLoop\\Stream::value", + "ReactParallel\\EventLoop\\EventLoopBridge::handleReadEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleFutureReadEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleChannelReadEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleCloseEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleCancelEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleKillEvent", + "ReactParallel\\EventLoop\\EventLoopBridge::handleErrorEvent" + ] + } }, "phpUnit": { "configDir": "./etc/qa/" diff --git a/src/CanceledException.php b/src/CanceledException.php index 2d04ad6..3c9c5ac 100644 --- a/src/CanceledException.php +++ b/src/CanceledException.php @@ -6,7 +6,6 @@ use Exception; -/** @phpstan-ignore-next-line */ final class CanceledException extends Exception { } diff --git a/src/CanceledFuture.php b/src/CanceledFuture.php index e0a1ad8..dffd484 100644 --- a/src/CanceledFuture.php +++ b/src/CanceledFuture.php @@ -6,7 +6,6 @@ use Exception; -/** @phpstan-ignore-next-line */ final class CanceledFuture extends Exception { } diff --git a/src/EventLoopBridge.php b/src/EventLoopBridge.php index 63a6938..4b76fa6 100644 --- a/src/EventLoopBridge.php +++ b/src/EventLoopBridge.php @@ -6,10 +6,12 @@ use parallel\Channel; use parallel\Events; +use parallel\Events\Event; use parallel\Future; use React\EventLoop\Loop; use React\EventLoop\TimerInterface; use React\Promise\Deferred; +use Throwable; use WyriHaximus\Metrics\Label; use function count; @@ -19,6 +21,7 @@ use const WyriHaximus\Constants\Numeric\ZERO; +/** @psalm-suppress TooManyTemplateParams */ final class EventLoopBridge { private const DEFAULT_SCALE_RANGE = [ @@ -33,21 +36,21 @@ final class EventLoopBridge private Metrics|null $metrics = null; - /** @var Events */ + /** @var Events */ private Events $events; private TimerInterface|null $timer = null; - /** @var array */ + /** @var array> */ private array $channels = []; - /** @var array */ + /** @var array> */ private array $futures = []; /** @var array */ private array $scaleRange = self::DEFAULT_SCALE_RANGE; private int $scalePosition = self::DEFAULT_SCALE_POSITION; - private int $scaleNoItemsCount = 0; + private int $scaleNoItemsCount = ZERO; public function __construct() { @@ -63,10 +66,18 @@ public function withMetrics(Metrics $metrics): self return $self; } - /** @return iterable */ + /** + * @param Channel $channel + * + * @return iterable + * + * @template T + */ public function observe(Channel $channel): iterable { - $this->channels[spl_object_id($channel)] = new Stream(); + /** @var Stream $stream */ + $stream = new Stream(); + $this->channels[spl_object_id($channel)] = $stream; $this->events->addChannel($channel); if ($this->metrics instanceof Metrics) { @@ -75,11 +86,19 @@ public function observe(Channel $channel): iterable $this->startTimer(); - yield from $this->channels[spl_object_id($channel)]->iterable(); + yield from $stream->iterable(); } + /** + * @param Future $future + * + * @return T + * + * @template T + */ public function await(Future $future): mixed { + /** @var Deferred $deferred */ $deferred = new Deferred(); $this->futures[spl_object_id($future)] = $deferred; $this->events->addFuture(spl_object_hash($future), $future); @@ -90,7 +109,6 @@ public function await(Future $future): mixed $this->startTimer(); - /** @phpstan-ignore-next-line */ return await($deferred->promise()); } @@ -129,23 +147,30 @@ private function runTimer(): void $items = ZERO; try { + /** @psalm-suppress MixedAssignment */ while ($event = $this->events->poll()) { $items++; - /** @phpstan-ignore-next-line */ + + /** @psalm-suppress MixedPropertyFetch */ switch ($event->type) { case Events\Event\Type::Read: + /** @psalm-suppress MixedArgument */ $this->handleReadEvent($event); break; case Events\Event\Type::Close: + /** @psalm-suppress MixedArgument */ $this->handleCloseEvent($event); break; case Events\Event\Type::Cancel: + /** @psalm-suppress MixedArgument */ $this->handleCancelEvent($event); break; case Events\Event\Type::Kill: + /** @psalm-suppress MixedArgument */ $this->handleKillEvent($event); break; case Events\Event\Type::Error: + /** @psalm-suppress MixedArgument */ $this->handleErrorEvent($event); break; } @@ -157,7 +182,6 @@ private function runTimer(): void $this->stopTimer(); - /** @phpstan-ignore-next-line */ if ($items > ZERO && isset($this->scaleRange[$this->scalePosition + 1])) { if ($this->timer instanceof TimerInterface) { Loop::cancelTimer($this->timer); @@ -173,7 +197,6 @@ private function runTimer(): void if ($items === ZERO) { $this->scaleNoItemsCount++; - /** @phpstan-ignore-next-line */ if ($this->scaleNoItemsCount > 10 && isset($this->scaleRange[$this->scalePosition - 1])) { if ($this->timer instanceof TimerInterface) { Loop::cancelTimer($this->timer); @@ -196,7 +219,8 @@ private function runTimer(): void }); } - private function handleReadEvent(Events\Event $event): void + /** @param Event $event */ + private function handleReadEvent(Event $event): void { if ($event->object instanceof Future) { $this->handleFutureReadEvent($event); @@ -209,7 +233,8 @@ private function handleReadEvent(Events\Event $event): void $this->handleChannelReadEvent($event); } - private function handleFutureReadEvent(Events\Event $event): void + /** @param Event $event */ + private function handleFutureReadEvent(Event $event): void { $this->futures[spl_object_id($event->object)]->resolve($event->value); unset($this->futures[spl_object_id($event->object)]); @@ -223,9 +248,11 @@ private function handleFutureReadEvent(Events\Event $event): void $futures->gauge(new Label('state', 'resolve'))->incr(); } - private function handleChannelReadEvent(Events\Event $event): void + /** @param Event $event */ + private function handleChannelReadEvent(Event $event): void { $this->channels[spl_object_id($event->object)]->value($event->value); + /** @psalm-suppress ArgumentTypeCoercion */ $this->events->addChannel($event->object); /** @phpstan-ignore-line */ if (! ($this->metrics instanceof Metrics)) { @@ -235,7 +262,8 @@ private function handleChannelReadEvent(Events\Event $event): void $this->metrics->channelMessages()->counter(new Label('event', 'read'))->incr(); } - private function handleCloseEvent(Events\Event $event): void + /** @param Event $event */ + private function handleCloseEvent(Event $event): void { $this->channels[spl_object_id($event->object)]->done(); unset($this->channels[spl_object_id($event->object)]); @@ -249,7 +277,8 @@ private function handleCloseEvent(Events\Event $event): void $channels->gauge(new Label('state', 'close'))->incr(); } - private function handleCancelEvent(Events\Event $event): void + /** @param Event $event */ + private function handleCancelEvent(Event $event): void { $this->futures[spl_object_id($event->object)]->reject(new CanceledFuture()); unset($this->futures[spl_object_id($event->object)]); @@ -263,7 +292,8 @@ private function handleCancelEvent(Events\Event $event): void $futures->gauge(new Label('state', 'cancel'))->incr(); } - private function handleKillEvent(Events\Event $event): void + /** @param Event $event */ + private function handleKillEvent(Event $event): void { $this->futures[spl_object_id($event->object)]->reject(new KilledRuntime()); unset($this->futures[spl_object_id($event->object)]); @@ -277,7 +307,8 @@ private function handleKillEvent(Events\Event $event): void $futures->gauge(new Label('state', 'kill'))->incr(); } - private function handleErrorEvent(Events\Event $event): void + /** @param Event $event */ + private function handleErrorEvent(Event $event): void { if (! ($event->object instanceof Future)) { return; diff --git a/src/KilledRuntime.php b/src/KilledRuntime.php index 3269d30..5d81a68 100644 --- a/src/KilledRuntime.php +++ b/src/KilledRuntime.php @@ -6,7 +6,6 @@ use Exception; -/** @phpstan-ignore-next-line */ final class KilledRuntime extends Exception { } diff --git a/src/Stream.php b/src/Stream.php index 0e65ce8..86d09df 100644 --- a/src/Stream.php +++ b/src/Stream.php @@ -9,18 +9,27 @@ use function React\Async\await; -final class Stream +/** + * @template T + * @template-implements StreamInterface + */ +final class Stream implements StreamInterface { + /** @var SplQueue */ private SplQueue $queue; + + /** @var Deferred */ private Deferred $wait; public function __construct() { $this->queue = new SplQueue(); $this->queue->setIteratorMode(SplQueue::IT_MODE_DELETE); + /** @psalm-suppress MixedPropertyTypeCoercion */ $this->wait = new Deferred(); } + /** @param T $value */ public function value(mixed $value): void { $this->queue->enqueue($value); @@ -32,11 +41,11 @@ public function done(): void $this->wait->resolve(new Done()); } - /** @return iterable */ + /** @return iterable */ public function iterable(): iterable { - do { - $run = false; + for (;;) { + /** @psalm-suppress MixedAssignment */ $type = await($this->wait->promise()); foreach ($this->queue as $value) { @@ -44,11 +53,11 @@ public function iterable(): iterable } if ($type instanceof Done) { - continue; + break; } + /** @psalm-suppress MixedPropertyTypeCoercion */ $this->wait = new Deferred(); - $run = true; - } while ($run); + } } } diff --git a/src/StreamInterface.php b/src/StreamInterface.php new file mode 100644 index 0000000..3830fad --- /dev/null +++ b/src/StreamInterface.php @@ -0,0 +1,17 @@ + */ + public function iterable(): iterable; +} diff --git a/stubs/Channel.stub b/stubs/Channel.stub new file mode 100644 index 0000000..184e27a --- /dev/null +++ b/stubs/Channel.stub @@ -0,0 +1,82 @@ + + * + * @throws Channel\Error\Existence if channel already exists. + */ + public static function make(string $name, ?int $capacity = null): Channel {} + + /** + * Shall open the channel with the given name + * + * @param string $name + * @return Channel + * + * @throws Channel\Error\Existence if channel does not exist. + */ + public static function open(string $name): Channel {} + + /* Sharing */ + + /** + * Shall send the given value on this channel + * @param T $value + * + * @throws Channel\Error\Closed if channel is closed. + * @throws Channel\Error\IllegalValue if value is illegal. + */ + public function send($value): void {} + + /** + * Shall recv a value from this channel + * @return T + * + * @throws Channel\Error\Closed if channel is closed. + */ + public function recv() {} + + /* Closing */ + + /** + * Shall close this channel + * @throws Channel\Error\Closed if channel is closed. + */ + public function close(): void {} + + /** + * Returns name of channel + * @return string + */ + public function __toString(): string {} +} diff --git a/stubs/Event.stub b/stubs/Event.stub new file mode 100644 index 0000000..364149a --- /dev/null +++ b/stubs/Event.stub @@ -0,0 +1,36 @@ +|Channel + */ + public $object; + + /** + * Shall be set for Read/Error events + * @var T + */ + public $value; +} diff --git a/stubs/Future.stub b/stubs/Future.stub new file mode 100644 index 0000000..b8f96df --- /dev/null +++ b/stubs/Future.stub @@ -0,0 +1,54 @@ + $argv + * @template T + * @return ($task is (Closure():T) ? Future : null) + */ +function run(Closure $task, array $argv = null): ?Future {} diff --git a/tests/CookieMonsterException.php b/tests/CookieMonsterException.php index 27827c7..d79b6c0 100644 --- a/tests/CookieMonsterException.php +++ b/tests/CookieMonsterException.php @@ -6,7 +6,6 @@ use Exception; -/** @phpstan-ignore-next-line */ final class CookieMonsterException extends Exception { } diff --git a/tests/EventLoopBridgeTest.php b/tests/EventLoopBridgeTest.php index 3756b13..a0a512f 100644 --- a/tests/EventLoopBridgeTest.php +++ b/tests/EventLoopBridgeTest.php @@ -76,7 +76,6 @@ public function read(): void $promises[] = resolve($eventLoopBridge->await($future)); - /** @phpstan-ignore-next-line */ $rd = await(all($promises)); $range = []; diff --git a/tests/Types.php b/tests/Types.php new file mode 100644 index 0000000..180d034 --- /dev/null +++ b/tests/Types.php @@ -0,0 +1,38 @@ + $channelBool */ +$channelBool = new Channel(); + +/** @var Channel $channelStd */ +$channelStd = new Channel(); + +assertType('iterable', $bridge->observe($channelBool)); +assertType('iterable', $bridge->observe($channelStd)); + +/** + * Await + */ +assertType('bool', $bridge->await(run(static function (): bool { + return true; +}))); + +assertType('bool|int', $bridge->await(run(static function (): bool|int { + return time() % 2 !== 0 ? true : time(); +}))); + +assertType('null', $bridge->await(run(static function (): void { +})));