Skip to content

chore: Version 1.1.6 #2

chore: Version 1.1.6

chore: Version 1.1.6 #2

Triggered via push April 28, 2024 20:27
Status Failure
Total duration 41s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/services/Similar.php#L82
Else branch is unreachable because ternary operator condition is always true.
PHPStan: src/services/Similar.php#L87
Negated boolean expression is always false.
PHPStan: src/services/Similar.php#L92
Property nystudio107\similar\services\Similar::$preOrder (string) does not accept array|null.
PHPStan: src/services/Similar.php#L159
Ternary operator condition is always true.
PHPStan: src/services/Similar.php#L171
Access to an undefined property craft\base\ElementInterface::$id.
PHPStan: src/services/Similar.php#L171
Access to an undefined property craft\base\ElementInterface::$siteId.
PHPStan: src/services/Similar.php#L174
Access to an undefined property craft\base\ElementInterface::$count.
PHPStan: src/services/Similar.php#L180
Access to an undefined property craft\base\ElementInterface::$count.
PHPStan: src/services/Similar.php#L180
Access to an undefined property craft\base\ElementInterface::$count.
PHPStan: src/services/Similar.php#L199
Call to function is_array() with string will always evaluate to false.