Skip to content

LatteExtension: automatically passes translator to Latte\Essential\Tr… #769

LatteExtension: automatically passes translator to Latte\Essential\Tr…

LatteExtension: automatically passes translator to Latte\Essential\Tr… #769

Triggered via push June 11, 2024 11:04
Status Success
Total duration 28s
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#L47
Anonymous function has an unused use $code.
PHPStan: src/Application/MicroPresenter.php#L109
Call to an undefined method Nette\Application\UI\Template::setParameters().
PHPStan: src/Application/PresenterFactory.php#L38
PHPDoc tag @param has invalid value (?callable(string): IPresenter $factory): Unexpected token "(", expected variable at offset 25
PHPStan: src/Application/Routers/RouteList.php#L85
Unsafe usage of new static().
PHPStan: src/Application/UI/Component.php#L47
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#L56
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#L134
Call to an undefined method ReflectionMethod::getAttributes().
PHPStan: src/Application/UI/ComponentReflection.php#L52
Parameter #1 $ref of static method Nette\Application\UI\ComponentReflection::parseAnnotation() expects ReflectionClass|ReflectionMethod, ReflectionProperty given.
PHPStan: src/Application/UI/ComponentReflection.php#L53
Call to an undefined method ReflectionProperty::getAttributes().