Closed jtojnar closed 5 months ago
There is still breakage from https://github.com/nette/application/commit/bb8f93c60f9e747530431eef75df8b0aa8ab9d5b in webchemistry/testing-helpers
. It can be fixed with the following patch but there are other issues with it and the repo looks dead so not sure if it makes sense trying to track them down:
--- a/src/Components/Presenter.php
+++ b/src/Components/Presenter.php
@@ -31,7 +31,7 @@ class Presenter {
$request = new Request(new UrlScript('http://localhost/'));
$presenter->injectPrimary(
- null, null, new RouterStub(), $request, new Response(), null,
+ $request, new Response(), null, new RouterStub(), null,
null, $this->createTemplateFactory($request)
);
}
Maybe we could apply it with composer-patches
plug-in.
Edit: Opened https://github.com/contributte/forms-multiplier/pull/96
Container::getComponents()
returns array when$deep
is false: https://github.com/nette/component-model/commit/7f613eed7f5e57b6bde2d0be1bfdbb7e161620b3