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 bc2ec14..98b06ce 100755 --- a/dependency-graph +++ b/dependency-graph @@ -21,13 +21,16 @@ 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] protected function configure(Application $app): Application { return $app->map(new Kernel); } }; - diff --git a/psalm.xml b/psalm.xml index 510148d..033fa3d 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,6 +10,7 @@ > +