Skip to content

DateTimeFormat: support quick access properties #491

DateTimeFormat: support quick access properties

DateTimeFormat: support quick access properties #491

Triggered via pull request September 13, 2023 06:57
Status Success
Total duration 24s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/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#L325
Match arm is unreachable because previous comparison is always true.
PHPStan: src/Utils/Image.php#L698
Function imageavif not found.
PHPStan: src/Utils/ObjectHelpers.php#L151
Variable $nm might not be defined.
PHPStan: src/Utils/ObjectHelpers.php#L151
Variable $rm might not be defined.