Skip to content

Presenter: $payload access refactoring #619

Presenter: $payload access refactoring

Presenter: $payload access refactoring #619

Triggered via push March 6, 2024 11:08
Status Success
Total duration 22s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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/ComponentReflection.php#L93
Call to an undefined static method object::getPersistentComponents().
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.