Skip to content

mistake

mistake #707

Triggered via pull request June 16, 2026 15:31
Status Failure
Total duration 28s
Artifacts –

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
PHPStan
Process completed with exit code 1.
PHPStan: src/Forms/Rendering/DefaultFormRenderer.php#L497
Parameter #1 $errors of method Nette\Forms\Rendering\DefaultFormRenderer::doRenderErrors() expects list<string|Stringable>, array given.
PHPStan: src/Forms/Form.php#L312
Parameter #1 $array of function array_key_first expects array, iterable<Nette\ComponentModel\IComponent> given.
PHPStan: src/Forms/Controls/CsrfProtection.php#L39
Instanceof between Nette\Http\Session and Nette\Http\Session will always evaluate to true.
PHPStan: src/Forms/Controls/CsrfProtection.php#L39
Call to function assert() with true will always evaluate to true.