Skip to content

StaticClass: constructor is private [Closes nette/di#292] #540

StaticClass: constructor is private [Closes nette/di#292]

StaticClass: constructor is private [Closes nette/di#292] #540

Triggered via push January 17, 2024 14:37
Status Success
Total duration 21s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Utils/ArrayHash.php#L21
The @implements tag of class Nette\Utils\ArrayHash describes RecursiveArrayIterator but the class implements: ArrayAccess, Countable, IteratorAggregate
PHPStan: src/Utils/Html.php#L782
Unreachable statement - code above always terminates.
PHPStan: src/Utils/Image.php#L164
Method Nette\Utils\Image::fromFile() should return static(Nette\Utils\Image) but returns Nette\Utils\Image.
PHPStan: src/Utils/Image.php#L185
Method Nette\Utils\Image::fromString() should return static(Nette\Utils\Image) but returns Nette\Utils\Image.
PHPStan: src/Utils/Image.php#L219
Comparison operation "<" between int<1, max> and 1 is always false.
PHPStan: src/Utils/Image.php#L219
Comparison operation "<" between int<1, max> and 1 is always false.
PHPStan: src/Utils/Image.php#L219
Result of || is always false.
PHPStan: src/Utils/Image.php#L639
Unreachable statement - code above always terminates.
PHPStan: src/Utils/Image.php#L683
Function imageavif not found.
PHPStan: src/Utils/ObjectHelpers.php#L151
Variable $nm might not be defined.