From c60490d4250ca3af9b5985d8167e9d6570f55ba0 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 16 Aug 2026 13:59:40 +0200 Subject: [PATCH 1/2] add missing attribute --- dependency-graph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency-graph b/dependency-graph index bc2ec14..bce7a34 100755 --- a/dependency-graph +++ b/dependency-graph @@ -25,9 +25,9 @@ $config = Config::of() ->limitHttpConcurrencyTo(20); new class($config) extends Cli { + #[\Override] protected function configure(Application $app): Application { return $app->map(new Kernel); } }; - From 0c2baa2cb40f578e9ecc3c96efe2405904402a88 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 16 Aug 2026 14:00:36 +0200 Subject: [PATCH 2/2] fix call to undefined method --- CHANGELOG.md | 6 ++++++ dependency-graph | 7 +++++-- psalm.xml | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee7a17b..0cdc43d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Unreleased] + +### Fixed + +- `dependency-graph` binary crashed due to undefined method call + ## 3.9.0 - 2026-02-28 ### Changed diff --git a/dependency-graph b/dependency-graph index bce7a34..98b06ce 100755 --- a/dependency-graph +++ b/dependency-graph @@ -21,8 +21,11 @@ use Innmind\Framework\{ use Innmind\DependencyGraph\Kernel; use Innmind\OperatingSystem\Config; -$config = Config::of() - ->limitHttpConcurrencyTo(20); +$config = Config::new()->mapHttpTransport( + static fn($transport) => $transport->map( + static fn($config) => $config->limitConcurrencyTo(20), + ), +); new class($config) extends Cli { #[\Override] diff --git a/psalm.xml b/psalm.xml index 510148d..033fa3d 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,6 +10,7 @@ > +