From dd17c63a747c5fbdcf37bd798c4fb232d81d72f5 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 16 Nov 2026 14:12:52 +0000 Subject: [PATCH 1/8] Match the sequence tie break to the leading order direction The tie break appended to a non-unique order followed the leading direction only for $createdAt and $updatedAt and was ASC for every other attribute. `ORDER BY x DESC, _id ASC` cannot be served by an index on (x, _id), so MySQL picks another index and filesorts the whole tenant's rows. On MySQL 8.4 with 400k rows and idx (_tenant, occurredAt, _id), a 90-day `occurredAt DESC` page at offset 5000 went from 360,000 rows read plus a filesort to a backward index scan of 6,000 rows. Co-Authored-By: Claude Opus 5.5 --- src/Database/Trait/Documents.php | 9 +++------ tests/unit/Documents/FindLogicTest.php | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index fba86ed25..ab1d97224 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -5175,14 +5175,11 @@ private function addTieBreaks(array $orderAttributes, array $orderTypes, array $ return [$orderAttributes, $orderTypes]; } + // The tie break follows the leading direction so an index ending in the order attribute + // can be walked in one direction; `x DESC, _id ASC` cannot use (x, _id) and filesorts. if (! $uniqueOrderBy) { - $leadingAttribute = $orderAttributes[0] ?? null; - $leadingOrderType = $orderTypes[0] ?? OrderDirection::Asc; - $orderAttributes[] = Document::SEQUENCE; - $orderTypes[] = \in_array($leadingAttribute, [Document::CREATED_AT, Document::UPDATED_AT], true) - ? $leadingOrderType - : OrderDirection::Asc; + $orderTypes[] = $orderTypes[0] ?? OrderDirection::Asc; } if ($joins === [] || (! $paged && ! $this->showsJoinedRows($selects, $joinedCollections))) { diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index d5407424f..0cc9cd8b3 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -398,6 +398,30 @@ public function testDateOrderAppendsMatchingSequenceTieBreakLast(): void ]); } + public function testDescendingOrderAppendsDescendingSequenceTieBreak(): void + { + $adapter = $this->mockAdapter(); + $this->setupCollectionLookup('testCol', [ + new Document(['$id' => 'age', 'key' => 'age', 'type' => 'integer', 'size' => 0, 'required' => false, 'array' => false]), + ]); + $adapter->expects($this->once()) + ->method('find') + ->with( + $this->anything(), + $this->anything(), + $this->anything(), + $this->anything(), + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + $this->anything(), + $this->anything(), + $this->anything(), + ) + ->willReturn([]); + + $this->database->find('testCol', [Query::orderDesc('age')]); + } + public function testFindCursorValidationThrowsOnEmptyCursorAttribute(): void { $attributes = [ From 4ef2d007be9c45e4aacd15e41105234853a4eaf4 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 16 Nov 2026 14:51:25 +0000 Subject: [PATCH 2/8] Pick the tie break direction from the matching index InnoDB appends the primary key ascending to every secondary index, even a descending one. So (x) serves `x DESC, _id DESC` read backward, while (x DESC) serves `x DESC, _id ASC` read forward. Following the leading direction alone fixed the first case and broke the second. The tie break now reads ASC when the order walks an index on exactly the order attributes forward, DESC when it walks it backward, and follows the leading direction when no such index exists. Co-Authored-By: Claude Opus 5.5 --- src/Database/Trait/Cursors.php | 2 +- src/Database/Trait/Documents.php | 57 +++++++++++++++++++++++--- tests/unit/Documents/FindLogicTest.php | 27 ++++++++++++ 3 files changed, 79 insertions(+), 7 deletions(-) diff --git a/src/Database/Trait/Cursors.php b/src/Database/Trait/Cursors.php index d72359648..32dee914e 100644 --- a/src/Database/Trait/Cursors.php +++ b/src/Database/Trait/Cursors.php @@ -94,7 +94,7 @@ public function resolveCursor(string $collection, string $id, CursorDirection $d } if (! $parsed->distinct) { - [$orderAttributes, $orderTypes] = $this->addTieBreaks($orderAttributes, $orderTypes, $parsed->filters, $joins, $joinedCollections, true, $parsed->selections); + [$orderAttributes, $orderTypes] = $this->addTieBreaks($definition, $orderAttributes, $orderTypes, $parsed->filters, $joins, $joinedCollections, true, $parsed->selections); } $joinedOrders = []; diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index ab1d97224..3f460ad82 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -4224,7 +4224,7 @@ private function fetch(Collection $collection, array $queries, PermissionType $f } if (! $isAggregation && ! $distinct) { - [$orderAttributes, $orderTypes] = $this->addTieBreaks($orderAttributes, $orderTypes, $filters, $joins, $joinedCollections, ! empty($cursor), $selects); + [$orderAttributes, $orderTypes] = $this->addTieBreaks($collection, $orderAttributes, $orderTypes, $filters, $joins, $joinedCollections, ! empty($cursor), $selects); } if (! empty($cursor)) { @@ -5159,7 +5159,54 @@ private static function aliasAggregates(array $queries): array * @param array $selects * @return array{array, array} */ - private function addTieBreaks(array $orderAttributes, array $orderTypes, array $filters, array $joins, array $joinedCollections, bool $paged, array $selects): array + /** + * The direction of the sequence tie break that lets an index serve the whole order. + * + * InnoDB ends every secondary index with the primary key in ascending order, so an index whose + * attributes are exactly the order attributes also orders by sequence: ascending when the order + * reads the index forward, descending when it reads it backward. `(x)` serves `x DESC, _id DESC` + * and `(x DESC)` serves `x DESC, _id ASC`; any other pairing filesorts every row in range. With no + * such index the tie break follows the leading direction, which is what an ascending index wants. + * + * @param array $orderAttributes + * @param array $orderTypes + */ + private function tieBreakDirection(Collection $collection, array $orderAttributes, array $orderTypes): OrderDirection + { + $leading = $orderTypes[0] ?? OrderDirection::Asc; + if ($orderAttributes === []) { + return $leading; + } + + foreach ($collection->indexes() as $index) { + if (! \in_array($index->type, [IndexType::Key, IndexType::Unique], true) + || \count($index->attributes) !== \count($orderAttributes)) { + continue; + } + + $forward = null; + foreach ($orderAttributes as $position => $attribute) { + $requested = $orderTypes[$position] ?? OrderDirection::Asc; + $declared = $index->orders[$position] ?? OrderDirection::Asc; + if ($index->attributes[$position] !== $attribute + || ! \in_array($requested, [OrderDirection::Asc, OrderDirection::Desc], true)) { + continue 2; + } + + $same = $requested === $declared; + if ($forward !== null && $forward !== $same) { + continue 2; + } + $forward = $same; + } + + return $forward ? OrderDirection::Asc : OrderDirection::Desc; + } + + return $leading; + } + + private function addTieBreaks(Collection $collection, array $orderAttributes, array $orderTypes, array $filters, array $joins, array $joinedCollections, bool $paged, array $selects): array { $uniqueOrderBy = \in_array(Document::ID, $orderAttributes, true) || \in_array(Document::SEQUENCE, $orderAttributes, true); @@ -5175,11 +5222,9 @@ private function addTieBreaks(array $orderAttributes, array $orderTypes, array $ return [$orderAttributes, $orderTypes]; } - // The tie break follows the leading direction so an index ending in the order attribute - // can be walked in one direction; `x DESC, _id ASC` cannot use (x, _id) and filesorts. if (! $uniqueOrderBy) { + $orderTypes[] = $this->tieBreakDirection($collection, $orderAttributes, $orderTypes); $orderAttributes[] = Document::SEQUENCE; - $orderTypes[] = $orderTypes[0] ?? OrderDirection::Asc; } if ($joins === [] || (! $paged && ! $this->showsJoinedRows($selects, $joinedCollections))) { @@ -5239,7 +5284,7 @@ private function nextPageCheck(string $collection, array $queries): Closure if ($distinct) { $this->assertDistinctCursorOrder($selects, $orders); } else { - [$orders] = $this->addTieBreaks($orders, $orderTypes, $filters, $joins, $joinedCollections, true, $selects); + [$orders] = $this->addTieBreaks($collection, $orders, $orderTypes, $filters, $joins, $joinedCollections, true, $selects); } $this->assertCursorHasOrderValues($cursor, $orders); diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index 0cc9cd8b3..dbcca33e4 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -422,6 +422,33 @@ public function testDescendingOrderAppendsDescendingSequenceTieBreak(): void $this->database->find('testCol', [Query::orderDesc('age')]); } + public function testDescendingIndexKeepsAscendingSequenceTieBreak(): void + { + $adapter = $this->mockAdapter(); + $this->setupCollectionLookup('testCol', [ + new Document(['$id' => 'age', 'key' => 'age', 'type' => 'integer', 'size' => 0, 'required' => false, 'array' => false]), + ], [ + new Document(['$id' => 'age_desc', 'key' => 'age_desc', 'type' => 'key', 'attributes' => ['age'], 'lengths' => [], 'orders' => ['DESC']]), + ]); + + $sent = []; + $adapter->expects($this->exactly(2))->method('find')->willReturnCallback(function (...$arguments) use (&$sent): array { + $sent[] = [$arguments[4], $arguments[5]]; + + return []; + }); + + $this->database->find('testCol', [Query::orderDesc('age')]); + $this->database->find('testCol', [Query::orderAsc('age')]); + + // InnoDB appends the primary key ascending, so (age DESC) is read forward for + // `age DESC, _id ASC` and backward for `age ASC, _id DESC`. + $this->assertSame([ + [['age', '$sequence'], [OrderDirection::Desc, OrderDirection::Asc]], + [['age', '$sequence'], [OrderDirection::Asc, OrderDirection::Desc]], + ], $sent); + } + public function testFindCursorValidationThrowsOnEmptyCursorAttribute(): void { $attributes = [ From 6be78d5079f7e647a234a2ca22748695f6b0591f Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 16 Nov 2026 15:03:45 +0000 Subject: [PATCH 3/8] Cover date orders with and without a declared index Co-Authored-By: Claude Opus 5.5 --- tests/unit/Documents/FindLogicTest.php | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index dbcca33e4..b4f10a009 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -422,6 +422,33 @@ public function testDescendingOrderAppendsDescendingSequenceTieBreak(): void $this->database->find('testCol', [Query::orderDesc('age')]); } + public function testDateOrdersFollowTheirIndexDirection(): void + { + $adapter = $this->mockAdapter(); + $this->setupCollectionLookup('testCol', [], [ + new Document(['$id' => 'updated_desc', 'key' => 'updated_desc', 'type' => 'key', 'attributes' => ['$updatedAt'], 'lengths' => [], 'orders' => ['DESC']]), + ]); + + $sent = []; + $adapter->expects($this->exactly(3))->method('find')->willReturnCallback(function (...$arguments) use (&$sent): array { + $sent[] = [$arguments[4], $arguments[5]]; + + return []; + }); + + // The built-in _created_at index is ascending and not in the collection metadata, so a + // date order with no declared index keeps following its own direction, as it always has. + $this->database->find('testCol', [Query::orderDesc('$createdAt')]); + $this->database->find('testCol', [Query::orderAsc('$createdAt')]); + $this->database->find('testCol', [Query::orderDesc('$updatedAt')]); + + $this->assertSame([ + [['$createdAt', '$sequence'], [OrderDirection::Desc, OrderDirection::Desc]], + [['$createdAt', '$sequence'], [OrderDirection::Asc, OrderDirection::Asc]], + [['$updatedAt', '$sequence'], [OrderDirection::Desc, OrderDirection::Asc]], + ], $sent); + } + public function testDescendingIndexKeepsAscendingSequenceTieBreak(): void { $adapter = $this->mockAdapter(); From 13eeafebe75829a27955c7d99db32d8a8331af6c Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 19 Nov 2026 16:34:37 +0200 Subject: [PATCH 4/8] More tests --- composer.lock | 1011 ++++++++++++++---------- src/Database/Trait/Documents.php | 88 ++- tests/unit/Documents/FindLogicTest.php | 315 ++++++++ 3 files changed, 971 insertions(+), 443 deletions(-) diff --git a/composer.lock b/composer.lock index 075ab4fd0..45e145ebf 100644 --- a/composer.lock +++ b/composer.lock @@ -64,20 +64,21 @@ "type": "github" } ], - "time": "2026-09-12T10:28:18+00:00" + "time": "2026-09-12T10:28:18+00:00", + "published-time": "2026-09-12T12:23:30+00:00" }, { "name": "composer/semver", - "version": "3.5.2", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "9dfce66f1e97360ea5e6d3e38ab14277e4cc591e" + "reference": "d92543b7ede9c4ec6b59853cefb061e39866d2cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/9dfce66f1e97360ea5e6d3e38ab14277e4cc591e", - "reference": "9dfce66f1e97360ea5e6d3e38ab14277e4cc591e", + "url": "https://api.github.com/repos/composer/semver/zipball/d92543b7ede9c4ec6b59853cefb061e39866d2cf", + "reference": "d92543b7ede9c4ec6b59853cefb061e39866d2cf", "shasum": "" }, "require": { @@ -129,7 +130,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.5.2" + "source": "https://github.com/composer/semver/tree/3.6.0" }, "funding": [ { @@ -141,7 +142,8 @@ "type": "github" } ], - "time": "2026-10-22T15:37:26+00:00" + "time": "2026-10-29T09:13:34+00:00", + "published-time": "2026-10-29T09:14:11+00:00" }, { "name": "google/protobuf", @@ -185,7 +187,8 @@ "support": { "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.36.2" }, - "time": "2026-09-17T15:56:42+00:00" + "time": "2026-09-17T15:56:42+00:00", + "published-time": "2026-09-17T15:56:48+00:00" }, { "name": "nyholm/psr7", @@ -263,7 +266,8 @@ "type": "github" } ], - "time": "2024-09-09T07:06:30+00:00" + "time": "2024-09-09T07:06:30+00:00", + "published-time": "2024-09-09T07:07:05+00:00" }, { "name": "nyholm/psr7-server", @@ -329,40 +333,48 @@ "type": "github" } ], - "time": "2023-11-08T09:30:43+00:00" + "time": "2023-11-08T09:30:43+00:00", + "published-time": "2023-11-08T09:33:01+00:00" }, { "name": "open-telemetry/api", - "version": "1.10.1", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/api.git", - "reference": "b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b" + "reference": "b0884741f3f9d5dc60477784c8671bd2acef4ceb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b", - "reference": "b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b", + "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b0884741f3f9d5dc60477784c8671bd2acef4ceb", + "reference": "b0884741f3f9d5dc60477784c8671bd2acef4ceb", "shasum": "" }, "require": { "open-telemetry/context": "^1.4", - "php": "^8.1", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php82": "^1.26" + "php": "^8.2", + "psr/log": "^1.1|^2.0|^3.0" }, "conflict": { - "open-telemetry/sdk": "<=1.11" + "open-telemetry/sdk": "<=1.11", + "open-telemetry/sdk-configuration": "<0.10" + }, + "suggest": { + "symfony/config": "To implement a ComponentProvider for declarative configuration" }, "type": "library", "extra": { "spi": { + "OpenTelemetry\\API\\Configuration\\Config\\ComponentProvider": [ + "OpenTelemetry\\API\\Baggage\\Propagation\\Config\\TextMapPropagatorBaggage", + "OpenTelemetry\\API\\Trace\\Propagation\\Config\\TextMapPropagatorTraceContext" + ], "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\HookManagerInterface": [ "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" ] }, "branch-alias": { - "dev-main": "1.8.x-dev" + "dev-main": "1.12.x-dev" } }, "autoload": { @@ -399,25 +411,25 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-09-16T01:59:09+00:00" + "time": "2026-11-19T08:10:15+00:00", + "published-time": "2026-11-19T08:15:35+00:00" }, { "name": "open-telemetry/context", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/context.git", - "reference": "3c414b246e0dabb7d6145404e6a5e4536ca18d07" + "reference": "711e7291d9cf8a984c059c5afd926e45ab444b7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/3c414b246e0dabb7d6145404e6a5e4536ca18d07", - "reference": "3c414b246e0dabb7d6145404e6a5e4536ca18d07", + "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/711e7291d9cf8a984c059c5afd926e45ab444b7f", + "reference": "711e7291d9cf8a984c059c5afd926e45ab444b7f", "shasum": "" }, "require": { - "php": "^8.1", - "symfony/polyfill-php82": "^1.26" + "php": "^8.2" }, "suggest": { "ext-ffi": "To allow context switching in Fibers" @@ -425,7 +437,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.0.x-dev" + "dev-main": "1.6.x-dev" } }, "autoload": { @@ -458,33 +470,40 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-10-19T06:44:33+00:00" + "time": "2026-11-05T11:54:49+00:00", + "published-time": "2026-11-05T12:00:45+00:00" }, { "name": "open-telemetry/exporter-otlp", - "version": "1.4.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/exporter-otlp.git", - "reference": "283a0d66522f2adc6d8d7debfd7686be91c282be" + "reference": "78c5ce7646b34b3af449808769eb24430a848049" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/283a0d66522f2adc6d8d7debfd7686be91c282be", - "reference": "283a0d66522f2adc6d8d7debfd7686be91c282be", + "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/78c5ce7646b34b3af449808769eb24430a848049", + "reference": "78c5ce7646b34b3af449808769eb24430a848049", "shasum": "" }, "require": { "open-telemetry/api": "^1.0", - "open-telemetry/gen-otlp-protobuf": "^1.1", - "open-telemetry/sdk": "^1.0", - "php": "^8.1", - "php-http/discovery": "^1.14" + "open-telemetry/gen-otlp-protobuf": "^1.11.1", + "open-telemetry/sdk": "^1.17", + "php": "^8.2", + "php-http/discovery": "^1.14", + "tbachert/spi": "^1.0.5" }, "type": "library", "extra": { + "spi-config": { + "autoload-files": [ + "_register.php" + ] + }, "branch-alias": { - "dev-main": "1.0.x-dev" + "dev-main": "1.6.x-dev" } }, "autoload": { @@ -522,26 +541,30 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-02-05T09:44:52+00:00" + "time": "2026-11-19T08:10:15+00:00", + "published-time": "2026-11-19T08:15:24+00:00" }, { "name": "open-telemetry/gen-otlp-protobuf", - "version": "1.10.0", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/gen-otlp-protobuf.git", - "reference": "66f04d0e448ad333033bfc7baae1aa56330be088" + "reference": "2576debe70233e4f45380e255d3d0b1a82679ca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/66f04d0e448ad333033bfc7baae1aa56330be088", - "reference": "66f04d0e448ad333033bfc7baae1aa56330be088", + "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/2576debe70233e4f45380e255d3d0b1a82679ca9", + "reference": "2576debe70233e4f45380e255d3d0b1a82679ca9", "shasum": "" }, "require": { - "google/protobuf": "^3.22 || ^4.0 || ^5.0", + "google/protobuf": "^4.31 || ^5.0", "php": "^8.0" }, + "conflict": { + "ext-protobuf": "<4.31" + }, "suggest": { "ext-protobuf": "For better performance, when dealing with the protobuf format" }, @@ -585,29 +608,30 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-06-17T12:06:32+00:00" + "time": "2026-11-05T11:54:49+00:00", + "published-time": "2026-11-05T12:00:37+00:00" }, { "name": "open-telemetry/sdk", - "version": "1.15.0", + "version": "1.17.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "77e1aa73850154abb86937d52a70883edc3b4547" + "reference": "5b823e465b0fabdf5019aef6aa2e430285949e7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/77e1aa73850154abb86937d52a70883edc3b4547", - "reference": "77e1aa73850154abb86937d52a70883edc3b4547", + "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/5b823e465b0fabdf5019aef6aa2e430285949e7b", + "reference": "5b823e465b0fabdf5019aef6aa2e430285949e7b", "shasum": "" }, "require": { "ext-json": "*", "nyholm/psr7-server": "^1.1", - "open-telemetry/api": "^1.8", + "open-telemetry/api": "^1.11", "open-telemetry/context": "^1.4", - "open-telemetry/sem-conv": "^1.38.0", - "php": "^8.1", + "open-telemetry/sem-conv": "^1.45.0", + "php": "^8.2", "php-http/discovery": "^1.14", "psr/http-client": "^1.0", "psr/http-client-implementation": "^1.0", @@ -616,7 +640,6 @@ "psr/log": "^1.1|^2.0|^3.0", "ramsey/uuid": "^3.0 || ^4.0", "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php82": "^1.26", "tbachert/spi": "^1.0.5" }, "suggest": { @@ -641,17 +664,19 @@ "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" ] }, + "spi-config": { + "autoload-files": [ + "_register.php" + ] + }, "branch-alias": { - "dev-main": "1.14.x-dev" + "dev-main": "1.17.x-dev" } }, "autoload": { "files": [ "Common/Util/functions.php", - "Logs/Exporter/_register.php", - "Metrics/MetricExporter/_register.php", - "Propagation/_register.php", - "Trace/SpanExporter/_register.php", + "_register.php", "Common/Dev/Compatibility/_load.php", "_autoload.php" ], @@ -685,20 +710,21 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-07-14T13:09:54+00:00" + "time": "2026-11-19T08:10:15+00:00", + "published-time": "2026-11-19T08:15:20+00:00" }, { "name": "open-telemetry/sem-conv", - "version": "1.44.0", + "version": "1.45.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af" + "reference": "7a42562cf5891f56f6f8ea2ecc945f31108c8806" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/c94bc7ebacef039cda4f4c9270807dcc58b4e3af", - "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af", + "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/7a42562cf5891f56f6f8ea2ecc945f31108c8806", + "reference": "7a42562cf5891f56f6f8ea2ecc945f31108c8806", "shasum": "" }, "require": { @@ -742,7 +768,8 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-09-09T22:06:17+00:00" + "time": "2026-11-03T22:37:22+00:00", + "published-time": "2026-11-03T22:42:45+00:00" }, { "name": "opis/closure", @@ -807,7 +834,8 @@ "issues": "https://github.com/opis/closure/issues", "source": "https://github.com/opis/closure/tree/4.5.0" }, - "time": "2026-03-05T13:32:42+00:00" + "time": "2026-03-05T13:32:42+00:00", + "published-time": "2026-03-05T13:34:38+00:00" }, { "name": "php-http/discovery", @@ -886,7 +914,8 @@ "issues": "https://github.com/php-http/discovery/issues", "source": "https://github.com/php-http/discovery/tree/1.20.0" }, - "time": "2024-10-02T11:20:13+00:00" + "time": "2024-10-02T11:20:13+00:00", + "published-time": "2024-10-02T11:21:00+00:00" }, { "name": "psr/container", @@ -939,7 +968,8 @@ "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": "psr/http-client", @@ -991,7 +1021,8 @@ "support": { "source": "https://github.com/php-fig/http-client" }, - "time": "2023-09-23T14:17:50+00:00" + "time": "2023-09-23T14:17:50+00:00", + "published-time": "2023-09-23T14:18:12+00:00" }, { "name": "psr/http-factory", @@ -1046,7 +1077,8 @@ "support": { "source": "https://github.com/php-fig/http-factory" }, - "time": "2024-04-15T12:06:14+00:00" + "time": "2024-04-15T12:06:14+00:00", + "published-time": "2024-05-10T07:32:19+00:00" }, { "name": "psr/http-message", @@ -1099,7 +1131,8 @@ "support": { "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2023-04-04T09:54:51+00:00" + "time": "2023-04-04T09:54:51+00:00", + "published-time": "2023-04-04T09:55:35+00:00" }, { "name": "psr/log", @@ -1149,7 +1182,8 @@ "support": { "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-09-11T13:17:53+00:00" + "time": "2024-09-11T13:17:53+00:00", + "published-time": "2024-09-11T13:21:14+00:00" }, { "name": "ramsey/collection", @@ -1225,7 +1259,8 @@ "issues": "https://github.com/ramsey/collection/issues", "source": "https://github.com/ramsey/collection/tree/2.1.1" }, - "time": "2025-03-22T05:38:12+00:00" + "time": "2025-03-22T05:38:12+00:00", + "published-time": "2025-03-22T05:39:22+00:00" }, { "name": "ramsey/uuid", @@ -1303,20 +1338,21 @@ "issues": "https://github.com/ramsey/uuid/issues", "source": "https://github.com/ramsey/uuid/tree/4.9.4" }, - "time": "2026-09-16T11:39:30+00:00" + "time": "2026-09-16T11:39:30+00:00", + "published-time": "2026-09-16T11:41:15+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.7.1", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d" + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/feb1edf4e546af3b85c5caebe8359a20db230ca3", + "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3", "shasum": "" }, "require": { @@ -1329,7 +1365,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.7-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -1354,7 +1390,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.7.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.8.1" }, "funding": [ { @@ -1374,20 +1410,21 @@ "type": "tidelift" } ], - "time": "2026-06-05T06:23:12+00:00" + "time": "2026-09-16T14:15:10+00:00", + "published-time": "2026-11-04T11:25:34+00:00" }, { "name": "symfony/http-client", - "version": "v7.4.21", + "version": "v7.4.23", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "121bf3a973bfd852db85ec32d0d64e9fbed4449b" + "reference": "ed012bfca0f7b45d97016efcdf9b0639c52a1722" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/121bf3a973bfd852db85ec32d0d64e9fbed4449b", - "reference": "121bf3a973bfd852db85ec32d0d64e9fbed4449b", + "url": "https://api.github.com/repos/symfony/http-client/zipball/ed012bfca0f7b45d97016efcdf9b0639c52a1722", + "reference": "ed012bfca0f7b45d97016efcdf9b0639c52a1722", "shasum": "" }, "require": { @@ -1455,7 +1492,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.21" + "source": "https://github.com/symfony/http-client/tree/v7.4.23" }, "funding": [ { @@ -1475,20 +1512,21 @@ "type": "tidelift" } ], - "time": "2026-10-13T15:31:38+00:00" + "time": "2026-11-04T08:27:22+00:00", + "published-time": "2026-11-04T11:28:32+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.7.3", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f" + "reference": "f9f94260f787446c6fd430b2ae1969fe41ae1ba8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/35be0019e2c2c9fba80f9dc033290a5240f7b44f", - "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/f9f94260f787446c6fd430b2ae1969fe41ae1ba8", + "reference": "f9f94260f787446c6fd430b2ae1969fe41ae1ba8", "shasum": "" }, "require": { @@ -1501,7 +1539,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.7-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -1537,7 +1575,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.7.3" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.8.1" }, "funding": [ { @@ -1557,20 +1595,21 @@ "type": "tidelift" } ], - "time": "2026-08-04T08:41:16+00:00" + "time": "2026-10-04T15:04:25+00:00", + "published-time": "2026-11-04T11:25:37+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.43.0", + "version": "v1.43.3", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72" + "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", - "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/122889ed24dc000165bcbfd77ec412f15cbdfc6a", + "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a", "shasum": "" }, "require": { @@ -1622,7 +1661,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.3" }, "funding": [ { @@ -1642,87 +1681,8 @@ "type": "tidelift" } ], - "time": "2026-09-24T15:19:04+00:00" - }, - { - "name": "symfony/polyfill-php82", - "version": "v1.43.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/843bbe8b2a7934307b749751eede0f111f5d1cfc", - "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php82\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.43.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "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": "2026-09-25T15:50:05+00:00" + "time": "2026-10-28T09:35:49+00:00", + "published-time": "2026-10-28T10:07:45+00:00" }, { "name": "symfony/polyfill-php83", @@ -1802,20 +1762,21 @@ "type": "tidelift" } ], - "time": "2026-09-25T15:50:05+00:00" + "time": "2026-09-25T15:50:05+00:00", + "published-time": "2026-09-30T10:23:43+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.7.3", + "version": "v3.8.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257" + "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", - "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/052852a96fd5e5ebdb617dba22031e41a3300fb5", + "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5", "shasum": "" }, "require": { @@ -1833,7 +1794,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.7-dev" + "dev-main": "3.8-dev" } }, "autoload": { @@ -1869,7 +1830,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.7.3" + "source": "https://github.com/symfony/service-contracts/tree/v3.8.1" }, "funding": [ { @@ -1889,7 +1850,8 @@ "type": "tidelift" } ], - "time": "2026-07-27T15:39:01+00:00" + "time": "2026-10-20T17:38:25+00:00", + "published-time": "2026-11-04T11:25:33+00:00" }, { "name": "tbachert/spi", @@ -1941,7 +1903,8 @@ "issues": "https://github.com/Nevay/spi/issues", "source": "https://github.com/Nevay/spi/tree/v1.0.5" }, - "time": "2025-06-29T15:42:06+00:00" + "time": "2025-06-29T15:42:06+00:00", + "published-time": "2025-06-30T18:37:38+00:00" }, { "name": "utopia-php/async", @@ -2003,7 +1966,9 @@ "issues": "https://github.com/utopia-php/async/issues", "source": "https://github.com/utopia-php/async/tree/0.2.0" }, - "time": "2026-09-29T14:07:22+00:00" + "abandoned": true, + "time": "2026-09-29T14:07:22+00:00", + "published-time": "2026-09-29T14:07:43+00:00" }, { "name": "utopia-php/cache", @@ -2065,7 +2030,8 @@ "issues": "https://github.com/utopia-php/cache/issues", "source": "https://github.com/utopia-php/cache/tree/8.0.0" }, - "time": "2026-11-17T11:10:02+00:00" + "time": "2026-11-17T11:10:02+00:00", + "published-time": "2026-11-17T11:12:10+00:00" }, { "name": "utopia-php/circuit-breaker", @@ -2124,7 +2090,8 @@ "issues": "https://github.com/utopia-php/circuit-breaker/issues", "source": "https://github.com/utopia-php/circuit-breaker/tree/0.4.1" }, - "time": "2026-09-16T10:12:28+00:00" + "time": "2026-09-16T10:12:28+00:00", + "published-time": "2026-09-16T10:13:41+00:00" }, { "name": "utopia-php/console", @@ -2172,7 +2139,8 @@ "issues": "https://github.com/utopia-php/console/issues", "source": "https://github.com/utopia-php/console/tree/0.1.1" }, - "time": "2026-02-10T10:20:29+00:00" + "time": "2026-02-10T10:20:29+00:00", + "published-time": "2026-02-10T10:25:02+00:00" }, { "name": "utopia-php/mongo", @@ -2232,20 +2200,21 @@ "issues": "https://github.com/utopia-php/mongo/issues", "source": "https://github.com/utopia-php/mongo/tree/1.5.4" }, - "time": "2026-09-09T05:42:37+00:00" + "time": "2026-09-09T05:42:37+00:00", + "published-time": "2026-09-09T05:43:09+00:00" }, { "name": "utopia-php/pools", - "version": "2.0.2", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "86d43fcacd125232c0743e8c22695faf97285cf3" + "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/86d43fcacd125232c0743e8c22695faf97285cf3", - "reference": "86d43fcacd125232c0743e8c22695faf97285cf3", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", + "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", "shasum": "" }, "require": { @@ -2286,9 +2255,10 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/2.0.2" + "source": "https://github.com/utopia-php/pools/tree/2.1.2" }, - "time": "2026-08-05T18:07:20+00:00" + "time": "2026-09-07T07:02:57+00:00", + "published-time": "2026-09-07T07:10:03+00:00" }, { "name": "utopia-php/query", @@ -2332,7 +2302,8 @@ "issues": "https://github.com/utopia-php/query/issues", "source": "https://github.com/utopia-php/query/tree/0.7.2" }, - "time": "2026-10-16T10:52:31+00:00" + "time": "2026-10-16T10:52:31+00:00", + "published-time": "2026-10-16T10:54:22+00:00" }, { "name": "utopia-php/telemetry", @@ -2383,7 +2354,8 @@ "issues": "https://github.com/utopia-php/telemetry/issues", "source": "https://github.com/utopia-php/telemetry/tree/0.4.12" }, - "time": "2026-09-28T10:14:23+00:00" + "time": "2026-09-28T10:14:23+00:00", + "published-time": "2026-09-28T10:31:11+00:00" }, { "name": "utopia-php/validators", @@ -2426,7 +2398,8 @@ "issues": "https://github.com/utopia-php/validators/issues", "source": "https://github.com/utopia-php/validators/tree/2.0.0" }, - "time": "2026-10-08T14:16:57+00:00" + "time": "2026-10-08T14:16:57+00:00", + "published-time": "2026-10-08T15:09:15+00:00" } ], "packages-dev": [ @@ -2521,20 +2494,21 @@ "type": "paypal" } ], - "time": "2026-03-29T15:46:14+00:00" + "time": "2026-03-29T15:46:14+00:00", + "published-time": "2026-03-29T15:46:42+00:00" }, { "name": "fakerphp/faker", - "version": "v1.23.1", + "version": "v1.24.1", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", "shasum": "" }, "require": { @@ -2582,29 +2556,30 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1" }, - "time": "2024-01-02T13:46:09+00:00" + "time": "2024-11-21T13:46:39+00:00", + "published-time": "2024-11-21T13:47:18+00:00" }, { "name": "fidry/cpu-core-counter", - "version": "1.3.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "db9508f7b1474469d9d3c53b86f817e344732678" + "reference": "d384a7d0d6e67aa497327260ca95023e92dc2032" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/db9508f7b1474469d9d3c53b86f817e344732678", - "reference": "db9508f7b1474469d9d3c53b86f817e344732678", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/d384a7d0d6e67aa497327260ca95023e92dc2032", + "reference": "d384a7d0d6e67aa497327260ca95023e92dc2032", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "fidry/makefile": "^0.2.0", + "fidry/makefile": "^0.2.0 || ^1.1.2", "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^2.0", @@ -2612,6 +2587,7 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "symfony/polyfill-mbstring": "^1.33", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -2637,7 +2613,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.3.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.4.1" }, "funding": [ { @@ -2645,7 +2621,8 @@ "type": "github" } ], - "time": "2025-08-14T07:29:31+00:00" + "time": "2026-09-29T22:11:39+00:00", + "published-time": "2026-09-29T22:12:43+00:00" }, { "name": "jean85/pretty-package-versions", @@ -2705,20 +2682,21 @@ "issues": "https://github.com/Jean85/pretty-package-versions/issues", "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.1" }, - "time": "2025-03-19T14:43:43+00:00" + "time": "2025-03-19T14:43:43+00:00", + "published-time": "2025-03-19T14:50:06+00:00" }, { "name": "laravel/pint", - "version": "v1.29.1", + "version": "v1.32.3", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80" + "reference": "1cf8e0320bed4b3c6e51df92039a5636c3887728" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80", - "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80", + "url": "https://api.github.com/repos/laravel/pint/zipball/1cf8e0320bed4b3c6e51df92039a5636c3887728", + "reference": "1cf8e0320bed4b3c6e51df92039a5636c3887728", "shasum": "" }, "require": { @@ -2726,17 +2704,19 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.2.0" + "php": "^8.3.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.95.1", - "illuminate/view": "^12.56.0", - "larastan/larastan": "^3.9.6", - "laravel-zero/framework": "^12.1.0", - "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^2.4.0", - "pestphp/pest": "^3.8.6", - "shipfastlabs/agent-detector": "^1.1.3" + "composer/semver": "^3.6.0", + "friendsofphp/php-cs-fixer": "^3.95.30", + "illuminate/view": "^13.42.0", + "larastan/larastan": "^3.15.0", + "laravel-zero/framework": "^13.0.0", + "laravel/agent-detector": "^2.0.5", + "laravel/prompts": "^0.3.27", + "mockery/mockery": "^1.6.15", + "nunomaduro/termwind": "^2.4.1", + "pestphp/pest": "^4.7.8" }, "bin": [ "builds/pint" @@ -2773,24 +2753,25 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2026-04-20T15:26:14+00:00" + "time": "2026-11-11T16:45:13+00:00", + "published-time": "2026-11-11T16:45:39+00:00" }, { "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", @@ -2825,32 +2806,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" @@ -2889,9 +2870,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", @@ -2958,7 +2940,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", @@ -3009,15 +2992,16 @@ "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": "phpstan/phpstan", - "version": "2.1.54", + "version": "2.3.7", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8be50c3992107dc837b17da4d140fbbdf9a5c5bd", - "reference": "8be50c3992107dc837b17da4d140fbbdf9a5c5bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", + "reference": "90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", "shasum": "" }, "require": { @@ -3040,6 +3024,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -3062,25 +3057,27 @@ "type": "github" } ], - "time": "2026-04-29T13:31:09+00:00" + "time": "2026-11-19T10:31:11+00:00", + "published-time": "2026-11-19T10:31:27+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.16", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32" + "reference": "ffff35d4f96c4642d7f41a3515d90afa0f58be62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6ab598e1bc106e6827fd346ae4a12b4a5d634c32", - "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/ffff35d4f96c4642d7f41a3515d90afa0f58be62", + "reference": "ffff35d4f96c4642d7f41a3515d90afa0f58be62", "shasum": "" }, "require": { + "phar-io/version": "^3.2", "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.1.32" + "phpstan/phpstan": "^2.3.0" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -3090,7 +3087,8 @@ "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "shipmonk/name-collision-detector": "^2.1" }, "type": "phpstan-extension", "extra": { @@ -3116,39 +3114,40 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.16" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.1.2" }, - "time": "2026-02-14T09:05:21+00:00" + "time": "2026-11-12T15:27:53+00:00", + "published-time": "2026-11-12T16:07:51+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "12.5.6", + "version": "12.5.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "876099a072646c7745f673d7aeab5382c4439691" + "reference": "7440368d94738d54f2c1de24dbd3871793bbb0dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/876099a072646c7745f673d7aeab5382c4439691", - "reference": "876099a072646c7745f673d7aeab5382c4439691", + "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-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", @@ -3186,7 +3185,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.6" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/12.5.8" }, "funding": [ { @@ -3206,27 +3205,28 @@ "type": "tidelift" } ], - "time": "2026-04-15T08:23:17+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": { @@ -3259,7 +3259,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": [ { @@ -3279,7 +3279,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", @@ -3343,27 +3344,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": { @@ -3395,15 +3397,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", @@ -3463,48 +3478,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.23", + "version": "12.5.45", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969" + "reference": "ca97be2931de6a0adf824da12889cbf935a016e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969", - "reference": "c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969", + "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.6", - "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.6", - "sebastian/diff": "^7.0.0", - "sebastian/environment": "^8.1.0", - "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": [ @@ -3545,7 +3561,7 @@ "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.23" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.45" }, "funding": [ { @@ -3553,27 +3569,28 @@ "type": "other" } ], - "time": "2026-04-18T06:12:49+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": { @@ -3602,7 +3619,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": [ { @@ -3622,20 +3639,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.6", + "version": "7.1.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "c769009dee98f494e0edc3fd4f4087501688f11e" + "reference": "7c65c1e79836812819705b473a90c12399542485" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c769009dee98f494e0edc3fd4f4087501688f11e", - "reference": "c769009dee98f494e0edc3fd4f4087501688f11e", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7c65c1e79836812819705b473a90c12399542485", + "reference": "7c65c1e79836812819705b473a90c12399542485", "shasum": "" }, "require": { @@ -3643,10 +3661,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" @@ -3694,7 +3712,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.6" + "source": "https://github.com/sebastianbergmann/comparator/tree/7.1.8" }, "funding": [ { @@ -3714,7 +3732,8 @@ "type": "tidelift" } ], - "time": "2026-04-14T08:23:15+00:00" + "time": "2026-05-21T04:45:25+00:00", + "published-time": "2026-05-21T04:45:36+00:00" }, { "name": "sebastian/complexity", @@ -3772,28 +3791,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": { @@ -3831,35 +3851,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.1.0", + "version": "8.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "b121608b28a13f721e76ffbbd386d08eff58f3f6" + "reference": "9d32c685773823b1983e256ae4ecd48a10d6e439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b121608b28a13f721e76ffbbd386d08eff58f3f6", - "reference": "b121608b28a13f721e76ffbbd386d08eff58f3f6", + "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": "*" @@ -3895,7 +3928,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.1.0" + "source": "https://github.com/sebastianbergmann/environment/tree/8.1.2" }, "funding": [ { @@ -3915,29 +3948,30 @@ "type": "tidelift" } ], - "time": "2026-04-15T12:13:01+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": { @@ -3985,7 +4019,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": [ { @@ -4005,30 +4039,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": { @@ -4059,7 +4094,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": [ { @@ -4079,28 +4114,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": { @@ -4129,15 +4165,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", @@ -4195,7 +4244,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", @@ -4251,7 +4301,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", @@ -4327,27 +4378,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": { @@ -4376,7 +4428,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": [ { @@ -4396,20 +4448,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": { @@ -4442,15 +4495,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": "staabm/side-effects-detector", @@ -4502,7 +4568,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": "swoole/ide-helper", @@ -4534,27 +4601,34 @@ "issues": "https://github.com/swoole/ide-helper/issues", "source": "https://github.com/swoole/ide-helper/tree/5.1.3" }, - "time": "2024-06-17T05:45:20+00:00" + "time": "2024-06-17T05:45:20+00:00", + "published-time": "2024-06-17T06:05:26+00:00" }, { "name": "symfony/console", - "version": "v8.0.8", + "version": "v8.1.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5b66d385dc58f69652e56f78a4184615e3f2b7f7" + "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5b66d385dc58f69652e56f78a4184615e3f2b7f7", - "reference": "5b66d385dc58f69652e56f78a4184615e3f2b7f7", + "url": "https://api.github.com/repos/symfony/console/zipball/5a315b092b81f3e920e9daea1a2ae4c66ed298b9", + "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9", "shasum": "" }, "require": { - "php": ">=8.4", + "php": ">=8.4.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php85": "^1.32", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^7.4|^8.0" + "symfony/string": "^7.4.6|^8.0.6" + }, + "conflict": { + "symfony/dependency-injection": "<8.1", + "symfony/event-dispatcher": "<8.1" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" @@ -4562,14 +4636,18 @@ "require-dev": { "psr/log": "^1|^2|^3", "symfony/config": "^7.4|^8.0", - "symfony/dependency-injection": "^7.4|^8.0", - "symfony/event-dispatcher": "^7.4|^8.0", + "symfony/dependency-injection": "^8.1", + "symfony/event-dispatcher": "^8.1", + "symfony/filesystem": "^7.4|^8.0", "symfony/http-foundation": "^7.4|^8.0", "symfony/http-kernel": "^7.4|^8.0", "symfony/lock": "^7.4|^8.0", "symfony/messenger": "^7.4|^8.0", + "symfony/mime": "^7.4|^8.0", "symfony/process": "^7.4|^8.0", "symfony/stopwatch": "^7.4|^8.0", + "symfony/uid": "^7.4|^8.0", + "symfony/validator": "^7.4|^8.0", "symfony/var-dumper": "^7.4|^8.0" }, "type": "library", @@ -4604,7 +4682,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.0.8" + "source": "https://github.com/symfony/console/tree/v8.1.11" }, "funding": [ { @@ -4624,7 +4702,8 @@ "type": "tidelift" } ], - "time": "2026-03-30T15:14:47+00:00" + "time": "2026-11-04T07:07:11+00:00", + "published-time": "2026-11-04T11:31:39+00:00" }, { "name": "symfony/polyfill-ctype", @@ -4707,20 +4786,21 @@ "type": "tidelift" } ], - "time": "2026-04-10T16:19:22+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.37.0", + "version": "v1.43.3", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e" + "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e", - "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5a8f33c87aeecffce24e721b5064fab05f4becf8", + "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8", "shasum": "" }, "require": { @@ -4769,7 +4849,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.43.3" }, "funding": [ { @@ -4789,20 +4869,21 @@ "type": "tidelift" } ], - "time": "2026-04-26T13:13:48+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.37.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": { @@ -4854,7 +4935,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.43.0" }, "funding": [ { @@ -4874,24 +4955,106 @@ "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-php85", + "version": "v1.44.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php85.git", + "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/94c794cb5ba51784bc259f11e9f128593297d8dc", + "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php85\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php85/tree/v1.44.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "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": "2026-10-30T15:20:09+00:00", + "published-time": "2026-11-15T14:20:22+00:00" }, { "name": "symfony/process", - "version": "v8.0.8", + "version": "v8.1.10", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc" + "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc", - "reference": "cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc", + "url": "https://api.github.com/repos/symfony/process/zipball/08aa69fa0998bb65a089f9e148a2c0f8b391398e", + "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=8.4.1" }, "type": "library", "autoload": { @@ -4919,7 +5082,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v8.0.8" + "source": "https://github.com/symfony/process/tree/v8.1.10" }, "funding": [ { @@ -4939,24 +5102,25 @@ "type": "tidelift" } ], - "time": "2026-03-30T15:14:47+00:00" + "time": "2026-10-25T14:40:25+00:00", + "published-time": "2026-10-28T18:25:20+00:00" }, { "name": "symfony/string", - "version": "v8.0.8", + "version": "v8.1.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ae9488f874d7603f9d2dfbf120203882b645d963" + "reference": "6c6110979c0150393bbb336170e286d51ab4d76c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ae9488f874d7603f9d2dfbf120203882b645d963", - "reference": "ae9488f874d7603f9d2dfbf120203882b645d963", + "url": "https://api.github.com/repos/symfony/string/zipball/6c6110979c0150393bbb336170e286d51ab4d76c", + "reference": "6c6110979c0150393bbb336170e286d51ab4d76c", "shasum": "" }, "require": { - "php": ">=8.4", + "php": ">=8.4.1", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-intl-grapheme": "^1.33", "symfony/polyfill-intl-normalizer": "^1.0", @@ -5009,7 +5173,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v8.0.8" + "source": "https://github.com/symfony/string/tree/v8.1.10" }, "funding": [ { @@ -5029,7 +5193,8 @@ "type": "tidelift" } ], - "time": "2026-03-30T15:14:47+00:00" + "time": "2026-10-23T17:06:53+00:00", + "published-time": "2026-10-28T18:24:27+00:00" }, { "name": "theseer/tokenizer", @@ -5079,7 +5244,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" }, { "name": "utopia-php/cli", @@ -5126,7 +5292,8 @@ "issues": "https://github.com/utopia-php/cli/issues", "source": "https://github.com/utopia-php/cli/tree/0.24.4" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-09-02T15:57:19+00:00", + "published-time": "2026-09-02T15:59:37+00:00" }, { "name": "utopia-php/di", @@ -5174,7 +5341,8 @@ "issues": "https://github.com/utopia-php/di/issues", "source": "https://github.com/utopia-php/di/tree/0.3.6" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-09-02T15:57:19+00:00", + "published-time": "2026-09-02T15:59:44+00:00" }, { "name": "utopia-php/servers", @@ -5223,7 +5391,8 @@ "issues": "https://github.com/utopia-php/servers/issues", "source": "https://github.com/utopia-php/servers/tree/0.4.12" }, - "time": "2026-10-08T14:16:57+00:00" + "time": "2026-10-08T14:16:57+00:00", + "published-time": "2026-10-08T15:14:20+00:00" } ], "aliases": [], @@ -5239,5 +5408,5 @@ "ext-redis": "*" }, "platform-dev": {}, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.11.0" } diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index 3f460ad82..b961cb5ab 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -5143,22 +5143,6 @@ private static function aliasAggregates(array $queries): array return $queries; } - /** - * A vector index answers exactly one sort key, the distance: a tie break behind it makes the ordering unanswerable - * from the index, so tie breaks are only added when a cursor needs a stable page boundary. - * - * A joined `$id` behind the main `$sequence` costs MariaDB and MySQL a sort of the whole join instead of reading - * the main table in index order up to the limit, so it is added only where the rows show the join or a cursor - * pages them (see showsJoinedRows()). - * - * @param array $orderAttributes - * @param array $orderTypes - * @param array $filters - * @param array $joins - * @param array $joinedCollections - * @param array $selects - * @return array{array, array} - */ /** * The direction of the sequence tie break that lets an index serve the whole order. * @@ -5168,27 +5152,71 @@ private static function aliasAggregates(array $queries): array * and `(x DESC)` serves `x DESC, _id ASC`; any other pairing filesorts every row in range. With no * such index the tie break follows the leading direction, which is what an ascending index wants. * + * The index may also start with attributes that an equality filter pins to a single value: + * with `status = ?`, `(status, x DESC)` reads in `x DESC, _id ASC` order just like `(x DESC)`. + * * @param array $orderAttributes * @param array $orderTypes + * @param array $filters */ - private function tieBreakDirection(Collection $collection, array $orderAttributes, array $orderTypes): OrderDirection + private function tieBreakDirection(Collection $collection, array $orderAttributes, array $orderTypes, array $filters): OrderDirection { $leading = $orderTypes[0] ?? OrderDirection::Asc; if ($orderAttributes === []) { return $leading; } + $orderAttributes = \array_values($orderAttributes); + $orderTypes = \array_values($orderTypes); + + // An `and()` group pins its equalities just like top-level filters; an `or()` group pins nothing. + $pinned = []; + $pending = \array_values($filters); + while ($pending !== []) { + $filter = \array_pop($pending); + if ($filter->getMethod() === Method::And) { + foreach ($filter->getValues() as $nested) { + if ($nested instanceof Query) { + $pending[] = $nested; + } + } + } elseif ($filter->getMethod() === Method::Equal && \count($filter->getValues()) === 1) { + $pinned[$filter->getAttribute()] = true; + } + } + + $sizes = []; + foreach ($collection->attributes() as $attribute) { + $sizes[$attribute->key] = $attribute->size; + } + foreach ($collection->indexes() as $index) { - if (! \in_array($index->type, [IndexType::Key, IndexType::Unique], true) - || \count($index->attributes) !== \count($orderAttributes)) { + $prefix = \count($index->attributes) - \count($orderAttributes); + if (! \in_array($index->type, [IndexType::Key, IndexType::Unique], true) || $prefix < 0) { continue; } + // A prefix-length column (`name(64)`) holds only the start of each value, so MySQL cannot read the + // index in value order. A length that covers the whole column is a full-column index and still counts. + foreach ($index->attributes as $position => $attribute) { + $length = $index->lengths[$position] ?? 0; + $size = $sizes[$attribute] ?? null; + if ($length > 0 && ($size === null || $length < $size)) { + continue 2; + } + } + + for ($position = 0; $position < $prefix; $position++) { + if (! isset($pinned[$index->attributes[$position]])) { + continue 2; + } + } + $forward = null; foreach ($orderAttributes as $position => $attribute) { $requested = $orderTypes[$position] ?? OrderDirection::Asc; - $declared = $index->orders[$position] ?? OrderDirection::Asc; - if ($index->attributes[$position] !== $attribute + $declared = $index->orders[$prefix + $position] ?? OrderDirection::Asc; + if ($index->attributes[$prefix + $position] !== $attribute || ! \in_array($requested, [OrderDirection::Asc, OrderDirection::Desc], true)) { continue 2; } @@ -5206,6 +5234,22 @@ private function tieBreakDirection(Collection $collection, array $orderAttribute return $leading; } + /** + * A vector index answers exactly one sort key, the distance: a tie break behind it makes the ordering unanswerable + * from the index, so tie breaks are only added when a cursor needs a stable page boundary. + * + * A joined `$id` behind the main `$sequence` costs MariaDB and MySQL a sort of the whole join instead of reading + * the main table in index order up to the limit, so it is added only where the rows show the join or a cursor + * pages them (see showsJoinedRows()). + * + * @param array $orderAttributes + * @param array $orderTypes + * @param array $filters + * @param array $joins + * @param array $joinedCollections + * @param array $selects + * @return array{array, array} + */ private function addTieBreaks(Collection $collection, array $orderAttributes, array $orderTypes, array $filters, array $joins, array $joinedCollections, bool $paged, array $selects): array { $uniqueOrderBy = \in_array(Document::ID, $orderAttributes, true) || \in_array(Document::SEQUENCE, $orderAttributes, true); @@ -5223,7 +5267,7 @@ private function addTieBreaks(Collection $collection, array $orderAttributes, ar } if (! $uniqueOrderBy) { - $orderTypes[] = $this->tieBreakDirection($collection, $orderAttributes, $orderTypes); + $orderTypes[] = $this->tieBreakDirection($collection, $orderAttributes, $orderTypes, $filters); $orderAttributes[] = Document::SEQUENCE; } diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index b4f10a009..387060786 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -476,6 +476,321 @@ public function testDescendingIndexKeepsAscendingSequenceTieBreak(): void ], $sent); } + /** + * Compound indexes whose leading columns are pinned by equality filters serve the order the same way an exact + * index does: with `status = ?`, InnoDB reads `(status, age DESC, _id)` in `age DESC, _id ASC` order. + * + * @return array, orders: list, lengths?: list, type?: string}>, list, list, list}> + */ + public static function compoundIndexTieBreakProvider(): array + { + $statusAgeDesc = ['attributes' => ['status', 'age'], 'orders' => ['ASC', 'DESC']]; + $statusAgeAsc = ['attributes' => ['status', 'age'], 'orders' => ['ASC', 'ASC']]; + $statusTypeAgeDesc = ['attributes' => ['status', 'type', 'age'], 'orders' => ['ASC', 'ASC', 'DESC']]; + + return [ + // (status, age DESC): the regression case. The old code sent _id ASC here and was served. + '(status, age DESC), status = ?, age DESC reads forward' => [ + [$statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), status = ?, age ASC reads backward' => [ + [$statusAgeDesc], + [Query::equal('status', ['active']), Query::orderAsc('age')], + ['age', '$sequence'], + [OrderDirection::Asc, OrderDirection::Desc], + ], + + // (status, age): ascending compound index, served by following the leading direction. + '(status, age), status = ?, age DESC reads backward' => [ + [$statusAgeAsc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age), status = ?, age ASC reads forward' => [ + [$statusAgeAsc], + [Query::equal('status', ['active']), Query::orderAsc('age')], + ['age', '$sequence'], + [OrderDirection::Asc, OrderDirection::Asc], + ], + + // Every leading column must be pinned by an equality filter for the index to serve the order. + '(status, type, age DESC), both pinned, age DESC reads forward' => [ + [$statusTypeAgeDesc], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, type, age DESC), only status pinned, falls back to leading direction' => [ + [$statusTypeAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // The leading column is not pinned to a single value, so the index cannot serve the order. + '(status, age DESC), no status filter, falls back to leading direction' => [ + [$statusAgeDesc], + [Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC), status IN (a, b), falls back to leading direction' => [ + [$statusAgeDesc], + [Query::equal('status', ['active', 'archived']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC), status range filter, falls back to leading direction' => [ + [$statusAgeDesc], + [Query::greaterThan('status', 'a'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // An exact index and a pinned compound index that agree. + '(age DESC) and (status, age DESC), status = ?, age DESC reads forward' => [ + [['attributes' => ['age'], 'orders' => ['DESC']], $statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + + // MySQL cannot read a prefix-length index in order, so it must not decide the direction. + '(name(64) DESC) prefix index, name DESC falls back to leading direction' => [ + [['attributes' => ['name'], 'orders' => ['DESC'], 'lengths' => [64]]], + [Query::orderDesc('name')], + ['name', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(name(128) DESC) length covers the column, name DESC reads forward' => [ + [['attributes' => ['name'], 'orders' => ['DESC'], 'lengths' => [128]]], + [Query::orderDesc('name')], + ['name', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status(8), age DESC) prefix on a pinned column, falls back to leading direction' => [ + [['attributes' => ['status', 'age'], 'orders' => ['ASC', 'DESC'], 'lengths' => [8, 0]]], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // Several equality-filtered columns in front of the order column. + '(status, type, name, age DESC), all three pinned, age DESC reads forward' => [ + [['attributes' => ['status', 'type', 'name', 'age'], 'orders' => ['ASC', 'ASC', 'ASC', 'DESC']]], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::equal('name', ['n']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, type, age DESC), filters in a different order than the index, still pinned' => [ + [$statusTypeAgeDesc], + [Query::equal('type', ['a']), Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), extra filters outside the index do not matter' => [ + [$statusAgeDesc], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::greaterThan('name', 'm'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, type, age DESC), only the second column pinned, falls back' => [ + [$statusTypeAgeDesc], + [Query::equal('type', ['a']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, type, age DESC), status = ? and type range, falls back' => [ + [$statusTypeAgeDesc], + [Query::equal('status', ['active']), Query::greaterThan('type', 'a'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, type, age DESC), status = ? and type IN (a, b), falls back' => [ + [$statusTypeAgeDesc], + [Query::equal('status', ['active']), Query::equal('type', ['a', 'b']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // The order column must be the index's last column: in (status, age DESC, type) _id follows type, not age. + '(status, age DESC, type), status = ?, age DESC, order column not last, falls back' => [ + [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC, type), status = ? and type = ?, order column not last, falls back' => [ + [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // A partly pinned index earlier in the list must not stop the search for a fully pinned one. + '(type, age) unpinned, then (status, age DESC) pinned, the pinned one decides' => [ + [['attributes' => ['type', 'age'], 'orders' => ['ASC', 'ASC']], $statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, type, age) partly pinned, then (status, age DESC) pinned, the pinned one decides' => [ + [['attributes' => ['status', 'type', 'age'], 'orders' => ['ASC', 'ASC', 'ASC']], $statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + + // Cursor pages must use the same tie break as the first page, or rows that tie on age are skipped or repeated. + '(status, age DESC), status = ?, age DESC, cursorAfter' => [ + [$statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age'), Query::cursorAfter(new Document(['$id' => 'page', '$sequence' => 17, '$collection' => 'testCol', 'status' => 'active', 'age' => 30]))], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), status = ?, age DESC, cursorBefore' => [ + [$statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age'), Query::cursorBefore(new Document(['$id' => 'page', '$sequence' => 17, '$collection' => 'testCol', 'status' => 'active', 'age' => 30]))], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + + // Several order attributes: every direction must agree with the index, or every one must oppose it. + '(status, name DESC, age), status = ?, name DESC, age ASC reads forward' => [ + [['attributes' => ['status', 'name', 'age'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderDesc('name'), Query::orderAsc('age')], + ['name', 'age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc, OrderDirection::Asc], + ], + '(status, name DESC, age), status = ?, name ASC, age DESC reads backward' => [ + [['attributes' => ['status', 'name', 'age'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderAsc('name'), Query::orderDesc('age')], + ['name', 'age', '$sequence'], + [OrderDirection::Asc, OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, name DESC, age), status = ?, name DESC, age DESC mixes, falls back to leading direction' => [ + [['attributes' => ['status', 'name', 'age'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderDesc('name'), Query::orderDesc('age')], + ['name', 'age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc, OrderDirection::Desc], + ], + + // Filters that do not pin the leading column to one value. + '(status, age DESC), status != ?, falls back to leading direction' => [ + [$statusAgeDesc], + [Query::notEqual('status', 'archived'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC), status IS NULL, falls back to leading direction' => [ + [$statusAgeDesc], + [Query::isNull('status'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + // An and() group pins its equalities like top-level filters, at any depth; an or() group pins nothing. + '(status, age DESC), status = ? nested in and(), reads forward' => [ + [$statusAgeDesc], + [Query::and([Query::equal('status', ['active']), Query::greaterThan('age', 1)]), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, type, age DESC), equalities split across top level and nested and(and()), reads forward' => [ + [$statusTypeAgeDesc], + [Query::equal('status', ['active']), Query::and([Query::greaterThan('age', 1), Query::and([Query::equal('type', ['a']), Query::lessThan('age', 99)])]), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), status = ? inside or(), falls back' => [ + [$statusAgeDesc], + [Query::or([Query::equal('status', ['active']), Query::greaterThan('age', 1)]), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC), and() inside or(), falls back' => [ + [$statusAgeDesc], + [Query::or([Query::and([Query::equal('status', ['active']), Query::greaterThan('age', 1)]), Query::equal('status', ['archived'])]), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // Index types. + 'unique (status, age DESC), status = ?, age DESC reads forward' => [ + [['type' => 'unique'] + $statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + 'fulltext (name) is ignored, name DESC falls back to leading direction' => [ + [['type' => 'fulltext', 'attributes' => ['name'], 'orders' => []]], + [Query::orderDesc('name')], + ['name', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + + // Two indexes that disagree: the first declared wins, and either one serves the order. + '(status, age) before (status, age DESC), first wins' => [ + [$statusAgeAsc, $statusAgeDesc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Desc], + ], + '(status, age DESC) before (status, age), first wins' => [ + [$statusAgeDesc, $statusAgeAsc], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + ]; + } + + /** + * @param list, orders: list, lengths?: list, type?: string}> $indexes + * @param list $queries + * @param list $expectedAttributes + * @param list $expectedTypes + */ + #[\PHPUnit\Framework\Attributes\DataProvider('compoundIndexTieBreakProvider')] + public function testCompoundIndexTieBreakDirection(array $indexes, array $queries, array $expectedAttributes, array $expectedTypes): void + { + $adapter = $this->mockAdapter(); + $attribute = static fn (string $key, string $type, int $size): Document => new Document(['$id' => $key, 'key' => $key, 'type' => $type, 'size' => $size, 'required' => false, 'array' => false]); + + $indexDocuments = []; + foreach ($indexes as $position => $index) { + $indexDocuments[] = new Document([ + '$id' => 'index_'.$position, + 'key' => 'index_'.$position, + 'type' => $index['type'] ?? 'key', + 'attributes' => $index['attributes'], + 'lengths' => $index['lengths'] ?? [], + 'orders' => $index['orders'], + ]); + } + + $this->setupCollectionLookup('testCol', [ + $attribute('status', 'string', 32), + $attribute('type', 'string', 32), + $attribute('name', 'string', 128), + $attribute('age', 'integer', 0), + ], $indexDocuments); + + $sent = null; + $adapter->expects($this->once())->method('find')->willReturnCallback(function (...$arguments) use (&$sent): array { + $sent = [$arguments[4], $arguments[5]]; + + return []; + }); + + $this->database->find('testCol', $queries); + + $this->assertSame([$expectedAttributes, $expectedTypes], $sent); + } + public function testFindCursorValidationThrowsOnEmptyCursorAttribute(): void { $attributes = [ From 0ba84b26be107e76a0e44b3fb609ce082be741b8 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 19 Nov 2026 16:49:03 +0200 Subject: [PATCH 5/8] stan --- composer.lock | 1011 ++++++++++++++++++++----------------------------- 1 file changed, 421 insertions(+), 590 deletions(-) diff --git a/composer.lock b/composer.lock index 45e145ebf..075ab4fd0 100644 --- a/composer.lock +++ b/composer.lock @@ -64,21 +64,20 @@ "type": "github" } ], - "time": "2026-09-12T10:28:18+00:00", - "published-time": "2026-09-12T12:23:30+00:00" + "time": "2026-09-12T10:28:18+00:00" }, { "name": "composer/semver", - "version": "3.6.0", + "version": "3.5.2", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "d92543b7ede9c4ec6b59853cefb061e39866d2cf" + "reference": "9dfce66f1e97360ea5e6d3e38ab14277e4cc591e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/d92543b7ede9c4ec6b59853cefb061e39866d2cf", - "reference": "d92543b7ede9c4ec6b59853cefb061e39866d2cf", + "url": "https://api.github.com/repos/composer/semver/zipball/9dfce66f1e97360ea5e6d3e38ab14277e4cc591e", + "reference": "9dfce66f1e97360ea5e6d3e38ab14277e4cc591e", "shasum": "" }, "require": { @@ -130,7 +129,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.6.0" + "source": "https://github.com/composer/semver/tree/3.5.2" }, "funding": [ { @@ -142,8 +141,7 @@ "type": "github" } ], - "time": "2026-10-29T09:13:34+00:00", - "published-time": "2026-10-29T09:14:11+00:00" + "time": "2026-10-22T15:37:26+00:00" }, { "name": "google/protobuf", @@ -187,8 +185,7 @@ "support": { "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.36.2" }, - "time": "2026-09-17T15:56:42+00:00", - "published-time": "2026-09-17T15:56:48+00:00" + "time": "2026-09-17T15:56:42+00:00" }, { "name": "nyholm/psr7", @@ -266,8 +263,7 @@ "type": "github" } ], - "time": "2024-09-09T07:06:30+00:00", - "published-time": "2024-09-09T07:07:05+00:00" + "time": "2024-09-09T07:06:30+00:00" }, { "name": "nyholm/psr7-server", @@ -333,48 +329,40 @@ "type": "github" } ], - "time": "2023-11-08T09:30:43+00:00", - "published-time": "2023-11-08T09:33:01+00:00" + "time": "2023-11-08T09:30:43+00:00" }, { "name": "open-telemetry/api", - "version": "1.12.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/api.git", - "reference": "b0884741f3f9d5dc60477784c8671bd2acef4ceb" + "reference": "b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b0884741f3f9d5dc60477784c8671bd2acef4ceb", - "reference": "b0884741f3f9d5dc60477784c8671bd2acef4ceb", + "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b", + "reference": "b2bc26bf8bd6b2b6447b3626b2a1b5733873aa0b", "shasum": "" }, "require": { "open-telemetry/context": "^1.4", - "php": "^8.2", - "psr/log": "^1.1|^2.0|^3.0" + "php": "^8.1", + "psr/log": "^1.1|^2.0|^3.0", + "symfony/polyfill-php82": "^1.26" }, "conflict": { - "open-telemetry/sdk": "<=1.11", - "open-telemetry/sdk-configuration": "<0.10" - }, - "suggest": { - "symfony/config": "To implement a ComponentProvider for declarative configuration" + "open-telemetry/sdk": "<=1.11" }, "type": "library", "extra": { "spi": { - "OpenTelemetry\\API\\Configuration\\Config\\ComponentProvider": [ - "OpenTelemetry\\API\\Baggage\\Propagation\\Config\\TextMapPropagatorBaggage", - "OpenTelemetry\\API\\Trace\\Propagation\\Config\\TextMapPropagatorTraceContext" - ], "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\HookManagerInterface": [ "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" ] }, "branch-alias": { - "dev-main": "1.12.x-dev" + "dev-main": "1.8.x-dev" } }, "autoload": { @@ -411,25 +399,25 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-19T08:10:15+00:00", - "published-time": "2026-11-19T08:15:35+00:00" + "time": "2026-09-16T01:59:09+00:00" }, { "name": "open-telemetry/context", - "version": "1.6.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/context.git", - "reference": "711e7291d9cf8a984c059c5afd926e45ab444b7f" + "reference": "3c414b246e0dabb7d6145404e6a5e4536ca18d07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/711e7291d9cf8a984c059c5afd926e45ab444b7f", - "reference": "711e7291d9cf8a984c059c5afd926e45ab444b7f", + "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/3c414b246e0dabb7d6145404e6a5e4536ca18d07", + "reference": "3c414b246e0dabb7d6145404e6a5e4536ca18d07", "shasum": "" }, "require": { - "php": "^8.2" + "php": "^8.1", + "symfony/polyfill-php82": "^1.26" }, "suggest": { "ext-ffi": "To allow context switching in Fibers" @@ -437,7 +425,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.6.x-dev" + "dev-main": "1.0.x-dev" } }, "autoload": { @@ -470,40 +458,33 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-05T11:54:49+00:00", - "published-time": "2026-11-05T12:00:45+00:00" + "time": "2025-10-19T06:44:33+00:00" }, { "name": "open-telemetry/exporter-otlp", - "version": "1.6.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/exporter-otlp.git", - "reference": "78c5ce7646b34b3af449808769eb24430a848049" + "reference": "283a0d66522f2adc6d8d7debfd7686be91c282be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/78c5ce7646b34b3af449808769eb24430a848049", - "reference": "78c5ce7646b34b3af449808769eb24430a848049", + "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/283a0d66522f2adc6d8d7debfd7686be91c282be", + "reference": "283a0d66522f2adc6d8d7debfd7686be91c282be", "shasum": "" }, "require": { "open-telemetry/api": "^1.0", - "open-telemetry/gen-otlp-protobuf": "^1.11.1", - "open-telemetry/sdk": "^1.17", - "php": "^8.2", - "php-http/discovery": "^1.14", - "tbachert/spi": "^1.0.5" + "open-telemetry/gen-otlp-protobuf": "^1.1", + "open-telemetry/sdk": "^1.0", + "php": "^8.1", + "php-http/discovery": "^1.14" }, "type": "library", "extra": { - "spi-config": { - "autoload-files": [ - "_register.php" - ] - }, "branch-alias": { - "dev-main": "1.6.x-dev" + "dev-main": "1.0.x-dev" } }, "autoload": { @@ -541,30 +522,26 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-19T08:10:15+00:00", - "published-time": "2026-11-19T08:15:24+00:00" + "time": "2026-02-05T09:44:52+00:00" }, { "name": "open-telemetry/gen-otlp-protobuf", - "version": "1.11.1", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/gen-otlp-protobuf.git", - "reference": "2576debe70233e4f45380e255d3d0b1a82679ca9" + "reference": "66f04d0e448ad333033bfc7baae1aa56330be088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/2576debe70233e4f45380e255d3d0b1a82679ca9", - "reference": "2576debe70233e4f45380e255d3d0b1a82679ca9", + "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/66f04d0e448ad333033bfc7baae1aa56330be088", + "reference": "66f04d0e448ad333033bfc7baae1aa56330be088", "shasum": "" }, "require": { - "google/protobuf": "^4.31 || ^5.0", + "google/protobuf": "^3.22 || ^4.0 || ^5.0", "php": "^8.0" }, - "conflict": { - "ext-protobuf": "<4.31" - }, "suggest": { "ext-protobuf": "For better performance, when dealing with the protobuf format" }, @@ -608,30 +585,29 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-05T11:54:49+00:00", - "published-time": "2026-11-05T12:00:37+00:00" + "time": "2026-06-17T12:06:32+00:00" }, { "name": "open-telemetry/sdk", - "version": "1.17.0", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "5b823e465b0fabdf5019aef6aa2e430285949e7b" + "reference": "77e1aa73850154abb86937d52a70883edc3b4547" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/5b823e465b0fabdf5019aef6aa2e430285949e7b", - "reference": "5b823e465b0fabdf5019aef6aa2e430285949e7b", + "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/77e1aa73850154abb86937d52a70883edc3b4547", + "reference": "77e1aa73850154abb86937d52a70883edc3b4547", "shasum": "" }, "require": { "ext-json": "*", "nyholm/psr7-server": "^1.1", - "open-telemetry/api": "^1.11", + "open-telemetry/api": "^1.8", "open-telemetry/context": "^1.4", - "open-telemetry/sem-conv": "^1.45.0", - "php": "^8.2", + "open-telemetry/sem-conv": "^1.38.0", + "php": "^8.1", "php-http/discovery": "^1.14", "psr/http-client": "^1.0", "psr/http-client-implementation": "^1.0", @@ -640,6 +616,7 @@ "psr/log": "^1.1|^2.0|^3.0", "ramsey/uuid": "^3.0 || ^4.0", "symfony/polyfill-mbstring": "^1.23", + "symfony/polyfill-php82": "^1.26", "tbachert/spi": "^1.0.5" }, "suggest": { @@ -664,19 +641,17 @@ "OpenTelemetry\\API\\Instrumentation\\AutoInstrumentation\\ExtensionHookManager" ] }, - "spi-config": { - "autoload-files": [ - "_register.php" - ] - }, "branch-alias": { - "dev-main": "1.17.x-dev" + "dev-main": "1.14.x-dev" } }, "autoload": { "files": [ "Common/Util/functions.php", - "_register.php", + "Logs/Exporter/_register.php", + "Metrics/MetricExporter/_register.php", + "Propagation/_register.php", + "Trace/SpanExporter/_register.php", "Common/Dev/Compatibility/_load.php", "_autoload.php" ], @@ -710,21 +685,20 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-19T08:10:15+00:00", - "published-time": "2026-11-19T08:15:20+00:00" + "time": "2026-07-14T13:09:54+00:00" }, { "name": "open-telemetry/sem-conv", - "version": "1.45.0", + "version": "1.44.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "7a42562cf5891f56f6f8ea2ecc945f31108c8806" + "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/7a42562cf5891f56f6f8ea2ecc945f31108c8806", - "reference": "7a42562cf5891f56f6f8ea2ecc945f31108c8806", + "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/c94bc7ebacef039cda4f4c9270807dcc58b4e3af", + "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af", "shasum": "" }, "require": { @@ -768,8 +742,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-11-03T22:37:22+00:00", - "published-time": "2026-11-03T22:42:45+00:00" + "time": "2026-09-09T22:06:17+00:00" }, { "name": "opis/closure", @@ -834,8 +807,7 @@ "issues": "https://github.com/opis/closure/issues", "source": "https://github.com/opis/closure/tree/4.5.0" }, - "time": "2026-03-05T13:32:42+00:00", - "published-time": "2026-03-05T13:34:38+00:00" + "time": "2026-03-05T13:32:42+00:00" }, { "name": "php-http/discovery", @@ -914,8 +886,7 @@ "issues": "https://github.com/php-http/discovery/issues", "source": "https://github.com/php-http/discovery/tree/1.20.0" }, - "time": "2024-10-02T11:20:13+00:00", - "published-time": "2024-10-02T11:21:00+00:00" + "time": "2024-10-02T11:20:13+00:00" }, { "name": "psr/container", @@ -968,8 +939,7 @@ "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", - "published-time": "2021-11-05T16:53:27+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/http-client", @@ -1021,8 +991,7 @@ "support": { "source": "https://github.com/php-fig/http-client" }, - "time": "2023-09-23T14:17:50+00:00", - "published-time": "2023-09-23T14:18:12+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", @@ -1077,8 +1046,7 @@ "support": { "source": "https://github.com/php-fig/http-factory" }, - "time": "2024-04-15T12:06:14+00:00", - "published-time": "2024-05-10T07:32:19+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", @@ -1131,8 +1099,7 @@ "support": { "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2023-04-04T09:54:51+00:00", - "published-time": "2023-04-04T09:55:35+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -1182,8 +1149,7 @@ "support": { "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-09-11T13:17:53+00:00", - "published-time": "2024-09-11T13:21:14+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "ramsey/collection", @@ -1259,8 +1225,7 @@ "issues": "https://github.com/ramsey/collection/issues", "source": "https://github.com/ramsey/collection/tree/2.1.1" }, - "time": "2025-03-22T05:38:12+00:00", - "published-time": "2025-03-22T05:39:22+00:00" + "time": "2025-03-22T05:38:12+00:00" }, { "name": "ramsey/uuid", @@ -1338,21 +1303,20 @@ "issues": "https://github.com/ramsey/uuid/issues", "source": "https://github.com/ramsey/uuid/tree/4.9.4" }, - "time": "2026-09-16T11:39:30+00:00", - "published-time": "2026-09-16T11:41:15+00:00" + "time": "2026-09-16T11:39:30+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.8.1", + "version": "v3.7.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3" + "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/feb1edf4e546af3b85c5caebe8359a20db230ca3", - "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d", + "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d", "shasum": "" }, "require": { @@ -1365,7 +1329,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.8-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -1390,7 +1354,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.8.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.1" }, "funding": [ { @@ -1410,21 +1374,20 @@ "type": "tidelift" } ], - "time": "2026-09-16T14:15:10+00:00", - "published-time": "2026-11-04T11:25:34+00:00" + "time": "2026-06-05T06:23:12+00:00" }, { "name": "symfony/http-client", - "version": "v7.4.23", + "version": "v7.4.21", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "ed012bfca0f7b45d97016efcdf9b0639c52a1722" + "reference": "121bf3a973bfd852db85ec32d0d64e9fbed4449b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/ed012bfca0f7b45d97016efcdf9b0639c52a1722", - "reference": "ed012bfca0f7b45d97016efcdf9b0639c52a1722", + "url": "https://api.github.com/repos/symfony/http-client/zipball/121bf3a973bfd852db85ec32d0d64e9fbed4449b", + "reference": "121bf3a973bfd852db85ec32d0d64e9fbed4449b", "shasum": "" }, "require": { @@ -1492,7 +1455,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.23" + "source": "https://github.com/symfony/http-client/tree/v7.4.21" }, "funding": [ { @@ -1512,21 +1475,20 @@ "type": "tidelift" } ], - "time": "2026-11-04T08:27:22+00:00", - "published-time": "2026-11-04T11:28:32+00:00" + "time": "2026-10-13T15:31:38+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.8.1", + "version": "v3.7.3", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "f9f94260f787446c6fd430b2ae1969fe41ae1ba8" + "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/f9f94260f787446c6fd430b2ae1969fe41ae1ba8", - "reference": "f9f94260f787446c6fd430b2ae1969fe41ae1ba8", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/35be0019e2c2c9fba80f9dc033290a5240f7b44f", + "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f", "shasum": "" }, "require": { @@ -1539,7 +1501,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.8-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -1575,7 +1537,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.8.1" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.7.3" }, "funding": [ { @@ -1595,21 +1557,20 @@ "type": "tidelift" } ], - "time": "2026-10-04T15:04:25+00:00", - "published-time": "2026-11-04T11:25:37+00:00" + "time": "2026-08-04T08:41:16+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.43.3", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a" + "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/122889ed24dc000165bcbfd77ec412f15cbdfc6a", - "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", + "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", "shasum": "" }, "require": { @@ -1661,7 +1622,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.3" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.0" }, "funding": [ { @@ -1681,8 +1642,87 @@ "type": "tidelift" } ], - "time": "2026-10-28T09:35:49+00:00", - "published-time": "2026-10-28T10:07:45+00:00" + "time": "2026-09-24T15:19:04+00:00" + }, + { + "name": "symfony/polyfill-php82", + "version": "v1.43.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php82.git", + "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/843bbe8b2a7934307b749751eede0f111f5d1cfc", + "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php82\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php82/tree/v1.43.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "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": "2026-09-25T15:50:05+00:00" }, { "name": "symfony/polyfill-php83", @@ -1762,21 +1802,20 @@ "type": "tidelift" } ], - "time": "2026-09-25T15:50:05+00:00", - "published-time": "2026-09-30T10:23:43+00:00" + "time": "2026-09-25T15:50:05+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.8.1", + "version": "v3.7.3", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5" + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/052852a96fd5e5ebdb617dba22031e41a3300fb5", - "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", "shasum": "" }, "require": { @@ -1794,7 +1833,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.8-dev" + "dev-main": "3.7-dev" } }, "autoload": { @@ -1830,7 +1869,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.8.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.3" }, "funding": [ { @@ -1850,8 +1889,7 @@ "type": "tidelift" } ], - "time": "2026-10-20T17:38:25+00:00", - "published-time": "2026-11-04T11:25:33+00:00" + "time": "2026-07-27T15:39:01+00:00" }, { "name": "tbachert/spi", @@ -1903,8 +1941,7 @@ "issues": "https://github.com/Nevay/spi/issues", "source": "https://github.com/Nevay/spi/tree/v1.0.5" }, - "time": "2025-06-29T15:42:06+00:00", - "published-time": "2025-06-30T18:37:38+00:00" + "time": "2025-06-29T15:42:06+00:00" }, { "name": "utopia-php/async", @@ -1966,9 +2003,7 @@ "issues": "https://github.com/utopia-php/async/issues", "source": "https://github.com/utopia-php/async/tree/0.2.0" }, - "abandoned": true, - "time": "2026-09-29T14:07:22+00:00", - "published-time": "2026-09-29T14:07:43+00:00" + "time": "2026-09-29T14:07:22+00:00" }, { "name": "utopia-php/cache", @@ -2030,8 +2065,7 @@ "issues": "https://github.com/utopia-php/cache/issues", "source": "https://github.com/utopia-php/cache/tree/8.0.0" }, - "time": "2026-11-17T11:10:02+00:00", - "published-time": "2026-11-17T11:12:10+00:00" + "time": "2026-11-17T11:10:02+00:00" }, { "name": "utopia-php/circuit-breaker", @@ -2090,8 +2124,7 @@ "issues": "https://github.com/utopia-php/circuit-breaker/issues", "source": "https://github.com/utopia-php/circuit-breaker/tree/0.4.1" }, - "time": "2026-09-16T10:12:28+00:00", - "published-time": "2026-09-16T10:13:41+00:00" + "time": "2026-09-16T10:12:28+00:00" }, { "name": "utopia-php/console", @@ -2139,8 +2172,7 @@ "issues": "https://github.com/utopia-php/console/issues", "source": "https://github.com/utopia-php/console/tree/0.1.1" }, - "time": "2026-02-10T10:20:29+00:00", - "published-time": "2026-02-10T10:25:02+00:00" + "time": "2026-02-10T10:20:29+00:00" }, { "name": "utopia-php/mongo", @@ -2200,21 +2232,20 @@ "issues": "https://github.com/utopia-php/mongo/issues", "source": "https://github.com/utopia-php/mongo/tree/1.5.4" }, - "time": "2026-09-09T05:42:37+00:00", - "published-time": "2026-09-09T05:43:09+00:00" + "time": "2026-09-09T05:42:37+00:00" }, { "name": "utopia-php/pools", - "version": "2.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a" + "reference": "86d43fcacd125232c0743e8c22695faf97285cf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", - "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/86d43fcacd125232c0743e8c22695faf97285cf3", + "reference": "86d43fcacd125232c0743e8c22695faf97285cf3", "shasum": "" }, "require": { @@ -2255,10 +2286,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/2.1.2" + "source": "https://github.com/utopia-php/pools/tree/2.0.2" }, - "time": "2026-09-07T07:02:57+00:00", - "published-time": "2026-09-07T07:10:03+00:00" + "time": "2026-08-05T18:07:20+00:00" }, { "name": "utopia-php/query", @@ -2302,8 +2332,7 @@ "issues": "https://github.com/utopia-php/query/issues", "source": "https://github.com/utopia-php/query/tree/0.7.2" }, - "time": "2026-10-16T10:52:31+00:00", - "published-time": "2026-10-16T10:54:22+00:00" + "time": "2026-10-16T10:52:31+00:00" }, { "name": "utopia-php/telemetry", @@ -2354,8 +2383,7 @@ "issues": "https://github.com/utopia-php/telemetry/issues", "source": "https://github.com/utopia-php/telemetry/tree/0.4.12" }, - "time": "2026-09-28T10:14:23+00:00", - "published-time": "2026-09-28T10:31:11+00:00" + "time": "2026-09-28T10:14:23+00:00" }, { "name": "utopia-php/validators", @@ -2398,8 +2426,7 @@ "issues": "https://github.com/utopia-php/validators/issues", "source": "https://github.com/utopia-php/validators/tree/2.0.0" }, - "time": "2026-10-08T14:16:57+00:00", - "published-time": "2026-10-08T15:09:15+00:00" + "time": "2026-10-08T14:16:57+00:00" } ], "packages-dev": [ @@ -2494,21 +2521,20 @@ "type": "paypal" } ], - "time": "2026-03-29T15:46:14+00:00", - "published-time": "2026-03-29T15:46:42+00:00" + "time": "2026-03-29T15:46:14+00:00" }, { "name": "fakerphp/faker", - "version": "v1.24.1", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5" + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", - "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", "shasum": "" }, "require": { @@ -2556,30 +2582,29 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" }, - "time": "2024-11-21T13:46:39+00:00", - "published-time": "2024-11-21T13:47:18+00:00" + "time": "2024-01-02T13:46:09+00:00" }, { "name": "fidry/cpu-core-counter", - "version": "1.4.1", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "d384a7d0d6e67aa497327260ca95023e92dc2032" + "reference": "db9508f7b1474469d9d3c53b86f817e344732678" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/d384a7d0d6e67aa497327260ca95023e92dc2032", - "reference": "d384a7d0d6e67aa497327260ca95023e92dc2032", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/db9508f7b1474469d9d3c53b86f817e344732678", + "reference": "db9508f7b1474469d9d3c53b86f817e344732678", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "fidry/makefile": "^0.2.0 || ^1.1.2", + "fidry/makefile": "^0.2.0", "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^2.0", @@ -2587,7 +2612,6 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^8.5.31 || ^9.5.26", - "symfony/polyfill-mbstring": "^1.33", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -2613,7 +2637,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.4.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.3.0" }, "funding": [ { @@ -2621,8 +2645,7 @@ "type": "github" } ], - "time": "2026-09-29T22:11:39+00:00", - "published-time": "2026-09-29T22:12:43+00:00" + "time": "2025-08-14T07:29:31+00:00" }, { "name": "jean85/pretty-package-versions", @@ -2682,21 +2705,20 @@ "issues": "https://github.com/Jean85/pretty-package-versions/issues", "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.1" }, - "time": "2025-03-19T14:43:43+00:00", - "published-time": "2025-03-19T14:50:06+00:00" + "time": "2025-03-19T14:43:43+00:00" }, { "name": "laravel/pint", - "version": "v1.32.3", + "version": "v1.29.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "1cf8e0320bed4b3c6e51df92039a5636c3887728" + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/1cf8e0320bed4b3c6e51df92039a5636c3887728", - "reference": "1cf8e0320bed4b3c6e51df92039a5636c3887728", + "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80", + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80", "shasum": "" }, "require": { @@ -2704,19 +2726,17 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.3.0" + "php": "^8.2.0" }, "require-dev": { - "composer/semver": "^3.6.0", - "friendsofphp/php-cs-fixer": "^3.95.30", - "illuminate/view": "^13.42.0", - "larastan/larastan": "^3.15.0", - "laravel-zero/framework": "^13.0.0", - "laravel/agent-detector": "^2.0.5", - "laravel/prompts": "^0.3.27", - "mockery/mockery": "^1.6.15", - "nunomaduro/termwind": "^2.4.1", - "pestphp/pest": "^4.7.8" + "friendsofphp/php-cs-fixer": "^3.95.1", + "illuminate/view": "^12.56.0", + "larastan/larastan": "^3.9.6", + "laravel-zero/framework": "^12.1.0", + "mockery/mockery": "^1.6.12", + "nunomaduro/termwind": "^2.4.0", + "pestphp/pest": "^3.8.6", + "shipfastlabs/agent-detector": "^1.1.3" }, "bin": [ "builds/pint" @@ -2753,25 +2773,24 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2026-11-11T16:45:13+00:00", - "published-time": "2026-11-11T16:45:39+00:00" + "time": "2026-04-20T15:26:14+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.14.0", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae", - "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^7.1 || ^8.0" }, "conflict": { "doctrine/collections": "<1.6.8", @@ -2806,32 +2825,32 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.14.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { - "url": "https://github.com/mnapoli", - "type": "github" + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" } ], - "time": "2026-08-11T10:17:44+00:00", - "published-time": "2026-08-11T10:29:20+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nikic/php-parser", - "version": "v5.9.0", + "version": "v5.7.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def" + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/9e33da9553fe7786f0962b35f4e4ecf01be89def", - "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", "shasum": "" }, "require": { + "ext-ctype": "*", "ext-json": "*", "ext-tokenizer": "*", "php": ">=7.4" @@ -2870,10 +2889,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.9.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" }, - "time": "2026-09-13T18:51:52+00:00", - "published-time": "2026-09-13T18:53:16+00:00" + "time": "2025-12-06T11:56:16+00:00" }, { "name": "phar-io/manifest", @@ -2940,8 +2958,7 @@ "type": "github" } ], - "time": "2024-03-03T12:33:53+00:00", - "published-time": "2024-03-03T12:39:44+00:00" + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -2992,16 +3009,15 @@ "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", - "published-time": "2022-02-21T01:04:30+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "phpstan/phpstan", - "version": "2.3.7", + "version": "2.1.54", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", - "reference": "90c91c2498849ab8cc4e873864bbf1cb2bf6ea12", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8be50c3992107dc837b17da4d140fbbdf9a5c5bd", + "reference": "8be50c3992107dc837b17da4d140fbbdf9a5c5bd", "shasum": "" }, "require": { @@ -3024,17 +3040,6 @@ "license": [ "MIT" ], - "authors": [ - { - "name": "Ondřej Mirtes" - }, - { - "name": "Markus Staab" - }, - { - "name": "Vincent Langlet" - } - ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -3057,27 +3062,25 @@ "type": "github" } ], - "time": "2026-11-19T10:31:11+00:00", - "published-time": "2026-11-19T10:31:27+00:00" + "time": "2026-04-29T13:31:09+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "2.1.2", + "version": "2.0.16", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "ffff35d4f96c4642d7f41a3515d90afa0f58be62" + "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/ffff35d4f96c4642d7f41a3515d90afa0f58be62", - "reference": "ffff35d4f96c4642d7f41a3515d90afa0f58be62", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6ab598e1bc106e6827fd346ae4a12b4a5d634c32", + "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32", "shasum": "" }, "require": { - "phar-io/version": "^3.2", "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.3.0" + "phpstan/phpstan": "^2.1.32" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -3087,8 +3090,7 @@ "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^9.6", - "shipmonk/name-collision-detector": "^2.1" + "phpunit/phpunit": "^9.6" }, "type": "phpstan-extension", "extra": { @@ -3114,40 +3116,39 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.1.2" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.16" }, - "time": "2026-11-12T15:27:53+00:00", - "published-time": "2026-11-12T16:07:51+00:00" + "time": "2026-02-14T09:05:21+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "12.5.8", + "version": "12.5.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "7440368d94738d54f2c1de24dbd3871793bbb0dd" + "reference": "876099a072646c7745f673d7aeab5382c4439691" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7440368d94738d54f2c1de24dbd3871793bbb0dd", - "reference": "7440368d94738d54f2c1de24dbd3871793bbb0dd", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/876099a072646c7745f673d7aeab5382c4439691", + "reference": "876099a072646c7745f673d7aeab5382c4439691", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.9.0", + "nikic/php-parser": "^5.7.0", "php": ">=8.3", - "phpunit/php-text-template": "^5.0.1", + "phpunit/php-text-template": "^5.0", "sebastian/complexity": "^5.0", - "sebastian/environment": "^8.1.2", - "sebastian/lines-of-code": "^4.0.1", + "sebastian/environment": "^8.0.3", + "sebastian/lines-of-code": "^4.0", "sebastian/version": "^6.0", "theseer/tokenizer": "^2.0.1" }, "require-dev": { - "phpunit/phpunit": "^12.5.37" + "phpunit/phpunit": "^12.5.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -3185,7 +3186,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.8" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/12.5.6" }, "funding": [ { @@ -3205,28 +3206,27 @@ "type": "tidelift" } ], - "time": "2026-10-03T14:03:50+00:00", - "published-time": "2026-10-03T14:04:33+00:00" + "time": "2026-04-15T08:23:17+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "6.0.2", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a248d1640ab059b075f53a2ef0f9856e864e06b5" + "reference": "3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a248d1640ab059b075f53a2ef0f9856e864e06b5", - "reference": "a248d1640ab059b075f53a2ef0f9856e864e06b5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5", + "reference": "3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.33" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -3259,7 +3259,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.2" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/6.0.1" }, "funding": [ { @@ -3279,8 +3279,7 @@ "type": "tidelift" } ], - "time": "2026-08-25T14:40:53+00:00", - "published-time": "2026-08-25T14:41:57+00:00" + "time": "2026-02-02T14:04:18+00:00" }, { "name": "phpunit/php-invoker", @@ -3344,28 +3343,27 @@ "type": "github" } ], - "time": "2025-02-07T04:58:58+00:00", - "published-time": "2025-02-07T04:59:09+00:00" + "time": "2025-02-07T04:58:58+00:00" }, { "name": "phpunit/php-text-template", - "version": "5.0.1", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "babab73b7ef9fae406f2eb3ee11323a61caa63d5" + "reference": "e1367a453f0eda562eedb4f659e13aa900d66c53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/babab73b7ef9fae406f2eb3ee11323a61caa63d5", - "reference": "babab73b7ef9fae406f2eb3ee11323a61caa63d5", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/e1367a453f0eda562eedb4f659e13aa900d66c53", + "reference": "e1367a453f0eda562eedb4f659e13aa900d66c53", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.37" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -3397,28 +3395,15 @@ "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.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/5.0.0" }, "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": "2026-10-03T04:51:29+00:00", - "published-time": "2026-10-03T04:54:39+00:00" + "time": "2025-02-07T04:59:16+00:00" }, { "name": "phpunit/php-timer", @@ -3478,49 +3463,48 @@ "type": "github" } ], - "time": "2025-02-07T04:59:38+00:00", - "published-time": "2025-02-07T04:59:52+00:00" + "time": "2025-02-07T04:59:38+00:00" }, { "name": "phpunit/phpunit", - "version": "12.5.45", + "version": "12.5.23", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "ca97be2931de6a0adf824da12889cbf935a016e9" + "reference": "c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ca97be2931de6a0adf824da12889cbf935a016e9", - "reference": "ca97be2931de6a0adf824da12889cbf935a016e9", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969", + "reference": "c54fcf3d6bcb6e96ac2f7e40097dc37b5f139969", "shasum": "" }, "require": { "ext-dom": "*", - "ext-filter": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", + "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.14.0", + "myclabs/deep-copy": "^1.13.4", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.3", - "phpunit/php-code-coverage": "^12.5.8", - "phpunit/php-file-iterator": "^6.0.2", + "phpunit/php-code-coverage": "^12.5.6", + "phpunit/php-file-iterator": "^6.0.1", "phpunit/php-invoker": "^6.0.0", - "phpunit/php-text-template": "^5.0.1", + "phpunit/php-text-template": "^5.0.0", "phpunit/php-timer": "^8.0.0", - "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/cli-parser": "^4.2.0", + "sebastian/comparator": "^7.1.6", + "sebastian/diff": "^7.0.0", + "sebastian/environment": "^8.1.0", + "sebastian/exporter": "^7.0.2", + "sebastian/global-state": "^8.0.2", "sebastian/object-enumerator": "^7.0.0", "sebastian/recursion-context": "^7.0.1", - "sebastian/type": "^6.0.4", - "sebastian/version": "^6.0.2", + "sebastian/type": "^6.0.3", + "sebastian/version": "^6.0.0", "staabm/side-effects-detector": "^1.0.5" }, "bin": [ @@ -3561,7 +3545,7 @@ "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.45" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.23" }, "funding": [ { @@ -3569,28 +3553,27 @@ "type": "other" } ], - "time": "2026-11-19T12:16:09+00:00", - "published-time": "2026-11-19T12:17:59+00:00" + "time": "2026-04-18T06:12:49+00:00" }, { "name": "sebastian/cli-parser", - "version": "4.2.1", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "7d05781b13f7dec9043a629a21d086ed74582a15" + "reference": "90f41072d220e5c40df6e8635f5dafba2d9d4d04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/7d05781b13f7dec9043a629a21d086ed74582a15", - "reference": "7d05781b13f7dec9043a629a21d086ed74582a15", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/90f41072d220e5c40df6e8635f5dafba2d9d4d04", + "reference": "90f41072d220e5c40df6e8635f5dafba2d9d4d04", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.25" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -3619,7 +3602,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.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/4.2.0" }, "funding": [ { @@ -3639,21 +3622,20 @@ "type": "tidelift" } ], - "time": "2026-05-17T05:29:34+00:00", - "published-time": "2026-05-17T05:30:34+00:00" + "time": "2025-09-14T09:36:45+00:00" }, { "name": "sebastian/comparator", - "version": "7.1.8", + "version": "7.1.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "7c65c1e79836812819705b473a90c12399542485" + "reference": "c769009dee98f494e0edc3fd4f4087501688f11e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/7c65c1e79836812819705b473a90c12399542485", - "reference": "7c65c1e79836812819705b473a90c12399542485", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c769009dee98f494e0edc3fd4f4087501688f11e", + "reference": "c769009dee98f494e0edc3fd4f4087501688f11e", "shasum": "" }, "require": { @@ -3661,10 +3643,10 @@ "ext-mbstring": "*", "php": ">=8.3", "sebastian/diff": "^7.0", - "sebastian/exporter": "^7.0.3" + "sebastian/exporter": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^12.5.25" + "phpunit/phpunit": "^12.2" }, "suggest": { "ext-bcmath": "For comparing BcMath\\Number objects" @@ -3712,7 +3694,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.8" + "source": "https://github.com/sebastianbergmann/comparator/tree/7.1.6" }, "funding": [ { @@ -3732,8 +3714,7 @@ "type": "tidelift" } ], - "time": "2026-05-21T04:45:25+00:00", - "published-time": "2026-05-21T04:45:36+00:00" + "time": "2026-04-14T08:23:15+00:00" }, { "name": "sebastian/complexity", @@ -3791,29 +3772,28 @@ "type": "github" } ], - "time": "2025-02-07T04:55:25+00:00", - "published-time": "2025-02-07T04:55:36+00:00" + "time": "2025-02-07T04:55:25+00:00" }, { "name": "sebastian/diff", - "version": "7.0.1", + "version": "7.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6" + "reference": "7ab1ea946c012266ca32390913653d844ecd085f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6", - "reference": "cd4cabe39f8a4e8ee6818ba99f10a05561ea4ad6", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7ab1ea946c012266ca32390913653d844ecd085f", + "reference": "7ab1ea946c012266ca32390913653d844ecd085f", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.33", - "symfony/process": "^7.4.17" + "phpunit/phpunit": "^12.0", + "symfony/process": "^7.2" }, "type": "library", "extra": { @@ -3851,48 +3831,35 @@ "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.1" + "source": "https://github.com/sebastianbergmann/diff/tree/7.0.0" }, "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": "2026-08-25T15:35:54+00:00", - "published-time": "2026-08-25T15:37:16+00:00" + "time": "2025-02-07T04:55:46+00:00" }, { "name": "sebastian/environment", - "version": "8.1.2", + "version": "8.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "9d32c685773823b1983e256ae4ecd48a10d6e439" + "reference": "b121608b28a13f721e76ffbbd386d08eff58f3f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/9d32c685773823b1983e256ae4ecd48a10d6e439", - "reference": "9d32c685773823b1983e256ae4ecd48a10d6e439", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b121608b28a13f721e76ffbbd386d08eff58f3f6", + "reference": "b121608b28a13f721e76ffbbd386d08eff58f3f6", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.26" + "phpunit/phpunit": "^12.0" }, "suggest": { "ext-posix": "*" @@ -3928,7 +3895,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.1.2" + "source": "https://github.com/sebastianbergmann/environment/tree/8.1.0" }, "funding": [ { @@ -3948,30 +3915,29 @@ "type": "tidelift" } ], - "time": "2026-05-25T13:40:20+00:00", - "published-time": "2026-05-25T13:40:39+00:00" + "time": "2026-04-15T12:13:01+00:00" }, { "name": "sebastian/exporter", - "version": "7.0.3", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23" + "reference": "016951ae10980765e4e7aee491eb288c64e505b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23", - "reference": "c5e21b5de653ce0a769fb36f5cdfcb5e7a32cf23", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/016951ae10980765e4e7aee491eb288c64e505b7", + "reference": "016951ae10980765e4e7aee491eb288c64e505b7", "shasum": "" }, "require": { "ext-mbstring": "*", "php": ">=8.3", - "sebastian/recursion-context": "^7.0.1" + "sebastian/recursion-context": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^12.5.25" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -4019,7 +3985,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.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/7.0.2" }, "funding": [ { @@ -4039,31 +4005,30 @@ "type": "tidelift" } ], - "time": "2026-05-20T04:37:17+00:00", - "published-time": "2026-05-20T04:37:31+00:00" + "time": "2025-09-24T06:16:11+00:00" }, { "name": "sebastian/global-state", - "version": "8.0.3", + "version": "8.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "b164d3274d6537ab462591c5755f76a8f5b1aae9" + "reference": "ef1377171613d09edd25b7816f05be8313f9115d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/b164d3274d6537ab462591c5755f76a8f5b1aae9", - "reference": "b164d3274d6537ab462591c5755f76a8f5b1aae9", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ef1377171613d09edd25b7816f05be8313f9115d", + "reference": "ef1377171613d09edd25b7816f05be8313f9115d", "shasum": "" }, "require": { "php": ">=8.3", "sebastian/object-reflector": "^5.0", - "sebastian/recursion-context": "^7.0.1" + "sebastian/recursion-context": "^7.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^12.5.28" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -4094,7 +4059,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.3" + "source": "https://github.com/sebastianbergmann/global-state/tree/8.0.2" }, "funding": [ { @@ -4114,29 +4079,28 @@ "type": "tidelift" } ], - "time": "2026-06-01T15:10:33+00:00", - "published-time": "2026-06-01T15:20:45+00:00" + "time": "2025-08-29T11:29:25+00:00" }, { "name": "sebastian/lines-of-code", - "version": "4.0.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "d543b8ef219dcd8da262cbb958639a96bedba10e" + "reference": "97ffee3bcfb5805568d6af7f0f893678fc076d2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d543b8ef219dcd8da262cbb958639a96bedba10e", - "reference": "d543b8ef219dcd8da262cbb958639a96bedba10e", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/97ffee3bcfb5805568d6af7f0f893678fc076d2f", + "reference": "97ffee3bcfb5805568d6af7f0f893678fc076d2f", "shasum": "" }, "require": { - "nikic/php-parser": "^5.7.0", + "nikic/php-parser": "^5.0", "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.25" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -4165,28 +4129,15 @@ "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.1" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/4.0.0" }, "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": "2026-05-19T16:22:07+00:00", - "published-time": "2026-05-19T16:22:47+00:00" + "time": "2025-02-07T04:57:28+00:00" }, { "name": "sebastian/object-enumerator", @@ -4244,8 +4195,7 @@ "type": "github" } ], - "time": "2025-02-07T04:57:48+00:00", - "published-time": "2025-02-07T04:58:08+00:00" + "time": "2025-02-07T04:57:48+00:00" }, { "name": "sebastian/object-reflector", @@ -4301,8 +4251,7 @@ "type": "github" } ], - "time": "2025-02-07T04:58:17+00:00", - "published-time": "2025-02-07T04:58:28+00:00" + "time": "2025-02-07T04:58:17+00:00" }, { "name": "sebastian/recursion-context", @@ -4378,28 +4327,27 @@ "type": "tidelift" } ], - "time": "2025-08-13T04:44:59+00:00", - "published-time": "2025-08-13T04:45:10+00:00" + "time": "2025-08-13T04:44:59+00:00" }, { "name": "sebastian/type", - "version": "6.0.4", + "version": "6.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "82ff822c2edc46724be9f7411d3163021f602773" + "reference": "e549163b9760b8f71f191651d22acf32d56d6d4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/82ff822c2edc46724be9f7411d3163021f602773", - "reference": "82ff822c2edc46724be9f7411d3163021f602773", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/e549163b9760b8f71f191651d22acf32d56d6d4d", + "reference": "e549163b9760b8f71f191651d22acf32d56d6d4d", "shasum": "" }, "require": { "php": ">=8.3" }, "require-dev": { - "phpunit/phpunit": "^12.5.25" + "phpunit/phpunit": "^12.0" }, "type": "library", "extra": { @@ -4428,7 +4376,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.4" + "source": "https://github.com/sebastianbergmann/type/tree/6.0.3" }, "funding": [ { @@ -4448,21 +4396,20 @@ "type": "tidelift" } ], - "time": "2026-05-20T06:45:45+00:00", - "published-time": "2026-05-20T06:50:13+00:00" + "time": "2025-08-09T06:57:12+00:00" }, { "name": "sebastian/version", - "version": "6.0.2", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "a8b6643a19ba6c8125a473623e45fb8cbb0e4159" + "reference": "3e6ccf7657d4f0a59200564b08cead899313b53c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a8b6643a19ba6c8125a473623e45fb8cbb0e4159", - "reference": "a8b6643a19ba6c8125a473623e45fb8cbb0e4159", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/3e6ccf7657d4f0a59200564b08cead899313b53c", + "reference": "3e6ccf7657d4f0a59200564b08cead899313b53c", "shasum": "" }, "require": { @@ -4495,28 +4442,15 @@ "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.2" + "source": "https://github.com/sebastianbergmann/version/tree/6.0.0" }, "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": "2026-11-09T06:30:55+00:00", - "published-time": "2026-11-09T06:31:20+00:00" + "time": "2025-02-07T05:00:38+00:00" }, { "name": "staabm/side-effects-detector", @@ -4568,8 +4502,7 @@ "type": "github" } ], - "time": "2024-10-20T05:08:20+00:00", - "published-time": "2024-10-20T05:09:39+00:00" + "time": "2024-10-20T05:08:20+00:00" }, { "name": "swoole/ide-helper", @@ -4601,34 +4534,27 @@ "issues": "https://github.com/swoole/ide-helper/issues", "source": "https://github.com/swoole/ide-helper/tree/5.1.3" }, - "time": "2024-06-17T05:45:20+00:00", - "published-time": "2024-06-17T06:05:26+00:00" + "time": "2024-06-17T05:45:20+00:00" }, { "name": "symfony/console", - "version": "v8.1.11", + "version": "v8.0.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9" + "reference": "5b66d385dc58f69652e56f78a4184615e3f2b7f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5a315b092b81f3e920e9daea1a2ae4c66ed298b9", - "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9", + "url": "https://api.github.com/repos/symfony/console/zipball/5b66d385dc58f69652e56f78a4184615e3f2b7f7", + "reference": "5b66d385dc58f69652e56f78a4184615e3f2b7f7", "shasum": "" }, "require": { - "php": ">=8.4.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.4", "symfony/polyfill-mbstring": "^1.0", - "symfony/polyfill-php85": "^1.32", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^7.4.6|^8.0.6" - }, - "conflict": { - "symfony/dependency-injection": "<8.1", - "symfony/event-dispatcher": "<8.1" + "symfony/string": "^7.4|^8.0" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" @@ -4636,18 +4562,14 @@ "require-dev": { "psr/log": "^1|^2|^3", "symfony/config": "^7.4|^8.0", - "symfony/dependency-injection": "^8.1", - "symfony/event-dispatcher": "^8.1", - "symfony/filesystem": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/event-dispatcher": "^7.4|^8.0", "symfony/http-foundation": "^7.4|^8.0", "symfony/http-kernel": "^7.4|^8.0", "symfony/lock": "^7.4|^8.0", "symfony/messenger": "^7.4|^8.0", - "symfony/mime": "^7.4|^8.0", "symfony/process": "^7.4|^8.0", "symfony/stopwatch": "^7.4|^8.0", - "symfony/uid": "^7.4|^8.0", - "symfony/validator": "^7.4|^8.0", "symfony/var-dumper": "^7.4|^8.0" }, "type": "library", @@ -4682,7 +4604,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.1.11" + "source": "https://github.com/symfony/console/tree/v8.0.8" }, "funding": [ { @@ -4702,8 +4624,7 @@ "type": "tidelift" } ], - "time": "2026-11-04T07:07:11+00:00", - "published-time": "2026-11-04T11:31:39+00:00" + "time": "2026-03-30T15:14:47+00:00" }, { "name": "symfony/polyfill-ctype", @@ -4786,21 +4707,20 @@ "type": "tidelift" } ], - "time": "2026-04-10T16:19:22+00:00", - "published-time": "2026-04-26T14:44:50+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.43.3", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8" + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5a8f33c87aeecffce24e721b5064fab05f4becf8", - "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e", + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e", "shasum": "" }, "require": { @@ -4849,7 +4769,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.43.3" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0" }, "funding": [ { @@ -4869,21 +4789,20 @@ "type": "tidelift" } ], - "time": "2026-10-15T09:18:53+00:00", - "published-time": "2026-10-28T10:07:44+00:00" + "time": "2026-04-26T13:13:48+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.43.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/ebd57ccc7edb93d632e184efbe7693d2517bab3b", - "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { @@ -4935,7 +4854,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.43.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0" }, "funding": [ { @@ -4955,106 +4874,24 @@ "type": "tidelift" } ], - "time": "2026-09-23T22:02:09+00:00", - "published-time": "2026-09-30T10:23:47+00:00" - }, - { - "name": "symfony/polyfill-php85", - "version": "v1.44.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php85.git", - "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/94c794cb5ba51784bc259f11e9f128593297d8dc", - "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php85\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php85/tree/v1.44.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "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": "2026-10-30T15:20:09+00:00", - "published-time": "2026-11-15T14:20:22+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", - "version": "v8.1.10", + "version": "v8.0.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e" + "reference": "cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/08aa69fa0998bb65a089f9e148a2c0f8b391398e", - "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e", + "url": "https://api.github.com/repos/symfony/process/zipball/cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc", + "reference": "cb8939aff03470d1a9d1d1b66d08c6fa71b3bbdc", "shasum": "" }, "require": { - "php": ">=8.4.1" + "php": ">=8.4" }, "type": "library", "autoload": { @@ -5082,7 +4919,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v8.1.10" + "source": "https://github.com/symfony/process/tree/v8.0.8" }, "funding": [ { @@ -5102,25 +4939,24 @@ "type": "tidelift" } ], - "time": "2026-10-25T14:40:25+00:00", - "published-time": "2026-10-28T18:25:20+00:00" + "time": "2026-03-30T15:14:47+00:00" }, { "name": "symfony/string", - "version": "v8.1.10", + "version": "v8.0.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "6c6110979c0150393bbb336170e286d51ab4d76c" + "reference": "ae9488f874d7603f9d2dfbf120203882b645d963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/6c6110979c0150393bbb336170e286d51ab4d76c", - "reference": "6c6110979c0150393bbb336170e286d51ab4d76c", + "url": "https://api.github.com/repos/symfony/string/zipball/ae9488f874d7603f9d2dfbf120203882b645d963", + "reference": "ae9488f874d7603f9d2dfbf120203882b645d963", "shasum": "" }, "require": { - "php": ">=8.4.1", + "php": ">=8.4", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-intl-grapheme": "^1.33", "symfony/polyfill-intl-normalizer": "^1.0", @@ -5173,7 +5009,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v8.1.10" + "source": "https://github.com/symfony/string/tree/v8.0.8" }, "funding": [ { @@ -5193,8 +5029,7 @@ "type": "tidelift" } ], - "time": "2026-10-23T17:06:53+00:00", - "published-time": "2026-10-28T18:24:27+00:00" + "time": "2026-03-30T15:14:47+00:00" }, { "name": "theseer/tokenizer", @@ -5244,8 +5079,7 @@ "type": "github" } ], - "time": "2025-12-08T11:19:18+00:00", - "published-time": "2025-12-08T11:19:39+00:00" + "time": "2025-12-08T11:19:18+00:00" }, { "name": "utopia-php/cli", @@ -5292,8 +5126,7 @@ "issues": "https://github.com/utopia-php/cli/issues", "source": "https://github.com/utopia-php/cli/tree/0.24.4" }, - "time": "2026-09-02T15:57:19+00:00", - "published-time": "2026-09-02T15:59:37+00:00" + "time": "2026-09-02T15:57:19+00:00" }, { "name": "utopia-php/di", @@ -5341,8 +5174,7 @@ "issues": "https://github.com/utopia-php/di/issues", "source": "https://github.com/utopia-php/di/tree/0.3.6" }, - "time": "2026-09-02T15:57:19+00:00", - "published-time": "2026-09-02T15:59:44+00:00" + "time": "2026-09-02T15:57:19+00:00" }, { "name": "utopia-php/servers", @@ -5391,8 +5223,7 @@ "issues": "https://github.com/utopia-php/servers/issues", "source": "https://github.com/utopia-php/servers/tree/0.4.12" }, - "time": "2026-10-08T14:16:57+00:00", - "published-time": "2026-10-08T15:14:20+00:00" + "time": "2026-10-08T14:16:57+00:00" } ], "aliases": [], @@ -5408,5 +5239,5 @@ "ext-redis": "*" }, "platform-dev": {}, - "plugin-api-version": "2.11.0" + "plugin-api-version": "2.9.0" } From e02eb232dd930d5d93d05017036d01201a9c9996 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 19 Nov 2026 17:00:41 +0200 Subject: [PATCH 6/8] fixes --- src/Database/Trait/Documents.php | 10 ++++++---- tests/unit/Documents/FindLogicTest.php | 9 ++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index b961cb5ab..9ad8074b9 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -5196,10 +5196,12 @@ private function tieBreakDirection(Collection $collection, array $orderAttribute continue; } - // A prefix-length column (`name(64)`) holds only the start of each value, so MySQL cannot read the - // index in value order. A length that covers the whole column is a full-column index and still counts. - foreach ($index->attributes as $position => $attribute) { - $length = $index->lengths[$position] ?? 0; + // A prefix-length order column (`name(64)`) holds only the start of each value, so MySQL cannot read + // the index in value order. A length that covers the whole column is a full-column index and still + // counts. A prefix on an equality-pinned leading column is fine: every matching row shares that + // prefix, so the rest of the index still orders them (MySQL 8.4 skips the filesort for it). + foreach ($orderAttributes as $position => $attribute) { + $length = $index->lengths[$prefix + $position] ?? 0; $size = $sizes[$attribute] ?? null; if ($length > 0 && ($size === null || $length < $size)) { continue 2; diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index 387060786..defa8d3e1 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -572,10 +572,17 @@ public static function compoundIndexTieBreakProvider(): array ['name', '$sequence'], [OrderDirection::Desc, OrderDirection::Asc], ], - '(status(8), age DESC) prefix on a pinned column, falls back to leading direction' => [ + // Every row matching status = ? shares the indexed prefix, so the index still orders them by age. + '(status(8), age DESC) prefix on a pinned column, age DESC reads forward' => [ [['attributes' => ['status', 'age'], 'orders' => ['ASC', 'DESC'], 'lengths' => [8, 0]]], [Query::equal('status', ['active']), Query::orderDesc('age')], ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status(8), name(16) DESC) prefix on the order column, falls back to leading direction' => [ + [['attributes' => ['status', 'name'], 'orders' => ['ASC', 'DESC'], 'lengths' => [8, 16]]], + [Query::equal('status', ['active']), Query::orderDesc('name')], + ['name', '$sequence'], [OrderDirection::Desc, OrderDirection::Desc], ], From 3557e5b7ee99355b0f3575082c0a3076acae1a13 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 19 Nov 2026 17:07:49 +0200 Subject: [PATCH 7/8] fix --- src/Database/Trait/Documents.php | 6 ++++-- tests/unit/Documents/FindLogicTest.php | 21 ++++++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index 9ad8074b9..2eda81284 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -5169,7 +5169,8 @@ private function tieBreakDirection(Collection $collection, array $orderAttribute $orderAttributes = \array_values($orderAttributes); $orderTypes = \array_values($orderTypes); - // An `and()` group pins its equalities just like top-level filters; an `or()` group pins nothing. + // `= ?` with one value and `IS NULL` each pin a column to a single value, so the index rows that match + // are ordered by the columns after it. An `and()` group pins like top-level filters; an `or()` pins nothing. $pinned = []; $pending = \array_values($filters); while ($pending !== []) { @@ -5180,7 +5181,8 @@ private function tieBreakDirection(Collection $collection, array $orderAttribute $pending[] = $nested; } } - } elseif ($filter->getMethod() === Method::Equal && \count($filter->getValues()) === 1) { + } elseif ($filter->getMethod() === Method::IsNull + || ($filter->getMethod() === Method::Equal && \count($filter->getValues()) === 1)) { $pinned[$filter->getAttribute()] = true; } } diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index defa8d3e1..ed768e699 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -693,10 +693,29 @@ public static function compoundIndexTieBreakProvider(): array ['age', '$sequence'], [OrderDirection::Desc, OrderDirection::Desc], ], - '(status, age DESC), status IS NULL, falls back to leading direction' => [ + // IS NULL pins the column to a single value just like = ?; IS NOT NULL does not. + '(status, age DESC), status IS NULL, age DESC reads forward' => [ [$statusAgeDesc], [Query::isNull('status'), Query::orderDesc('age')], ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), status IS NULL, age ASC reads backward' => [ + [$statusAgeDesc], + [Query::isNull('status'), Query::orderAsc('age')], + ['age', '$sequence'], + [OrderDirection::Asc, OrderDirection::Desc], + ], + '(status, type, age DESC), status IS NULL and type = ?, reads forward' => [ + [$statusTypeAgeDesc], + [Query::isNull('status'), Query::equal('type', ['a']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC), status IS NOT NULL, falls back to leading direction' => [ + [$statusAgeDesc], + [Query::isNotNull('status'), Query::orderDesc('age')], + ['age', '$sequence'], [OrderDirection::Desc, OrderDirection::Desc], ], // An and() group pins its equalities like top-level filters, at any depth; an or() group pins nothing. From baba8d355b0c3143109a7c9d518008dad48ab926 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 19 Nov 2026 17:16:29 +0200 Subject: [PATCH 8/8] fix --- src/Database/Trait/Documents.php | 66 ++++++++++++++------------ tests/unit/Documents/FindLogicTest.php | 39 +++++++++++++-- 2 files changed, 71 insertions(+), 34 deletions(-) diff --git a/src/Database/Trait/Documents.php b/src/Database/Trait/Documents.php index 2eda81284..282704010 100644 --- a/src/Database/Trait/Documents.php +++ b/src/Database/Trait/Documents.php @@ -5152,8 +5152,9 @@ private static function aliasAggregates(array $queries): array * and `(x DESC)` serves `x DESC, _id ASC`; any other pairing filesorts every row in range. With no * such index the tie break follows the leading direction, which is what an ascending index wants. * - * The index may also start with attributes that an equality filter pins to a single value: - * with `status = ?`, `(status, x DESC)` reads in `x DESC, _id ASC` order just like `(x DESC)`. + * The index may also hold attributes that a filter pins to a single value, before, between or after + * the order attributes: with `status = ?` and `type = ?`, `(status, x DESC, type)` reads in + * `x DESC, _id ASC` order just like `(x DESC)`. * * @param array $orderAttributes * @param array $orderTypes @@ -5193,43 +5194,48 @@ private function tieBreakDirection(Collection $collection, array $orderAttribute } foreach ($collection->indexes() as $index) { - $prefix = \count($index->attributes) - \count($orderAttributes); - if (! \in_array($index->type, [IndexType::Key, IndexType::Unique], true) || $prefix < 0) { + if (! \in_array($index->type, [IndexType::Key, IndexType::Unique], true)) { continue; } - // A prefix-length order column (`name(64)`) holds only the start of each value, so MySQL cannot read - // the index in value order. A length that covers the whole column is a full-column index and still - // counts. A prefix on an equality-pinned leading column is fine: every matching row shares that - // prefix, so the rest of the index still orders them (MySQL 8.4 skips the filesort for it). - foreach ($orderAttributes as $position => $attribute) { - $length = $index->lengths[$prefix + $position] ?? 0; - $size = $sizes[$attribute] ?? null; - if ($length > 0 && ($size === null || $length < $size)) { - continue 2; - } - } + // Pinned columns may sit before, between or after the order columns: every matching row holds the + // same value there, so they do not change the order. With them skipped, the index must be exactly + // the order columns, in order, so the primary key that InnoDB appends comes right after the last. + $forward = null; + $matched = 0; + foreach ($index->attributes as $position => $attribute) { + if ($matched < \count($orderAttributes) && $attribute === $orderAttributes[$matched]) { + $requested = $orderTypes[$matched] ?? OrderDirection::Asc; + if (! \in_array($requested, [OrderDirection::Asc, OrderDirection::Desc], true)) { + continue 2; + } - for ($position = 0; $position < $prefix; $position++) { - if (! isset($pinned[$index->attributes[$position]])) { - continue 2; - } - } + // A prefix-length order column (`name(64)`) holds only the start of each value, so MySQL + // cannot read the index in value order. A length that covers the whole column is a full-column + // index and still counts. A prefix on a pinned column is fine: every matching row shares it. + $length = $index->lengths[$position] ?? 0; + $size = $sizes[$attribute] ?? null; + if ($length > 0 && ($size === null || $length < $size)) { + continue 2; + } - $forward = null; - foreach ($orderAttributes as $position => $attribute) { - $requested = $orderTypes[$position] ?? OrderDirection::Asc; - $declared = $index->orders[$prefix + $position] ?? OrderDirection::Asc; - if ($index->attributes[$prefix + $position] !== $attribute - || ! \in_array($requested, [OrderDirection::Asc, OrderDirection::Desc], true)) { - continue 2; + $same = $requested === ($index->orders[$position] ?? OrderDirection::Asc); + if ($forward !== null && $forward !== $same) { + continue 2; + } + $forward = $same; + $matched++; + + continue; } - $same = $requested === $declared; - if ($forward !== null && $forward !== $same) { + if (! isset($pinned[$attribute])) { continue 2; } - $forward = $same; + } + + if ($matched !== \count($orderAttributes)) { + continue; } return $forward ? OrderDirection::Asc : OrderDirection::Desc; diff --git a/tests/unit/Documents/FindLogicTest.php b/tests/unit/Documents/FindLogicTest.php index ed768e699..05f143891 100644 --- a/tests/unit/Documents/FindLogicTest.php +++ b/tests/unit/Documents/FindLogicTest.php @@ -624,18 +624,49 @@ public static function compoundIndexTieBreakProvider(): array [OrderDirection::Desc, OrderDirection::Desc], ], - // The order column must be the index's last column: in (status, age DESC, type) _id follows type, not age. - '(status, age DESC, type), status = ?, age DESC, order column not last, falls back' => [ + // Columns after the order column must be pinned too: in (status, age DESC, type) _id follows type, + // which orders the rows unless type = ? holds it to one value. + '(status, age DESC, type), status = ?, type unpinned after the order column, falls back' => [ [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], [Query::equal('status', ['active']), Query::orderDesc('age')], ['age', '$sequence'], [OrderDirection::Desc, OrderDirection::Desc], ], - '(status, age DESC, type), status = ? and type = ?, order column not last, falls back' => [ + '(status, age DESC, type), status = ? and type = ?, pinned after the order column, reads forward' => [ [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::orderDesc('age')], ['age', '$sequence'], - [OrderDirection::Desc, OrderDirection::Desc], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC, type), status = ? and type = ?, age ASC reads backward' => [ + [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::orderAsc('age')], + ['age', '$sequence'], + [OrderDirection::Asc, OrderDirection::Desc], + ], + '(status, age DESC, type), status = ? and type IS NULL, reads forward' => [ + [['attributes' => ['status', 'age', 'type'], 'orders' => ['ASC', 'DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::isNull('type'), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], + ], + '(status, age DESC, type, name), type pinned between two order columns, reads forward' => [ + [['attributes' => ['status', 'age', 'type', 'name'], 'orders' => ['ASC', 'DESC', 'ASC', 'ASC']]], + [Query::equal('status', ['active']), Query::equal('type', ['a']), Query::orderDesc('age'), Query::orderAsc('name')], + ['age', 'name', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc, OrderDirection::Asc], + ], + '(status, age DESC, type, name), type unpinned between two order columns, falls back' => [ + [['attributes' => ['status', 'age', 'type', 'name'], 'orders' => ['ASC', 'DESC', 'ASC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderDesc('age'), Query::orderAsc('name')], + ['age', 'name', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc, OrderDirection::Desc], + ], + '(age DESC, status), status = ? after the only order column, reads forward' => [ + [['attributes' => ['age', 'status'], 'orders' => ['DESC', 'ASC']]], + [Query::equal('status', ['active']), Query::orderDesc('age')], + ['age', '$sequence'], + [OrderDirection::Desc, OrderDirection::Asc], ], // A partly pinned index earlier in the list must not stop the search for a fully pinned one.