Skip to content

used attribute Deprecated #64

used attribute Deprecated

used attribute Deprecated #64

Triggered via push August 6, 2025 22:48
Status Success
Total duration 19s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/ComponentModel/Component.php#L236
Parameter &$listeners by-ref type of method Nette\ComponentModel\Component::refreshMonitors() expects array<int, array{callable(): mixed, Nette\ComponentModel\IComponent}>, non-empty-array<int, array{(callable(): mixed)|null, Nette\ComponentModel\IComponent}> given.
PHPStan: src/ComponentModel/Component.php#L214
Parameter &$listeners by-ref type of method Nette\ComponentModel\Component::refreshMonitors() expects array<int, array{callable(): mixed, Nette\ComponentModel\IComponent}>, non-empty-array<int, array{(callable(): mixed)|null, Nette\ComponentModel\IComponent|null}> given.
PHPStan: src/ComponentModel/Component.php#L198
Method Nette\ComponentModel\Component::refreshMonitors() has parameter $listeners with generic interface Nette\ComponentModel\IComponent but does not specify its types: T
PHPStan: src/ComponentModel/Component.php#L188
Method Nette\ComponentModel\Component::validateParent() has Nette\InvalidStateException in PHPDoc @throws tag but it's not thrown.
PHPStan: src/ComponentModel/Component.php#L124
Method Nette\ComponentModel\Component::getName() never returns null so it can be removed from the return type.
PHPStan: src/ComponentModel/Component.php#L40
Method Nette\ComponentModel\Component::lookup() return type with generic interface Nette\ComponentModel\IComponent does not specify its types: T
PHPStan: src/ComponentModel/Component.php#L40
Method Nette\ComponentModel\Component::lookup() return type with generic interface Nette\ComponentModel\IComponent does not specify its types: T
PHPStan: src/ComponentModel/Component.php#L32
Property Nette\ComponentModel\Component::$monitors with generic interface Nette\ComponentModel\IComponent does not specify its types: T
PHPStan: src/ComponentModel/Component.php#L28
Property Nette\ComponentModel\Component::$parent with generic interface Nette\ComponentModel\IContainer does not specify its types: T
PHPStan: src/ComponentModel/ArrayAccess.php#L20
Trait Nette\ComponentModel\ArrayAccess is used zero times and is not analysed.