Skip to content
Triggered via pull request October 12, 2024 07:57
Status Success
Total duration 23s
Artifacts

static-analysis.yml

on: pull_request
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/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/Routers/RouteList.php#L101
Function getclass not found.
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#L205
Offset 'since' on array{def: mixed, type: string, since: string} in isset() always exists and is not nullable.