Skip to content

implements conditionExpression instead of expression #128

implements conditionExpression instead of expression

implements conditionExpression instead of expression #128

Triggered via pull request March 18, 2025 13:26
Status Failure
Total duration 1m 0s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Language/CaseGroup.php#L22
Parameter $else of method Tpetry\QueryExpressions\Language\CaseGroup::__construct() has invalid type Tpetry\QueryExpressions\Language\Expression.
phpstan: src/Language/CaseGroup.php#L22
Property Tpetry\QueryExpressions\Language\CaseGroup::$else has unknown class Tpetry\QueryExpressions\Language\Expression as its type.
phpstan: src/Language/CaseGroup.php#L35
Parameter #2 $expression of method Tpetry\QueryExpressions\Language\CaseGroup::stringize() expects Illuminate\Contracts\Database\Query\Expression|string, string|Tpetry\QueryExpressions\Language\Expression given.
phpstan: src/Language/Cast.php#L48
Match arm comparison between 'double' and 'double' is always true.
phpstan: src/Language/Cast.php#L49
No error with identifier match.unreachable is reported on line 49.
phpstan: src/Language/Cast.php#L59
Match arm comparison between 'int' and 'int' is always true.
phpstan: src/Language/Cast.php#L60
No error with identifier match.unreachable is reported on line 60.
phpstan: src/Language/Cast.php#L68
Match arm comparison between 'double' and 'double' is always true.
phpstan: src/Language/Cast.php#L69
No error with identifier match.unreachable is reported on line 69.
phpstan: src/Language/Cast.php#L79
Match arm comparison between 'int' and 'int' is always true.