DateTime: modify() and modifyClone() throw exception on error (#293) #467
Annotations
10 errors
PHPStan:
src/Utils/Finder.php#L280
Binary operation "*=" between string and 1|1000.0|1000000.0|1000000000.0 results in an error.
|
PHPStan:
src/Utils/Finder.php#L344
PHPDoc tag @param has invalid value (array<\stdClass{pattern: string, mode: string, recursive: bool}> $searches): Unexpected token "{", expected '>' at offset 31
|
PHPStan:
src/Utils/Finder.php#L431
PHPDoc tag @return has invalid value (array<string, array<\stdClass{pattern: string, mode: string, recursive: bool}>>): Unexpected token "{", expected '>' at offset 41
|
PHPStan:
src/Utils/Image.php#L233
Comparison operation "<" between int<1, max> and 1 is always false.
|
PHPStan:
src/Utils/Image.php#L233
Comparison operation "<" between int<1, max> and 1 is always false.
|
PHPStan:
src/Utils/Image.php#L233
Result of || is always false.
|
PHPStan:
src/Utils/Image.php#L257
Method Nette\Utils\Image::detectTypeFromFile() should return 1|2|3|6|18|19|null but returns int|null.
|
PHPStan:
src/Utils/Image.php#L268
Method Nette\Utils\Image::detectTypeFromString() should return 1|2|3|6|18|19|null but returns int|null.
|
PHPStan:
src/Utils/Image.php#L698
Function imageavif not found.
|
PHPStan:
src/Utils/ObjectHelpers.php#L151
Variable $nm might not be defined.
|