From b432445c614d0283d8963d9be16f425b93b529d9 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 25 Nov 2026 16:20:07 +0000 Subject: [PATCH] bumps --- composer.lock | 95 ++- generated/8.1/datetime.php | 4 +- generated/8.1/image.php | 4 +- generated/8.1/mbstring.php | 4 +- generated/8.1/misc.php | 2 +- generated/8.1/pcre.php | 2 +- generated/8.1/pgsql.php | 12 +- generated/8.1/stream.php | 6 +- generated/8.1/xdiff.php | 2 +- generated/8.1/xml.php | 38 +- generated/8.1/zlib.php | 8 +- generated/8.2/datetime.php | 8 +- generated/8.2/image.php | 4 +- generated/8.2/misc.php | 2 +- generated/8.3/datetime.php | 8 +- generated/8.3/image.php | 4 +- generated/8.3/mbstring.php | 4 +- generated/8.3/misc.php | 2 +- generated/8.3/pgsql.php | 12 +- generated/8.3/xml.php | 38 +- generated/8.3/zlib.php | 8 +- generated/8.4/datetime.php | 8 +- generated/8.4/misc.php | 2 +- generated/8.4/pgsql.php | 12 +- generated/8.4/uodbc.php | 18 +- generated/8.5/uodbc.php | 18 +- generated/8.5/xdiff.php | 2 +- generated/8.5/zlib.php | 8 +- generated/8.6/image.php | 4 +- generated/8.6/pgsql.php | 12 +- generated/8.6/zlib.php | 8 +- generated/8.7/zlib.php | 8 +- generator/composer.lock | 636 +++++++++++------- generator/src/Commands/GenerateCommand.php | 1 - .../src/PhpStanFunctions/PhpStanType.php | 1 + .../PhpStanFunctions/PhpStanTypeTest.php | 4 + 36 files changed, 580 insertions(+), 429 deletions(-) diff --git a/composer.lock b/composer.lock index efb12693..36f5ed71 100644 --- a/composer.lock +++ b/composer.lock @@ -65,7 +65,8 @@ "type": "github" } ], - "time": "2026-08-11T10:17:44+00:00" + "time": "2026-08-11T10:17:44+00:00", + "published-time": "2026-08-11T10:29:20+00:00" }, { "name": "nikic/php-parser", @@ -122,7 +123,8 @@ "issues": "https://github.com/nikic/PHP-Parser/issues", "source": "https://github.com/nikic/PHP-Parser/tree/v5.9.0" }, - "time": "2026-09-13T18:51:52+00:00" + "time": "2026-09-13T18:51:52+00:00", + "published-time": "2026-09-13T18:53:16+00:00" }, { "name": "phar-io/manifest", @@ -189,7 +191,8 @@ "type": "github" } ], - "time": "2024-03-03T12:33:53+00:00" + "time": "2024-03-03T12:33:53+00:00", + "published-time": "2024-03-03T12:39:44+00:00" }, { "name": "phar-io/version", @@ -240,7 +243,8 @@ "issues": "https://github.com/phar-io/version/issues", "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2022-02-21T01:04:05+00:00", + "published-time": "2022-02-21T01:04:30+00:00" }, { "name": "php-parallel-lint/php-parallel-lint", @@ -301,15 +305,16 @@ "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.4.0" }, - "time": "2024-03-27T12:14:49+00:00" + "time": "2024-03-27T12:14:49+00:00", + "published-time": "2024-03-27T12:18:41+00:00" }, { "name": "phpstan/phpstan", - "version": "2.3.6", + "version": "2.3.7", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/00cedebb76cc82c1592414fa4f616cefdccda16f", - "reference": "00cedebb76cc82c1592414fa4f616cefdccda16f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", + "reference": "90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", "shasum": "" }, "require": { @@ -365,7 +370,8 @@ "type": "github" } ], - "time": "2026-11-15T19:58:26+00:00" + "time": "2026-11-19T10:31:11+00:00", + "published-time": "2026-11-19T10:31:27+00:00" }, { "name": "phpunit/php-code-coverage", @@ -443,7 +449,8 @@ "type": "github" } ], - "time": "2024-08-22T04:31:57+00:00" + "time": "2024-08-22T04:31:57+00:00", + "published-time": "2024-08-22T04:32:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -504,7 +511,8 @@ "type": "github" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2023-08-31T06:24:48+00:00", + "published-time": "2023-08-31T06:25:42+00:00" }, { "name": "phpunit/php-invoker", @@ -567,7 +575,8 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2023-02-03T06:56:09+00:00", + "published-time": "2023-02-03T06:56:14+00:00" }, { "name": "phpunit/php-text-template", @@ -627,7 +636,8 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2023-08-31T14:07:24+00:00", + "published-time": "2023-08-31T14:08:05+00:00" }, { "name": "phpunit/php-timer", @@ -686,7 +696,8 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2023-02-03T06:57:52+00:00", + "published-time": "2023-02-03T06:57:58+00:00" }, { "name": "phpunit/phpunit", @@ -779,7 +790,8 @@ "type": "other" } ], - "time": "2026-11-13T11:07:03+00:00" + "time": "2026-11-13T11:07:03+00:00", + "published-time": "2026-11-13T11:07:54+00:00" }, { "name": "sebastian/cli-parser", @@ -836,7 +848,8 @@ "type": "github" } ], - "time": "2024-03-02T07:12:49+00:00" + "time": "2024-03-02T07:12:49+00:00", + "published-time": "2024-03-02T07:13:18+00:00" }, { "name": "sebastian/code-unit", @@ -892,7 +905,8 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2023-02-03T06:58:43+00:00", + "published-time": "2023-02-03T06:58:49+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -947,7 +961,8 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2023-02-03T06:59:15+00:00", + "published-time": "2023-02-03T06:59:20+00:00" }, { "name": "sebastian/comparator", @@ -1036,7 +1051,8 @@ "type": "tidelift" } ], - "time": "2026-01-24T09:25:16+00:00" + "time": "2026-01-24T09:25:16+00:00", + "published-time": "2026-01-24T09:25:27+00:00" }, { "name": "sebastian/complexity", @@ -1094,7 +1110,8 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2023-12-21T08:37:17+00:00", + "published-time": "2023-12-21T08:37:41+00:00" }, { "name": "sebastian/diff", @@ -1161,7 +1178,8 @@ "type": "github" } ], - "time": "2024-03-02T07:15:17+00:00" + "time": "2024-03-02T07:15:17+00:00", + "published-time": "2024-03-02T07:15:52+00:00" }, { "name": "sebastian/environment", @@ -1225,7 +1243,8 @@ "type": "github" } ], - "time": "2024-03-23T08:47:14+00:00" + "time": "2024-03-23T08:47:14+00:00", + "published-time": "2024-03-23T08:48:26+00:00" }, { "name": "sebastian/exporter", @@ -1315,7 +1334,8 @@ "type": "tidelift" } ], - "time": "2025-09-24T06:09:11+00:00" + "time": "2025-09-24T06:09:11+00:00", + "published-time": "2025-09-24T06:10:37+00:00" }, { "name": "sebastian/global-state", @@ -1377,7 +1397,8 @@ "type": "github" } ], - "time": "2024-03-02T07:19:19+00:00" + "time": "2024-03-02T07:19:19+00:00", + "published-time": "2024-03-02T07:19:49+00:00" }, { "name": "sebastian/lines-of-code", @@ -1435,7 +1456,8 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2023-12-21T08:38:20+00:00", + "published-time": "2023-12-21T08:38:54+00:00" }, { "name": "sebastian/object-enumerator", @@ -1492,7 +1514,8 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2023-02-03T07:08:32+00:00", + "published-time": "2023-02-03T07:08:37+00:00" }, { "name": "sebastian/object-reflector", @@ -1547,7 +1570,8 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2023-02-03T07:06:18+00:00", + "published-time": "2023-02-03T07:06:24+00:00" }, { "name": "sebastian/recursion-context", @@ -1623,7 +1647,8 @@ "type": "tidelift" } ], - "time": "2026-08-11T05:27:39+00:00" + "time": "2026-08-11T05:27:39+00:00", + "published-time": "2026-08-11T05:28:01+00:00" }, { "name": "sebastian/type", @@ -1679,7 +1704,8 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2023-02-03T07:10:45+00:00", + "published-time": "2023-02-03T07:10:50+00:00" }, { "name": "sebastian/version", @@ -1732,7 +1758,8 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2023-02-07T11:34:05+00:00", + "published-time": "2023-02-07T11:34:22+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -1811,7 +1838,8 @@ "type": "thanks_dev" } ], - "time": "2026-08-06T00:17:32+00:00" + "time": "2026-08-06T00:17:32+00:00", + "published-time": "2026-08-06T01:05:02+00:00" }, { "name": "theseer/tokenizer", @@ -1861,7 +1889,8 @@ "type": "github" } ], - "time": "2025-11-17T20:03:58+00:00" + "time": "2025-11-17T20:03:58+00:00", + "published-time": "2025-11-17T20:04:52+00:00" } ], "aliases": [], @@ -1873,5 +1902,5 @@ "php": "^8.1" }, "platform-dev": {}, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.11.0" } diff --git a/generated/8.1/datetime.php b/generated/8.1/datetime.php index d9519c5c..8b43f1b2 100644 --- a/generated/8.1/datetime.php +++ b/generated/8.1/datetime.php @@ -65,7 +65,7 @@ function date_sun_info(int $timestamp, float $latitude, float $longitude): array * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ @@ -97,7 +97,7 @@ function date_sunrise(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, ? * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ diff --git a/generated/8.1/image.php b/generated/8.1/image.php index be05de40..ab04ebaa 100644 --- a/generated/8.1/image.php +++ b/generated/8.1/image.php @@ -84,7 +84,7 @@ function imageaffine(\GdImage $image, array $affine, ?array $clip = null): \GdIm /** * @param array $matrix1 * @param array $matrix2 - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ @@ -102,7 +102,7 @@ function imageaffinematrixconcat(array $matrix1, array $matrix2): array /** * @param int $type * @param array|float $options - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ diff --git a/generated/8.1/mbstring.php b/generated/8.1/mbstring.php index 1861c94c..c4b2010c 100644 --- a/generated/8.1/mbstring.php +++ b/generated/8.1/mbstring.php @@ -71,11 +71,10 @@ function mb_convert_variables(string $to_encoding, $from_encoding, &$var, ...$va /** * @param non-empty-list|non-falsy-string|null $encoding - * @return bool|list * @throws MbstringException * */ -function mb_detect_order($encoding = null) +function mb_detect_order($encoding = null): void { error_clear_last(); if ($encoding !== null) { @@ -86,7 +85,6 @@ function mb_detect_order($encoding = null) if ($safeResult === false) { throw MbstringException::createFromPhpError(); } - return $safeResult; } diff --git a/generated/8.1/misc.php b/generated/8.1/misc.php index f4e8d223..355a11b1 100644 --- a/generated/8.1/misc.php +++ b/generated/8.1/misc.php @@ -59,7 +59,7 @@ function highlight_string(string $string, bool $return = false) /** * @param bool $as_number - * @return array{0:int,1:int}|float|int + * @return float|int|list{int,int} * @throws MiscException * */ diff --git a/generated/8.1/pcre.php b/generated/8.1/pcre.php index 1e15de35..b1046841 100644 --- a/generated/8.1/pcre.php +++ b/generated/8.1/pcre.php @@ -113,7 +113,7 @@ function preg_replace_callback($pattern, callable $callback, $subject, int $limi * @param string $subject * @param int|null $limit * @param int $flags - * @return list + * @return list|list * @throws PcreException * */ diff --git a/generated/8.1/pgsql.php b/generated/8.1/pgsql.php index 32c7896f..2833b6f5 100644 --- a/generated/8.1/pgsql.php +++ b/generated/8.1/pgsql.php @@ -116,7 +116,7 @@ function pg_copy_to(\PgSql\Connection $connection, string $table_name, string $s * @param string $table_name * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ @@ -272,7 +272,7 @@ function pg_host(?\PgSql\Connection $connection = null): string * @param string $table_name * @param array $values * @param int $flags - * @return mixed + * @return bool|resource|string * @throws PgsqlException * */ @@ -348,11 +348,11 @@ function pg_lo_export(?\PgSql\Connection $connection = null, ?int $oid = null, ? * @param \PgSql\Connection $connection * @param string $pathname * @param $object_id - * @return int + * @return int|string * @throws PgsqlException * */ -function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null): int +function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null) { error_clear_last(); if ($object_id !== null) { @@ -700,7 +700,7 @@ function pg_result_seek(\PgSql\Result $result, int $row): void * @param array $conditions * @param int $flags * @param int $mode - * @return mixed + * @return array|string * @throws PgsqlException * */ @@ -759,7 +759,7 @@ function pg_trace(string $filename, string $mode = "w", ?\PgSql\Connection $conn * @param array $values * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ diff --git a/generated/8.1/stream.php b/generated/8.1/stream.php index 39abd25a..13a3c6c4 100644 --- a/generated/8.1/stream.php +++ b/generated/8.1/stream.php @@ -235,7 +235,7 @@ function stream_set_timeout($stream, int $seconds, int $microseconds = 0): void /** * @param resource $server_socket * @param float $timeout - * @param null|string $peername + * @param string $peername * @return resource * @throws StreamException * @@ -326,8 +326,8 @@ function stream_socket_pair(int $domain, int $type, int $protocol): array /** * @param string $local_socket - * @param int|null $errno - * @param null|string $errstr + * @param int $errno + * @param string $errstr * @param int $flags * @param resource $context * @return resource diff --git a/generated/8.1/xdiff.php b/generated/8.1/xdiff.php index 4ed412cd..8b69e2ca 100644 --- a/generated/8.1/xdiff.php +++ b/generated/8.1/xdiff.php @@ -148,7 +148,7 @@ function xdiff_string_patch_binary(string $str, string $patch): string * @param string $str * @param string $patch * @param int $flags - * @param null|string $error + * @param string $error * @return string * @throws XdiffException * diff --git a/generated/8.1/xml.php b/generated/8.1/xml.php index 72f86934..f8fe0e76 100644 --- a/generated/8.1/xml.php +++ b/generated/8.1/xml.php @@ -21,11 +21,11 @@ function xml_parser_free(\XMLParser $parser): void /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_character_data_handler(\XMLParser $parser, callable $handler): void +function xml_set_character_data_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_character_data_handler($parser, $handler); @@ -37,11 +37,11 @@ function xml_set_character_data_handler(\XMLParser $parser, callable $handler): /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_default_handler(\XMLParser $parser, callable $handler): void +function xml_set_default_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_default_handler($parser, $handler); @@ -53,12 +53,12 @@ function xml_set_default_handler(\XMLParser $parser, callable $handler): void /** * @param \XMLParser $parser - * @param callable $start_handler - * @param callable $end_handler + * @param callable|null|string $start_handler + * @param callable|null|string $end_handler * @throws XmlException * */ -function xml_set_element_handler(\XMLParser $parser, callable $start_handler, callable $end_handler): void +function xml_set_element_handler(\XMLParser $parser, $start_handler, $end_handler): void { error_clear_last(); $safeResult = \xml_set_element_handler($parser, $start_handler, $end_handler); @@ -70,11 +70,11 @@ function xml_set_element_handler(\XMLParser $parser, callable $start_handler, ca /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_end_namespace_decl_handler(\XMLParser $parser, callable $handler): void +function xml_set_end_namespace_decl_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_end_namespace_decl_handler($parser, $handler); @@ -86,11 +86,11 @@ function xml_set_end_namespace_decl_handler(\XMLParser $parser, callable $handle /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_external_entity_ref_handler(\XMLParser $parser, callable $handler): void +function xml_set_external_entity_ref_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_external_entity_ref_handler($parser, $handler); @@ -102,11 +102,11 @@ function xml_set_external_entity_ref_handler(\XMLParser $parser, callable $handl /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_notation_decl_handler(\XMLParser $parser, callable $handler): void +function xml_set_notation_decl_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_notation_decl_handler($parser, $handler); @@ -134,11 +134,11 @@ function xml_set_object(\XMLParser $parser, object $object): void /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_processing_instruction_handler(\XMLParser $parser, callable $handler): void +function xml_set_processing_instruction_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_processing_instruction_handler($parser, $handler); @@ -150,11 +150,11 @@ function xml_set_processing_instruction_handler(\XMLParser $parser, callable $ha /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_start_namespace_decl_handler(\XMLParser $parser, callable $handler): void +function xml_set_start_namespace_decl_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_start_namespace_decl_handler($parser, $handler); @@ -166,11 +166,11 @@ function xml_set_start_namespace_decl_handler(\XMLParser $parser, callable $hand /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @throws XmlException * */ -function xml_set_unparsed_entity_decl_handler(\XMLParser $parser, callable $handler): void +function xml_set_unparsed_entity_decl_handler(\XMLParser $parser, $handler): void { error_clear_last(); $safeResult = \xml_set_unparsed_entity_decl_handler($parser, $handler); diff --git a/generated/8.1/zlib.php b/generated/8.1/zlib.php index 3d8ac1ae..3f31ae2a 100644 --- a/generated/8.1/zlib.php +++ b/generated/8.1/zlib.php @@ -25,12 +25,12 @@ function deflate_add(\DeflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \DeflateContext * @throws ZlibException * */ -function deflate_init(int $encoding, array $options = []): \DeflateContext +function deflate_init(int $encoding, $options = []): \DeflateContext { error_clear_last(); $safeResult = \deflate_init($encoding, $options); @@ -371,12 +371,12 @@ function inflate_add(\InflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \InflateContext * @throws ZlibException * */ -function inflate_init(int $encoding, array $options = []): \InflateContext +function inflate_init(int $encoding, $options = []): \InflateContext { error_clear_last(); $safeResult = \inflate_init($encoding, $options); diff --git a/generated/8.2/datetime.php b/generated/8.2/datetime.php index 3af3bb43..71137dae 100644 --- a/generated/8.2/datetime.php +++ b/generated/8.2/datetime.php @@ -5,13 +5,13 @@ use Safe\Exceptions\DatetimeException; /** - * @param null|string $datetime + * @param string $datetime * @param \DateTimeZone|null $timezone * @return \DateTime * @throws DatetimeException * */ -function date_create(?string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime +function date_create(string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime { error_clear_last(); if ($timezone !== null) { @@ -87,7 +87,7 @@ function date_sun_info(int $timestamp, float $latitude, float $longitude): array * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ @@ -119,7 +119,7 @@ function date_sunrise(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, ? * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ diff --git a/generated/8.2/image.php b/generated/8.2/image.php index 5b2f4dc2..76f15b1f 100644 --- a/generated/8.2/image.php +++ b/generated/8.2/image.php @@ -84,7 +84,7 @@ function imageaffine(\GdImage $image, array $affine, ?array $clip = null): \GdIm /** * @param array $matrix1 * @param array $matrix2 - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ @@ -102,7 +102,7 @@ function imageaffinematrixconcat(array $matrix1, array $matrix2): array /** * @param int $type * @param array|float $options - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ diff --git a/generated/8.2/misc.php b/generated/8.2/misc.php index 5a8b5453..437f990a 100644 --- a/generated/8.2/misc.php +++ b/generated/8.2/misc.php @@ -59,7 +59,7 @@ function highlight_string(string $string, bool $return = false) /** * @param bool $as_number - * @return array{0:int,1:int}|float|int + * @return float|int|list{int,int} * @throws MiscException * */ diff --git a/generated/8.3/datetime.php b/generated/8.3/datetime.php index 37adf0c5..70541bb2 100644 --- a/generated/8.3/datetime.php +++ b/generated/8.3/datetime.php @@ -27,13 +27,13 @@ function date_create_immutable(string $datetime = "now", ?\DateTimeZone $timezon /** - * @param null|string $datetime + * @param string $datetime * @param \DateTimeZone|null $timezone * @return \DateTime * @throws DatetimeException * */ -function date_create(?string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime +function date_create(string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime { error_clear_last(); if ($timezone !== null) { @@ -105,7 +105,7 @@ function date_sun_info(int $timestamp, float $latitude, float $longitude): array * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ @@ -137,7 +137,7 @@ function date_sunrise(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, ? * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ diff --git a/generated/8.3/image.php b/generated/8.3/image.php index 0696b1e2..eb148903 100644 --- a/generated/8.3/image.php +++ b/generated/8.3/image.php @@ -84,7 +84,7 @@ function imageaffine(\GdImage $image, array $affine, ?array $clip = null): \GdIm /** * @param array $matrix1 * @param array $matrix2 - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ @@ -102,7 +102,7 @@ function imageaffinematrixconcat(array $matrix1, array $matrix2): array /** * @param int $type * @param array|float $options - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ diff --git a/generated/8.3/mbstring.php b/generated/8.3/mbstring.php index 055b21b2..598bc9a0 100644 --- a/generated/8.3/mbstring.php +++ b/generated/8.3/mbstring.php @@ -71,11 +71,10 @@ function mb_convert_variables(string $to_encoding, $from_encoding, &$var, ...$va /** * @param non-empty-list|non-falsy-string|null $encoding - * @return bool|list * @throws MbstringException * */ -function mb_detect_order($encoding = null) +function mb_detect_order($encoding = null): void { error_clear_last(); if ($encoding !== null) { @@ -86,7 +85,6 @@ function mb_detect_order($encoding = null) if ($safeResult === false) { throw MbstringException::createFromPhpError(); } - return $safeResult; } diff --git a/generated/8.3/misc.php b/generated/8.3/misc.php index 73cf7045..2ab3a6ba 100644 --- a/generated/8.3/misc.php +++ b/generated/8.3/misc.php @@ -59,7 +59,7 @@ function highlight_string(string $string, bool $return = false) /** * @param bool $as_number - * @return array{0:int,1:int}|float|int + * @return float|int|list{int,int} * @throws MiscException * */ diff --git a/generated/8.3/pgsql.php b/generated/8.3/pgsql.php index 943673b9..4e975fc9 100644 --- a/generated/8.3/pgsql.php +++ b/generated/8.3/pgsql.php @@ -116,7 +116,7 @@ function pg_copy_to(\PgSql\Connection $connection, string $table_name, string $s * @param string $table_name * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ @@ -272,7 +272,7 @@ function pg_host(?\PgSql\Connection $connection = null): string * @param string $table_name * @param array $values * @param int $flags - * @return mixed + * @return bool|resource|string * @throws PgsqlException * */ @@ -348,11 +348,11 @@ function pg_lo_export(?\PgSql\Connection $connection = null, ?int $oid = null, ? * @param \PgSql\Connection $connection * @param string $pathname * @param $object_id - * @return int + * @return int|string * @throws PgsqlException * */ -function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null): int +function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null) { error_clear_last(); if ($object_id !== null) { @@ -700,7 +700,7 @@ function pg_result_seek(\PgSql\Result $result, int $row): void * @param array $conditions * @param int $flags * @param int $mode - * @return mixed + * @return array|string * @throws PgsqlException * */ @@ -762,7 +762,7 @@ function pg_trace(string $filename, string $mode = "w", ?\PgSql\Connection $conn * @param array $values * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ diff --git a/generated/8.3/xml.php b/generated/8.3/xml.php index a0d58eb8..aea7c382 100644 --- a/generated/8.3/xml.php +++ b/generated/8.3/xml.php @@ -38,11 +38,11 @@ function xml_parser_set_option(\XMLParser $parser, int $option, $value): void /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_character_data_handler(\XMLParser $parser, callable $handler): bool +function xml_set_character_data_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_character_data_handler($parser, $handler); @@ -52,11 +52,11 @@ function xml_set_character_data_handler(\XMLParser $parser, callable $handler): /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_default_handler(\XMLParser $parser, callable $handler): bool +function xml_set_default_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_default_handler($parser, $handler); @@ -66,12 +66,12 @@ function xml_set_default_handler(\XMLParser $parser, callable $handler): bool /** * @param \XMLParser $parser - * @param callable $start_handler - * @param callable $end_handler + * @param callable|null|string $start_handler + * @param callable|null|string $end_handler * @return bool * */ -function xml_set_element_handler(\XMLParser $parser, callable $start_handler, callable $end_handler): bool +function xml_set_element_handler(\XMLParser $parser, $start_handler, $end_handler): bool { error_clear_last(); $safeResult = \xml_set_element_handler($parser, $start_handler, $end_handler); @@ -81,11 +81,11 @@ function xml_set_element_handler(\XMLParser $parser, callable $start_handler, ca /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_end_namespace_decl_handler(\XMLParser $parser, callable $handler): bool +function xml_set_end_namespace_decl_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_end_namespace_decl_handler($parser, $handler); @@ -95,11 +95,11 @@ function xml_set_end_namespace_decl_handler(\XMLParser $parser, callable $handle /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_external_entity_ref_handler(\XMLParser $parser, callable $handler): bool +function xml_set_external_entity_ref_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_external_entity_ref_handler($parser, $handler); @@ -109,11 +109,11 @@ function xml_set_external_entity_ref_handler(\XMLParser $parser, callable $handl /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_notation_decl_handler(\XMLParser $parser, callable $handler): bool +function xml_set_notation_decl_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_notation_decl_handler($parser, $handler); @@ -137,11 +137,11 @@ function xml_set_object(\XMLParser $parser, object $object): bool /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_processing_instruction_handler(\XMLParser $parser, callable $handler): bool +function xml_set_processing_instruction_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_processing_instruction_handler($parser, $handler); @@ -151,11 +151,11 @@ function xml_set_processing_instruction_handler(\XMLParser $parser, callable $ha /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_start_namespace_decl_handler(\XMLParser $parser, callable $handler): bool +function xml_set_start_namespace_decl_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_start_namespace_decl_handler($parser, $handler); @@ -165,11 +165,11 @@ function xml_set_start_namespace_decl_handler(\XMLParser $parser, callable $hand /** * @param \XMLParser $parser - * @param callable $handler + * @param callable|null|string $handler * @return bool * */ -function xml_set_unparsed_entity_decl_handler(\XMLParser $parser, callable $handler): bool +function xml_set_unparsed_entity_decl_handler(\XMLParser $parser, $handler): bool { error_clear_last(); $safeResult = \xml_set_unparsed_entity_decl_handler($parser, $handler); diff --git a/generated/8.3/zlib.php b/generated/8.3/zlib.php index 8b37722c..79ea12c7 100644 --- a/generated/8.3/zlib.php +++ b/generated/8.3/zlib.php @@ -25,12 +25,12 @@ function deflate_add(\DeflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \DeflateContext * @throws ZlibException * */ -function deflate_init(int $encoding, array $options = []): \DeflateContext +function deflate_init(int $encoding, $options = []): \DeflateContext { error_clear_last(); $safeResult = \deflate_init($encoding, $options); @@ -363,12 +363,12 @@ function inflate_add(\InflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \InflateContext * @throws ZlibException * */ -function inflate_init(int $encoding, array $options = []): \InflateContext +function inflate_init(int $encoding, $options = []): \InflateContext { error_clear_last(); $safeResult = \inflate_init($encoding, $options); diff --git a/generated/8.4/datetime.php b/generated/8.4/datetime.php index 25eb3372..ba0f0524 100644 --- a/generated/8.4/datetime.php +++ b/generated/8.4/datetime.php @@ -27,13 +27,13 @@ function date_create_immutable(string $datetime = "now", ?\DateTimeZone $timezon /** - * @param null|string $datetime + * @param string $datetime * @param \DateTimeZone|null $timezone * @return \DateTime * @throws DatetimeException * */ -function date_create(?string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime +function date_create(string $datetime = "now", ?\DateTimeZone $timezone = null): \DateTime { error_clear_last(); if ($timezone !== null) { @@ -101,7 +101,7 @@ function date_sun_info(int $timestamp, float $latitude, float $longitude) * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ @@ -133,7 +133,7 @@ function date_sunrise(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, ? * @param float|null $longitude * @param float|null $zenith * @param float|null $utcOffset - * @return mixed + * @return float|int|string * @throws DatetimeException * */ diff --git a/generated/8.4/misc.php b/generated/8.4/misc.php index f9a6bcb5..fe72c0b9 100644 --- a/generated/8.4/misc.php +++ b/generated/8.4/misc.php @@ -55,7 +55,7 @@ function highlight_string(string $string, bool $return = false) /** * @param bool $as_number - * @return array{0:int,1:int}|float|int + * @return float|int|list{int,int} * @throws MiscException * */ diff --git a/generated/8.4/pgsql.php b/generated/8.4/pgsql.php index 9c5c4cee..0ebcd8e9 100644 --- a/generated/8.4/pgsql.php +++ b/generated/8.4/pgsql.php @@ -116,7 +116,7 @@ function pg_copy_to(\PgSql\Connection $connection, string $table_name, string $s * @param string $table_name * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ @@ -272,7 +272,7 @@ function pg_host(?\PgSql\Connection $connection = null): string * @param string $table_name * @param array $values * @param int $flags - * @return mixed + * @return bool|resource|string * @throws PgsqlException * */ @@ -348,11 +348,11 @@ function pg_lo_export(?\PgSql\Connection $connection = null, ?int $oid = null, ? * @param \PgSql\Connection $connection * @param string $pathname * @param $object_id - * @return int + * @return int|string * @throws PgsqlException * */ -function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null): int +function pg_lo_import(?\PgSql\Connection $connection = null, ?string $pathname = null, $object_id = null) { error_clear_last(); if ($object_id !== null) { @@ -700,7 +700,7 @@ function pg_result_seek(\PgSql\Result $result, int $row): void * @param array $conditions * @param int $flags * @param int $mode - * @return mixed + * @return array|string * @throws PgsqlException * */ @@ -778,7 +778,7 @@ function pg_trace(string $filename, string $mode = "w", ?\PgSql\Connection $conn * @param array $values * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ diff --git a/generated/8.4/uodbc.php b/generated/8.4/uodbc.php index 5a50fa9d..90a0068f 100644 --- a/generated/8.4/uodbc.php +++ b/generated/8.4/uodbc.php @@ -46,7 +46,7 @@ function odbc_binmode(int $statement, int $mode): bool * @param string $schema * @param string $table * @param string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_columnprivileges(\Odbc\Connection $odbc, string $catalog, string $schema, string $table, string $column) @@ -63,7 +63,7 @@ function odbc_columnprivileges(\Odbc\Connection $odbc, string $catalog, string $ * @param null|string $schema * @param null|string $table * @param null|string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_columns(\Odbc\Connection $odbc, ?string $catalog = null, ?string $schema = null, ?string $table = null, ?string $column = null) @@ -309,7 +309,7 @@ function odbc_field_type(\Odbc\Result $statement, int $field): string * @param string $fk_catalog * @param string $fk_schema * @param string $fk_table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_foreignkeys(\Odbc\Connection $odbc, string $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table) @@ -323,7 +323,7 @@ function odbc_foreignkeys(\Odbc\Connection $odbc, string $pk_catalog, string $pk /** * @param \Odbc\Connection $odbc * @param int $data_type - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_gettypeinfo(\Odbc\Connection $odbc, int $data_type = 0) @@ -408,7 +408,7 @@ function odbc_prepare(\Odbc\Connection $odbc, string $query): \Odbc\Result * @param string $catalog * @param string $schema * @param string $table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_primarykeys(\Odbc\Connection $odbc, string $catalog, string $schema, string $table) @@ -425,7 +425,7 @@ function odbc_primarykeys(\Odbc\Connection $odbc, string $catalog, string $schem * @param null|string $schema * @param null|string $procedure * @param null|string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_procedurecolumns($odbc, ?string $catalog = null, ?string $schema = null, ?string $procedure = null, ?string $column = null) @@ -551,7 +551,7 @@ function odbc_setoption($odbc, int $which, int $option, int $value): void * @param string $table * @param int $scope * @param int $nullable - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_specialcolumns(\Odbc\Connection $odbc, int $type, string $catalog, string $schema, string $table, int $scope, int $nullable) @@ -569,7 +569,7 @@ function odbc_specialcolumns(\Odbc\Connection $odbc, int $type, string $catalog, * @param string $table * @param int $unique * @param int $accuracy - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_statistics(\Odbc\Connection $odbc, string $catalog, string $schema, string $table, int $unique, int $accuracy) @@ -585,7 +585,7 @@ function odbc_statistics(\Odbc\Connection $odbc, string $catalog, string $schema * @param string $catalog * @param string $schema * @param string $table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_tableprivileges(\Odbc\Connection $odbc, string $catalog, string $schema, string $table) diff --git a/generated/8.5/uodbc.php b/generated/8.5/uodbc.php index 635add32..58dae30b 100644 --- a/generated/8.5/uodbc.php +++ b/generated/8.5/uodbc.php @@ -46,7 +46,7 @@ function odbc_binmode(int $statement, int $mode): bool * @param string $schema * @param string $table * @param string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_columnprivileges(\Odbc\Connection $odbc, string $catalog, string $schema, string $table, string $column) @@ -63,7 +63,7 @@ function odbc_columnprivileges(\Odbc\Connection $odbc, string $catalog, string $ * @param null|string $schema * @param null|string $table * @param null|string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_columns(\Odbc\Connection $odbc, ?string $catalog = null, ?string $schema = null, ?string $table = null, ?string $column = null) @@ -317,7 +317,7 @@ function odbc_field_type(\Odbc\Result $statement, int $field): string * @param string $fk_catalog * @param string $fk_schema * @param string $fk_table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_foreignkeys(\Odbc\Connection $odbc, string $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table) @@ -331,7 +331,7 @@ function odbc_foreignkeys(\Odbc\Connection $odbc, string $pk_catalog, string $pk /** * @param \Odbc\Connection $odbc * @param int $data_type - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_gettypeinfo(\Odbc\Connection $odbc, int $data_type = 0) @@ -424,7 +424,7 @@ function odbc_prepare(\Odbc\Connection $odbc, string $query): \Odbc\Result * @param string $catalog * @param string $schema * @param string $table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_primarykeys(\Odbc\Connection $odbc, string $catalog, string $schema, string $table) @@ -441,7 +441,7 @@ function odbc_primarykeys(\Odbc\Connection $odbc, string $catalog, string $schem * @param null|string $schema * @param null|string $procedure * @param null|string $column - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_procedurecolumns($odbc, ?string $catalog = null, ?string $schema = null, ?string $procedure = null, ?string $column = null) @@ -567,7 +567,7 @@ function odbc_setoption($odbc, int $which, int $option, int $value): void * @param string $table * @param int $scope * @param int $nullable - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_specialcolumns(\Odbc\Connection $odbc, int $type, string $catalog, string $schema, string $table, int $scope, int $nullable) @@ -585,7 +585,7 @@ function odbc_specialcolumns(\Odbc\Connection $odbc, int $type, string $catalog, * @param string $table * @param int $unique * @param int $accuracy - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_statistics(\Odbc\Connection $odbc, string $catalog, string $schema, string $table, int $unique, int $accuracy) @@ -601,7 +601,7 @@ function odbc_statistics(\Odbc\Connection $odbc, string $catalog, string $schema * @param string $catalog * @param string $schema * @param string $table - * @return \Odbc\Result|false + * @return false|resource * */ function odbc_tableprivileges(\Odbc\Connection $odbc, string $catalog, string $schema, string $table) diff --git a/generated/8.5/xdiff.php b/generated/8.5/xdiff.php index 1de09f23..fc6d2886 100644 --- a/generated/8.5/xdiff.php +++ b/generated/8.5/xdiff.php @@ -148,7 +148,7 @@ function xdiff_string_patch_binary(string $str, string $patch): string * @param string $str * @param string $patch * @param int $flags - * @param null|string $error + * @param string $error * @return string * @throws XdiffException * diff --git a/generated/8.5/zlib.php b/generated/8.5/zlib.php index 8f2ee68f..6667bd65 100644 --- a/generated/8.5/zlib.php +++ b/generated/8.5/zlib.php @@ -25,12 +25,12 @@ function deflate_add(\DeflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \DeflateContext * @throws ZlibException * */ -function deflate_init(int $encoding, array $options = []): \DeflateContext +function deflate_init(int $encoding, $options = []): \DeflateContext { error_clear_last(); $safeResult = \deflate_init($encoding, $options); @@ -363,12 +363,12 @@ function inflate_add(\InflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \InflateContext * @throws ZlibException * */ -function inflate_init(int $encoding, array $options = []): \InflateContext +function inflate_init(int $encoding, $options = []): \InflateContext { error_clear_last(); $safeResult = \inflate_init($encoding, $options); diff --git a/generated/8.6/image.php b/generated/8.6/image.php index 307dc416..048f72d0 100644 --- a/generated/8.6/image.php +++ b/generated/8.6/image.php @@ -84,7 +84,7 @@ function imageaffine(\GdImage $image, array $affine, ?array $clip = null): \GdIm /** * @param array $matrix1 * @param array $matrix2 - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ @@ -102,7 +102,7 @@ function imageaffinematrixconcat(array $matrix1, array $matrix2): array /** * @param int $type * @param array|float $options - * @return array{0:float,1:float,2:float,3:float,4:float,5:float} + * @return list{float,float,float,float,float,float} * @throws ImageException * */ diff --git a/generated/8.6/pgsql.php b/generated/8.6/pgsql.php index 6f322df8..f49f19dd 100644 --- a/generated/8.6/pgsql.php +++ b/generated/8.6/pgsql.php @@ -151,7 +151,7 @@ function pg_copy_to(\PgSql\Connection $connection, string $table_name, string $s * @param string $table_name * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ @@ -355,7 +355,7 @@ function pg_host(?\PgSql\Connection $connection = null): string * @param string $table_name * @param array $values * @param int $flags - * @return mixed + * @return bool|resource|string * @throws PgsqlException * */ @@ -431,11 +431,11 @@ function pg_lo_export(?\PgSql\Connection $connection = null, ?int $oid = null, ? * @param \PgSql\Connection $connection * @param string $filename * @param $oid - * @return int + * @return int|string * @throws PgsqlException * */ -function pg_lo_import(?\PgSql\Connection $connection = null, ?string $filename = null, $oid = null): int +function pg_lo_import(?\PgSql\Connection $connection = null, ?string $filename = null, $oid = null) { error_clear_last(); if ($oid !== null) { @@ -783,7 +783,7 @@ function pg_result_seek(\PgSql\Result $result, int $row): void * @param array $conditions * @param int $flags * @param int $mode - * @return mixed + * @return array|string * @throws PgsqlException * */ @@ -885,7 +885,7 @@ function pg_trace(string $filename, string $mode = "w", ?\PgSql\Connection $conn * @param array $values * @param array $conditions * @param int $flags - * @return mixed + * @return bool|string * @throws PgsqlException * */ diff --git a/generated/8.6/zlib.php b/generated/8.6/zlib.php index e13427ce..6df187c3 100644 --- a/generated/8.6/zlib.php +++ b/generated/8.6/zlib.php @@ -25,12 +25,12 @@ function deflate_add(\DeflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \DeflateContext * @throws ZlibException * */ -function deflate_init(int $encoding, array $options = []): \DeflateContext +function deflate_init(int $encoding, $options = []): \DeflateContext { error_clear_last(); $safeResult = \deflate_init($encoding, $options); @@ -363,12 +363,12 @@ function inflate_add(\InflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \InflateContext * @throws ZlibException * */ -function inflate_init(int $encoding, array $options = []): \InflateContext +function inflate_init(int $encoding, $options = []): \InflateContext { error_clear_last(); $safeResult = \inflate_init($encoding, $options); diff --git a/generated/8.7/zlib.php b/generated/8.7/zlib.php index b4a2bd97..b1a7bce2 100644 --- a/generated/8.7/zlib.php +++ b/generated/8.7/zlib.php @@ -25,12 +25,12 @@ function deflate_add(\DeflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \DeflateContext * @throws ZlibException * */ -function deflate_init(int $encoding, array $options = []): \DeflateContext +function deflate_init(int $encoding, $options = []): \DeflateContext { error_clear_last(); $safeResult = \deflate_init($encoding, $options); @@ -359,12 +359,12 @@ function inflate_add(\InflateContext $context, string $data, int $flush_mode = Z /** * @param int $encoding - * @param array $options + * @param array|object $options * @return \InflateContext * @throws ZlibException * */ -function inflate_init(int $encoding, array $options = []): \InflateContext +function inflate_init(int $encoding, $options = []): \InflateContext { error_clear_last(); $safeResult = \inflate_init($encoding, $options); diff --git a/generator/composer.lock b/generator/composer.lock index 71e728bd..a5f587bf 100644 --- a/generator/composer.lock +++ b/generator/composer.lock @@ -8,16 +8,11 @@ "packages": [ { "name": "phpstan/phpstan", - "version": "2.1.15", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "402d11c1aa40ae2e1c3a512e6a4edb957527b20b" - }, + "version": "2.3.7", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/402d11c1aa40ae2e1c3a512e6a4edb957527b20b", - "reference": "402d11c1aa40ae2e1c3a512e6a4edb957527b20b", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", + "reference": "90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", "shasum": "" }, "require": { @@ -40,6 +35,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -62,7 +68,8 @@ "type": "github" } ], - "time": "2025-05-14T11:16:08+00:00" + "time": "2026-11-19T10:31:11+00:00", + "published-time": "2026-11-19T10:31:27+00:00" }, { "name": "psr/container", @@ -115,27 +122,29 @@ "issues": "https://github.com/php-fig/container/issues", "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2021-11-05T16:47:00+00:00", + "published-time": "2021-11-05T16:53:27+00:00" }, { "name": "symfony/console", - "version": "v7.2.6", + "version": "v7.4.24", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0e2e3f38c192e93e622e41ec37f4ca70cfedf218" + "reference": "542ec4ffb13541c31917ba720a2204f23c8e8d08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0e2e3f38c192e93e622e41ec37f4ca70cfedf218", - "reference": "0e2e3f38c192e93e622e41ec37f4ca70cfedf218", + "url": "https://api.github.com/repos/symfony/console/zipball/542ec4ffb13541c31917ba720a2204f23c8e8d08", + "reference": "542ec4ffb13541c31917ba720a2204f23c8e8d08", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^6.4|^7.0" + "symfony/string": "^7.2|^8.0" }, "conflict": { "symfony/dependency-injection": "<6.4", @@ -149,16 +158,16 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^6.4|^7.0", - "symfony/messenger": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/stopwatch": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0" + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/event-dispatcher": "^6.4|^7.0|^8.0", + "symfony/http-foundation": "^6.4|^7.0|^8.0", + "symfony/http-kernel": "^6.4|^7.0|^8.0", + "symfony/lock": "^6.4|^7.0|^8.0", + "symfony/messenger": "^6.4|^7.0|^8.0", + "symfony/process": "^6.4|^7.0|^8.0", + "symfony/stopwatch": "^6.4|^7.0|^8.0", + "symfony/var-dumper": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -192,7 +201,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.2.6" + "source": "https://github.com/symfony/console/tree/v7.4.24" }, "funding": [ { @@ -203,25 +212,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-07T19:09:28+00:00" + "time": "2026-11-24T15:38:27+00:00", + "published-time": "2026-11-25T09:25:19+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.1", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3" }, "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/feb1edf4e546af3b85c5caebe8359a20db230ca3", + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3", "shasum": "" }, "require": { @@ -234,7 +248,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -259,7 +273,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/v3.8.1" }, "funding": [ { @@ -270,25 +284,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-09-16T14:15:10+00:00", + "published-time": "2026-11-04T11:25:34+00:00" }, { "name": "symfony/filesystem", - "version": "v7.2.0", + "version": "v7.4.24", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb" + "reference": "37a6b215cf82c881409e2ffaec61757964abd1f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b8dce482de9d7c9fe2891155035a7248ab5c7fdb", - "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/37a6b215cf82c881409e2ffaec61757964abd1f7", + "reference": "37a6b215cf82c881409e2ffaec61757964abd1f7", "shasum": "" }, "require": { @@ -297,7 +316,7 @@ "symfony/polyfill-mbstring": "~1.8" }, "require-dev": { - "symfony/process": "^6.4|^7.0" + "symfony/process": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -325,7 +344,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.2.0" + "source": "https://github.com/symfony/filesystem/tree/v7.4.24" }, "funding": [ { @@ -336,32 +355,37 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-25T15:15:23+00:00" + "time": "2026-11-24T15:20:15+00:00", + "published-time": "2026-11-25T09:23:31+00:00" }, { "name": "symfony/finder", - "version": "v7.2.2", + "version": "v7.4.24", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "87a71856f2f56e4100373e92529eed3171695cfb" + "reference": "d1a9510360de57f80a9f88e63364f6c547cab352" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb", - "reference": "87a71856f2f56e4100373e92529eed3171695cfb", + "url": "https://api.github.com/repos/symfony/finder/zipball/d1a9510360de57f80a9f88e63364f6c547cab352", + "reference": "d1a9510360de57f80a9f88e63364f6c547cab352", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "symfony/filesystem": "^6.4|^7.0" + "symfony/filesystem": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -389,7 +413,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.2.2" + "source": "https://github.com/symfony/finder/tree/v7.4.24" }, "funding": [ { @@ -400,25 +424,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-12-30T19:00:17+00:00" + "time": "2026-11-24T15:02:12+00:00", + "published-time": "2026-11-25T09:23:55+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "reference": "141046a8f9477948ff284fa65be2095baafb94f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2", + "reference": "141046a8f9477948ff284fa65be2095baafb94f2", "shasum": "" }, "require": { @@ -468,7 +497,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -479,25 +508,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00", + "published-time": "2026-04-26T14:44:50+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.43.3", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8" }, "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/5a8f33c87aeecffce24e721b5064fab05f4becf8", + "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8", "shasum": "" }, "require": { @@ -546,7 +580,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.43.3" }, "funding": [ { @@ -557,25 +591,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-10-15T09:18:53+00:00", + "published-time": "2026-10-28T10:07:44+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3833d7255cc303546435cb650316bff708a1c75c" + "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b" }, "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/ebd57ccc7edb93d632e184efbe7693d2517bab3b", + "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b", "shasum": "" }, "require": { @@ -627,7 +666,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.43.0" }, "funding": [ { @@ -638,28 +677,34 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-09-23T22:02:09+00:00", + "published-time": "2026-09-30T10:23:47+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.43.3", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a" }, "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/122889ed24dc000165bcbfd77ec412f15cbdfc6a", + "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a", "shasum": "" }, "require": { + "ext-iconv": "*", "php": ">=7.2" }, "provide": { @@ -707,7 +752,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.3" }, "funding": [ { @@ -718,25 +763,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-10-28T09:35:49+00:00", + "published-time": "2026-10-28T10:07:45+00:00" }, { "name": "symfony/process", - "version": "v7.2.5", + "version": "v7.4.24", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "87b7c93e57df9d8e39a093d32587702380ff045d" + "reference": "e88ac51768062ad548bf2f900c52231e7e83e475" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/87b7c93e57df9d8e39a093d32587702380ff045d", - "reference": "87b7c93e57df9d8e39a093d32587702380ff045d", + "url": "https://api.github.com/repos/symfony/process/zipball/e88ac51768062ad548bf2f900c52231e7e83e475", + "reference": "e88ac51768062ad548bf2f900c52231e7e83e475", "shasum": "" }, "require": { @@ -768,7 +818,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.2.5" + "source": "https://github.com/symfony/process/tree/v7.4.24" }, "funding": [ { @@ -779,25 +829,30 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-13T12:21:46+00:00" + "time": "2026-11-23T08:23:51+00:00", + "published-time": "2026-11-25T09:25:48+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.1", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5" }, "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/052852a96fd5e5ebdb617dba22031e41a3300fb5", + "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5", "shasum": "" }, "require": { @@ -815,7 +870,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -851,7 +906,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.8.1" }, "funding": [ { @@ -862,31 +917,37 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-10-20T17:38:25+00:00", + "published-time": "2026-11-04T11:25:33+00:00" }, { "name": "symfony/string", - "version": "v7.2.0", + "version": "v7.4.24", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" + "reference": "71cd5014e85d05d46796ce60dc4aed9104122b89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", + "url": "https://api.github.com/repos/symfony/string/zipball/71cd5014e85d05d46796ce60dc4aed9104122b89", + "reference": "71cd5014e85d05d46796ce60dc4aed9104122b89", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-grapheme": "~1.33", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, @@ -894,12 +955,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/emoji": "^7.1", - "symfony/error-handler": "^6.4|^7.0", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", + "symfony/emoji": "^7.1|^8.0", + "symfony/http-client": "^6.4|^7.0|^8.0", + "symfony/intl": "^6.4|^7.0|^8.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" + "symfony/var-exporter": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -938,7 +998,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.2.0" + "source": "https://github.com/symfony/string/tree/v7.4.24" }, "funding": [ { @@ -949,31 +1009,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-11-13T13:31:26+00:00" + "time": "2026-11-24T15:24:17+00:00", + "published-time": "2026-11-25T09:24:05+00:00" } ], "packages-dev": [ { "name": "myclabs/deep-copy", - "version": "1.13.4", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" + "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", - "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae", + "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.0" }, "conflict": { "doctrine/collections": "<1.6.8", @@ -1008,32 +1073,32 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" + "source": "https://github.com/myclabs/DeepCopy/tree/1.14.0" }, "funding": [ { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" + "url": "https://github.com/mnapoli", + "type": "github" } ], - "time": "2025-08-01T08:46:24+00:00" + "time": "2026-08-11T10:17:44+00:00", + "published-time": "2026-08-11T10:29:20+00:00" }, { "name": "nikic/php-parser", - "version": "v5.7.0", + "version": "v5.9.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" + "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", - "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/9e33da9553fe7786f0962b35f4e4ecf01be89def", + "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def", "shasum": "" }, "require": { - "ext-ctype": "*", "ext-json": "*", "ext-tokenizer": "*", "php": ">=7.4" @@ -1072,9 +1137,10 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.9.0" }, - "time": "2025-12-06T11:56:16+00:00" + "time": "2026-09-13T18:51:52+00:00", + "published-time": "2026-09-13T18:53:16+00:00" }, { "name": "phar-io/manifest", @@ -1141,7 +1207,8 @@ "type": "github" } ], - "time": "2024-03-03T12:33:53+00:00" + "time": "2024-03-03T12:33:53+00:00", + "published-time": "2024-03-03T12:39:44+00:00" }, { "name": "phar-io/version", @@ -1192,7 +1259,8 @@ "issues": "https://github.com/phar-io/version/issues", "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2022-02-21T01:04:05+00:00", + "published-time": "2022-02-21T01:04:30+00:00" }, { "name": "php-parallel-lint/php-parallel-lint", @@ -1253,38 +1321,38 @@ "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.4.0" }, - "time": "2024-03-27T12:14:49+00:00" + "time": "2024-03-27T12:14:49+00:00", + "published-time": "2024-03-27T12:18:41+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "12.5.3", + "version": "12.5.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "b015312f28dd75b75d3422ca37dff2cd1a565e8d" + "reference": "7440368d94738d54f2c1de24dbd3871793bbb0dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b015312f28dd75b75d3422ca37dff2cd1a565e8d", - "reference": "b015312f28dd75b75d3422ca37dff2cd1a565e8d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7440368d94738d54f2c1de24dbd3871793bbb0dd", + "reference": "7440368d94738d54f2c1de24dbd3871793bbb0dd", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.7.0", + "nikic/php-parser": "^5.9.0", "php": ">=8.3", - "phpunit/php-file-iterator": "^6.0", - "phpunit/php-text-template": "^5.0", + "phpunit/php-text-template": "^5.0.1", "sebastian/complexity": "^5.0", - "sebastian/environment": "^8.0.3", - "sebastian/lines-of-code": "^4.0", + "sebastian/environment": "^8.1.2", + "sebastian/lines-of-code": "^4.0.1", "sebastian/version": "^6.0", "theseer/tokenizer": "^2.0.1" }, "require-dev": { - "phpunit/phpunit": "^12.5.1" + "phpunit/phpunit": "^12.5.37" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -1322,7 +1390,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/12.5.3" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/12.5.8" }, "funding": [ { @@ -1342,27 +1410,28 @@ "type": "tidelift" } ], - "time": "2026-02-06T06:01:44+00:00" + "time": "2026-10-03T14:03:50+00:00", + "published-time": "2026-10-03T14:04:33+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "6.0.1", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5" + "reference": "a248d1640ab059b075f53a2ef0f9856e864e06b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5", - "reference": "3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a248d1640ab059b075f53a2ef0f9856e864e06b5", + "reference": "a248d1640ab059b075f53a2ef0f9856e864e06b5", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.33" }, "type": "library", "extra": { @@ -1395,7 +1464,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/6.0.2" }, "funding": [ { @@ -1415,7 +1484,8 @@ "type": "tidelift" } ], - "time": "2026-02-02T14:04:18+00:00" + "time": "2026-08-25T14:40:53+00:00", + "published-time": "2026-08-25T14:41:57+00:00" }, { "name": "phpunit/php-invoker", @@ -1479,27 +1549,28 @@ "type": "github" } ], - "time": "2025-02-07T04:58:58+00:00" + "time": "2025-02-07T04:58:58+00:00", + "published-time": "2025-02-07T04:59:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "5.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "e1367a453f0eda562eedb4f659e13aa900d66c53" + "reference": "babab73b7ef9fae406f2eb3ee11323a61caa63d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/e1367a453f0eda562eedb4f659e13aa900d66c53", - "reference": "e1367a453f0eda562eedb4f659e13aa900d66c53", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/babab73b7ef9fae406f2eb3ee11323a61caa63d5", + "reference": "babab73b7ef9fae406f2eb3ee11323a61caa63d5", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.37" }, "type": "library", "extra": { @@ -1531,15 +1602,28 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/5.0.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/php-text-template", + "type": "tidelift" } ], - "time": "2025-02-07T04:59:16+00:00" + "time": "2026-10-03T04:51:29+00:00", + "published-time": "2026-10-03T04:54:39+00:00" }, { "name": "phpunit/php-timer", @@ -1599,48 +1683,49 @@ "type": "github" } ], - "time": "2025-02-07T04:59:38+00:00" + "time": "2025-02-07T04:59:38+00:00", + "published-time": "2025-02-07T04:59:52+00:00" }, { "name": "phpunit/phpunit", - "version": "12.5.14", + "version": "12.5.45", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "47283cfd98d553edcb1353591f4e255dc1bb61f0" + "reference": "ca97be2931de6a0adf824da12889cbf935a016e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/47283cfd98d553edcb1353591f4e255dc1bb61f0", - "reference": "47283cfd98d553edcb1353591f4e255dc1bb61f0", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ca97be2931de6a0adf824da12889cbf935a016e9", + "reference": "ca97be2931de6a0adf824da12889cbf935a016e9", "shasum": "" }, "require": { "ext-dom": "*", + "ext-filter": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", - "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.13.4", + "myclabs/deep-copy": "^1.14.0", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.3", - "phpunit/php-code-coverage": "^12.5.3", - "phpunit/php-file-iterator": "^6.0.1", + "phpunit/php-code-coverage": "^12.5.8", + "phpunit/php-file-iterator": "^6.0.2", "phpunit/php-invoker": "^6.0.0", - "phpunit/php-text-template": "^5.0.0", + "phpunit/php-text-template": "^5.0.1", "phpunit/php-timer": "^8.0.0", - "sebastian/cli-parser": "^4.2.0", - "sebastian/comparator": "^7.1.4", - "sebastian/diff": "^7.0.0", - "sebastian/environment": "^8.0.3", - "sebastian/exporter": "^7.0.2", - "sebastian/global-state": "^8.0.2", + "sebastian/cli-parser": "^4.2.1", + "sebastian/comparator": "^7.1.8", + "sebastian/diff": "^7.0.1", + "sebastian/environment": "^8.1.2", + "sebastian/exporter": "^7.0.3", + "sebastian/global-state": "^8.0.3", "sebastian/object-enumerator": "^7.0.0", "sebastian/recursion-context": "^7.0.1", - "sebastian/type": "^6.0.3", - "sebastian/version": "^6.0.0", + "sebastian/type": "^6.0.4", + "sebastian/version": "^6.0.2", "staabm/side-effects-detector": "^1.0.5" }, "bin": [ @@ -1681,51 +1766,36 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.14" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.45" }, "funding": [ { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" + "url": "https://phpunit.de/sponsoring.html", + "type": "other" } ], - "time": "2026-02-18T12:38:40+00:00" + "time": "2026-11-19T12:16:09+00:00", + "published-time": "2026-11-19T12:17:59+00:00" }, { "name": "sebastian/cli-parser", - "version": "4.2.0", + "version": "4.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "90f41072d220e5c40df6e8635f5dafba2d9d4d04" + "reference": "7d05781b13f7dec9043a629a21d086ed74582a15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/90f41072d220e5c40df6e8635f5dafba2d9d4d04", - "reference": "90f41072d220e5c40df6e8635f5dafba2d9d4d04", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/7d05781b13f7dec9043a629a21d086ed74582a15", + "reference": "7d05781b13f7dec9043a629a21d086ed74582a15", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.25" }, "type": "library", "extra": { @@ -1754,7 +1824,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/4.2.0" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/4.2.1" }, "funding": [ { @@ -1774,20 +1844,21 @@ "type": "tidelift" } ], - "time": "2025-09-14T09:36:45+00:00" + "time": "2026-05-17T05:29:34+00:00", + "published-time": "2026-05-17T05:30:34+00:00" }, { "name": "sebastian/comparator", - "version": "7.1.4", + "version": "7.1.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "6a7de5df2e094f9a80b40a522391a7e6022df5f6" + "reference": "7c65c1e79836812819705b473a90c12399542485" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a7de5df2e094f9a80b40a522391a7e6022df5f6", - "reference": "6a7de5df2e094f9a80b40a522391a7e6022df5f6", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7c65c1e79836812819705b473a90c12399542485", + "reference": "7c65c1e79836812819705b473a90c12399542485", "shasum": "" }, "require": { @@ -1795,10 +1866,10 @@ "ext-mbstring": "*", "php": ">=8.3", "sebastian/diff": "^7.0", - "sebastian/exporter": "^7.0" + "sebastian/exporter": "^7.0.3" }, "require-dev": { - "phpunit/phpunit": "^12.2" + "phpunit/phpunit": "^12.5.25" }, "suggest": { "ext-bcmath": "For comparing BcMath\\Number objects" @@ -1846,7 +1917,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/7.1.4" + "source": "https://github.com/sebastianbergmann/comparator/tree/7.1.8" }, "funding": [ { @@ -1866,7 +1937,8 @@ "type": "tidelift" } ], - "time": "2026-01-24T09:28:48+00:00" + "time": "2026-05-21T04:45:25+00:00", + "published-time": "2026-05-21T04:45:36+00:00" }, { "name": "sebastian/complexity", @@ -1924,28 +1996,29 @@ "type": "github" } ], - "time": "2025-02-07T04:55:25+00:00" + "time": "2025-02-07T04:55:25+00:00", + "published-time": "2025-02-07T04:55:36+00:00" }, { "name": "sebastian/diff", - "version": "7.0.0", + "version": "7.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7ab1ea946c012266ca32390913653d844ecd085f" + "reference": "cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7ab1ea946c012266ca32390913653d844ecd085f", - "reference": "7ab1ea946c012266ca32390913653d844ecd085f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6", + "reference": "cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0", - "symfony/process": "^7.2" + "phpunit/phpunit": "^12.5.33", + "symfony/process": "^7.4.17" }, "type": "library", "extra": { @@ -1983,35 +2056,48 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/7.0.0" + "source": "https://github.com/sebastianbergmann/diff/tree/7.0.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/diff", + "type": "tidelift" } ], - "time": "2025-02-07T04:55:46+00:00" + "time": "2026-08-25T15:35:54+00:00", + "published-time": "2026-08-25T15:37:16+00:00" }, { "name": "sebastian/environment", - "version": "8.0.3", + "version": "8.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "24a711b5c916efc6d6e62aa65aa2ec98fef77f68" + "reference": "9d32c685773823b1983e256ae4ecd48a10d6e439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/24a711b5c916efc6d6e62aa65aa2ec98fef77f68", - "reference": "24a711b5c916efc6d6e62aa65aa2ec98fef77f68", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/9d32c685773823b1983e256ae4ecd48a10d6e439", + "reference": "9d32c685773823b1983e256ae4ecd48a10d6e439", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.26" }, "suggest": { "ext-posix": "*" @@ -2019,7 +2105,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "8.0-dev" + "dev-main": "8.1-dev" } }, "autoload": { @@ -2047,7 +2133,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/8.0.3" + "source": "https://github.com/sebastianbergmann/environment/tree/8.1.2" }, "funding": [ { @@ -2067,29 +2153,30 @@ "type": "tidelift" } ], - "time": "2025-08-12T14:11:56+00:00" + "time": "2026-05-25T13:40:20+00:00", + "published-time": "2026-05-25T13:40:39+00:00" }, { "name": "sebastian/exporter", - "version": "7.0.2", + "version": "7.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "016951ae10980765e4e7aee491eb288c64e505b7" + "reference": "c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/016951ae10980765e4e7aee491eb288c64e505b7", - "reference": "016951ae10980765e4e7aee491eb288c64e505b7", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23", + "reference": "c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23", "shasum": "" }, "require": { "ext-mbstring": "*", "php": ">=8.3", - "sebastian/recursion-context": "^7.0" + "sebastian/recursion-context": "^7.0.1" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.25" }, "type": "library", "extra": { @@ -2137,7 +2224,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/7.0.2" + "source": "https://github.com/sebastianbergmann/exporter/tree/7.0.3" }, "funding": [ { @@ -2157,30 +2244,31 @@ "type": "tidelift" } ], - "time": "2025-09-24T06:16:11+00:00" + "time": "2026-05-20T04:37:17+00:00", + "published-time": "2026-05-20T04:37:31+00:00" }, { "name": "sebastian/global-state", - "version": "8.0.2", + "version": "8.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "ef1377171613d09edd25b7816f05be8313f9115d" + "reference": "b164d3274d6537ab462591c5755f76a8f5b1aae9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ef1377171613d09edd25b7816f05be8313f9115d", - "reference": "ef1377171613d09edd25b7816f05be8313f9115d", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/b164d3274d6537ab462591c5755f76a8f5b1aae9", + "reference": "b164d3274d6537ab462591c5755f76a8f5b1aae9", "shasum": "" }, "require": { "php": ">=8.3", "sebastian/object-reflector": "^5.0", - "sebastian/recursion-context": "^7.0" + "sebastian/recursion-context": "^7.0.1" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.28" }, "type": "library", "extra": { @@ -2211,7 +2299,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/8.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/8.0.3" }, "funding": [ { @@ -2231,28 +2319,29 @@ "type": "tidelift" } ], - "time": "2025-08-29T11:29:25+00:00" + "time": "2026-06-01T15:10:33+00:00", + "published-time": "2026-06-01T15:20:45+00:00" }, { "name": "sebastian/lines-of-code", - "version": "4.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "97ffee3bcfb5805568d6af7f0f893678fc076d2f" + "reference": "d543b8ef219dcd8da262cbb958639a96bedba10e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/97ffee3bcfb5805568d6af7f0f893678fc076d2f", - "reference": "97ffee3bcfb5805568d6af7f0f893678fc076d2f", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d543b8ef219dcd8da262cbb958639a96bedba10e", + "reference": "d543b8ef219dcd8da262cbb958639a96bedba10e", "shasum": "" }, "require": { - "nikic/php-parser": "^5.0", + "nikic/php-parser": "^5.7.0", "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.25" }, "type": "library", "extra": { @@ -2281,15 +2370,28 @@ "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/4.0.0" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/4.0.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/lines-of-code", + "type": "tidelift" } ], - "time": "2025-02-07T04:57:28+00:00" + "time": "2026-05-19T16:22:07+00:00", + "published-time": "2026-05-19T16:22:47+00:00" }, { "name": "sebastian/object-enumerator", @@ -2347,7 +2449,8 @@ "type": "github" } ], - "time": "2025-02-07T04:57:48+00:00" + "time": "2025-02-07T04:57:48+00:00", + "published-time": "2025-02-07T04:58:08+00:00" }, { "name": "sebastian/object-reflector", @@ -2403,7 +2506,8 @@ "type": "github" } ], - "time": "2025-02-07T04:58:17+00:00" + "time": "2025-02-07T04:58:17+00:00", + "published-time": "2025-02-07T04:58:28+00:00" }, { "name": "sebastian/recursion-context", @@ -2479,27 +2583,28 @@ "type": "tidelift" } ], - "time": "2025-08-13T04:44:59+00:00" + "time": "2025-08-13T04:44:59+00:00", + "published-time": "2025-08-13T04:45:10+00:00" }, { "name": "sebastian/type", - "version": "6.0.3", + "version": "6.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "e549163b9760b8f71f191651d22acf32d56d6d4d" + "reference": "82ff822c2edc46724be9f7411d3163021f602773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e549163b9760b8f71f191651d22acf32d56d6d4d", - "reference": "e549163b9760b8f71f191651d22acf32d56d6d4d", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/82ff822c2edc46724be9f7411d3163021f602773", + "reference": "82ff822c2edc46724be9f7411d3163021f602773", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^12.5.25" }, "type": "library", "extra": { @@ -2528,7 +2633,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/type/issues", "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/6.0.3" + "source": "https://github.com/sebastianbergmann/type/tree/6.0.4" }, "funding": [ { @@ -2548,20 +2653,21 @@ "type": "tidelift" } ], - "time": "2025-08-09T06:57:12+00:00" + "time": "2026-05-20T06:45:45+00:00", + "published-time": "2026-05-20T06:50:13+00:00" }, { "name": "sebastian/version", - "version": "6.0.0", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "3e6ccf7657d4f0a59200564b08cead899313b53c" + "reference": "a8b6643a19ba6c8125a473623e45fb8cbb0e4159" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/3e6ccf7657d4f0a59200564b08cead899313b53c", - "reference": "3e6ccf7657d4f0a59200564b08cead899313b53c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a8b6643a19ba6c8125a473623e45fb8cbb0e4159", + "reference": "a8b6643a19ba6c8125a473623e45fb8cbb0e4159", "shasum": "" }, "require": { @@ -2594,15 +2700,28 @@ "support": { "issues": "https://github.com/sebastianbergmann/version/issues", "security": "https://github.com/sebastianbergmann/version/security/policy", - "source": "https://github.com/sebastianbergmann/version/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/version/tree/6.0.2" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/version", + "type": "tidelift" } ], - "time": "2025-02-07T05:00:38+00:00" + "time": "2026-11-09T06:30:55+00:00", + "published-time": "2026-11-09T06:31:20+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -2681,7 +2800,8 @@ "type": "thanks_dev" } ], - "time": "2026-08-06T00:17:32+00:00" + "time": "2026-08-06T00:17:32+00:00", + "published-time": "2026-08-06T01:05:02+00:00" }, { "name": "staabm/side-effects-detector", @@ -2733,7 +2853,8 @@ "type": "github" } ], - "time": "2024-10-20T05:08:20+00:00" + "time": "2024-10-20T05:08:20+00:00", + "published-time": "2024-10-20T05:09:39+00:00" }, { "name": "theseer/tokenizer", @@ -2783,7 +2904,8 @@ "type": "github" } ], - "time": "2025-12-08T11:19:18+00:00" + "time": "2025-12-08T11:19:18+00:00", + "published-time": "2025-12-08T11:19:39+00:00" } ], "aliases": [], @@ -2800,5 +2922,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.11.0" } diff --git a/generator/src/Commands/GenerateCommand.php b/generator/src/Commands/GenerateCommand.php index 38bd9ccc..db903d04 100644 --- a/generator/src/Commands/GenerateCommand.php +++ b/generator/src/Commands/GenerateCommand.php @@ -108,7 +108,6 @@ protected function execute( ) ); - $currentFunctionsByName = []; foreach ($res->methods as $function) { $pastFunctionNames[] = $function->getFunctionName(); $modules[$function->getModuleName()] = true; diff --git a/generator/src/PhpStanFunctions/PhpStanType.php b/generator/src/PhpStanFunctions/PhpStanType.php index 8ed696f2..fa6860c7 100644 --- a/generator/src/PhpStanFunctions/PhpStanType.php +++ b/generator/src/PhpStanFunctions/PhpStanType.php @@ -133,6 +133,7 @@ public function getSignatureType(?ErrorType $errorType = null): string } elseif (str_contains($type, 'array<') || str_contains($type, 'array{') || str_contains($type, 'list<') || + str_contains($type, 'list{') || str_contains($type, '[]') ) { $type = 'array'; //typed array has to be untyped diff --git a/generator/tests/PhpStanFunctions/PhpStanTypeTest.php b/generator/tests/PhpStanFunctions/PhpStanTypeTest.php index 3b875018..070e9195 100644 --- a/generator/tests/PhpStanFunctions/PhpStanTypeTest.php +++ b/generator/tests/PhpStanFunctions/PhpStanTypeTest.php @@ -171,6 +171,10 @@ public function testListBecomingArray(): void $param = new PhpStanType('list|false'); $this->assertEquals('list', $param->getDocBlockType(ErrorType::FALSY)); $this->assertEquals('array', $param->getSignatureType(ErrorType::FALSY)); + + $param = new PhpStanType('list{float,float,float,float,float,float}'); + $this->assertEquals('list{float,float,float,float,float,float}', $param->getDocBlockType()); + $this->assertEquals('array', $param->getSignatureType()); } public function testIntGeneralisation(): void