Skip to content

LatteExtension: added options strictParsing & phpLinter #505

LatteExtension: added options strictParsing & phpLinter

LatteExtension: added options strictParsing & phpLinter #505

Triggered via push August 27, 2023 00:29
Status Success
Total duration 25s
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#L88
Call to an undefined method ReflectionType::getName().
PHPStan: src/Application/MicroPresenter.php#L108
Call to an undefined method Nette\Application\UI\Template::setParameters().
PHPStan: src/Application/Routers/RouteList.php#L87
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#L54
Call to an undefined method ReflectionProperty::getAttributes().
PHPStan: src/Application/UI/ComponentReflection.php#L55
Parameter #1 $ref of static method Nette\Application\UI\ComponentReflection::parseAnnotation() expects ReflectionClass|ReflectionMethod, ReflectionProperty given.