made static analysis mandatory #956
Annotations
10 errors
|
PHPStan:
src/Application/PresenterFactory.php#L95
Strict comparison using === between 3 and 3 will always evaluate to true.
|
|
PHPStan:
src/Application/PresenterFactory.php#L95
Result of && is always true.
|
|
PHPStan:
src/Application/PresenterFactory.php#L95
Call to function is_array() with array{string, string, string} will always evaluate to true.
|
|
PHPStan:
src/Application/MicroPresenter.php#L93
Call to an undefined method Nette\Application\UI\Template::setParameters().
|
|
PHPStan:
src/Application/MicroPresenter.php#L85
Parameter #1 $array (list<mixed>) of array_values is already a list, call has no effect.
|
|
PHPStan:
src/Application/LinkGenerator.php#L222
Call to an undefined method Nette\ComponentModel\IComponent::getParameterId().
|
|
PHPStan:
src/Application/LinkGenerator.php#L152
Call to an undefined method Nette\ComponentModel\IComponent::getUniqueId().
|
|
PHPStan:
src/Application/LinkGenerator.php#L148
Call to an undefined method Nette\ComponentModel\IComponent::saveState().
|
|
PHPStan:
src/Application/LinkGenerator.php#L137
Call to an undefined static method Nette\ComponentModel\IComponent::formatSignalMethod().
|
|
PHPStan:
src/Application/ErrorPresenter.php#L36
Anonymous function has an unused use $code.
|