Skip to content

Correction of false exception message in startup check #776

Correction of false exception message in startup check

Correction of false exception message in startup check #776

Triggered via pull request September 10, 2024 10:05
@dgdg
synchronize #332
mildabre:patch-4
Status Success
Total duration 28s
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#L64
Parameter #3 $oneWay (bool) of method Nette\Application\Routers\RouteList::addRoute() is not contravariant with parameter #3 $oneWay (int) of method Nette\Routing\RouteList::addRoute().
PHPStan: src/Application/Routers/RouteList.php#L71
Parameter #2 $oneWay of method Nette\Routing\RouteList::add() expects int, bool given.
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.