Closed jtojnar closed 6 months ago
@jtojnar Hi, can you make PR green? Thanks.
It is planned but I have not gotten around to it yet.
The PHPStan issue can be easily fixed by a cast – I verified that FileUpload
cannot be returned with the arguments we pass to the method.
But I still need to debug the other test failure. I suspect it is caused by some BC break in Latte:
[Latte\CompileException] Unexpected tag {form}, did you mean {for}? (in '.../templates/group.latte' on line 1 at column 1)
I have bisected the Latte failure to https://github.com/nette/application/commit/1aba9da661b7b198c222d6bab6e69f4b0ef3879b and resolved it in https://github.com/WebChemistry/testing-helpers/pull/13.
@jtojnar Nice job, mate! 👏
https://github.com/nette/forms/commit/e227d87d2ef42f5f9368256dd8719807a16bb49e added an extra argument.
While at it, let’s also narrow the
$values
argument type to matchContainer::setValues
.This change remains compatible with nette/forms 3.2.2.
Backports #107