Skip to content

Static Analysis (only informative) #757

Static Analysis (only informative)

Static Analysis (only informative) #757

Triggered via push May 13, 2024 09:10
Status Success
Total duration 35s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Application/Attributes/Persistent.php#L18
Constructor of class Nette\Application\Attributes\Persistent has an unused parameter $names.
PHPStan: src/Application/ErrorPresenter.php#L38
Anonymous function has an unused use $code.
PHPStan: src/Application/MicroPresenter.php#L94
Call to an undefined method Nette\Application\UI\Template::setParameters().
PHPStan: src/Application/Responses/FileResponse.php#L95
Binary operation "-" between int<0, max>|false and string results in an error.
PHPStan: src/Application/Routers/Route.php#L87
Offset 'presenter' on array on left side of ?? always exists and is not nullable.
PHPStan: src/Application/Routers/RouteList.php#L19
The @implements tag of class Nette\Application\Routers\RouteList describes IteratorAggregate but the class implements: Nette\Routing\Router, ArrayAccess
PHPStan: src/Application/Routers/RouteList.php#L78
Unsafe usage of new static().
PHPStan: src/Application/UI/Component.php#L44
Method Nette\Application\UI\Component::getPresenter() should return Nette\Application\UI\Presenter|null but returns Nette\ComponentModel\IComponent|null.
PHPStan: src/Application/UI/Component.php#L53
Method Nette\Application\UI\Component::getPresenterIfExists() should return Nette\Application\UI\Presenter|null but returns Nette\ComponentModel\IComponent|null.
PHPStan: src/Application/UI/Component.php#L196
Offset 'since' on array{def: mixed, type: string, since: string} in isset() always exists and is not nullable.