New frontend #212
Annotations
22 errors
psalm (ubuntu-latest, 8.2, locked)
Canceling since a higher priority waiting request for 'psalm-🔍 Static analysis-137' exists
|
MixedAssignment:
src/Handler/Router/Router.php#L143
src/Handler/Router/Router.php:143:9: MixedAssignment: Unable to determine the type that $queryName is being assigned to (see https://psalm.dev/032)
|
UndefinedVariable:
src/Handler/Router/Router.php#L143
src/Handler/Router/Router.php:143:22: UndefinedVariable: Cannot find referenced variable $queryParam (see https://psalm.dev/024)
|
MixedPropertyFetch:
src/Handler/Router/Router.php#L143
src/Handler/Router/Router.php:143:22: MixedPropertyFetch: Cannot fetch property on mixed var $queryParam (see https://psalm.dev/034)
|
MixedArrayTypeCoercion:
src/Handler/Router/Router.php#L144
src/Handler/Router/Router.php:144:20: MixedArrayTypeCoercion: Coercion from array offset type 'mixed|non-empty-string' to the expected type 'array-key' (see https://psalm.dev/195)
|
MixedArrayOffset:
src/Handler/Router/Router.php#L144
src/Handler/Router/Router.php:144:20: MixedArrayOffset: Cannot access value on variable $params using mixed offset (see https://psalm.dev/031)
|
MixedArgument:
src/Handler/Router/Router.php#L147
src/Handler/Router/Router.php:147:17: MixedArgument: Argument 2 of sprintf cannot be mixed|non-empty-string, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
|
MixedAssignment:
src/Handler/Router/Router.php#L153
src/Handler/Router/Router.php:153:9: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
DocblockTypeContradiction:
src/Handler/Router/Router.php#L159
src/Handler/Router/Router.php:159:34: DocblockTypeContradiction: ReflectionNamedType|ReflectionType does not contain null (see https://psalm.dev/155)
|
MixedArgument:
src/Handler/Router/Router.php#L159
src/Handler/Router/Router.php:159:34: MixedArgument: Argument 1 of ltrim cannot be ''|mixed, expecting string (see https://psalm.dev/030)
|
PossiblyUndefinedMethod:
src/Handler/Router/Router.php#L159
src/Handler/Router/Router.php:159:39: PossiblyUndefinedMethod: Method ReflectionType::getName does not exist (see https://psalm.dev/108)
|
phpstan (ubuntu-latest, 8.2, locked)
Canceling since a higher priority waiting request for 'phpstan-🔍 Static analysis-137' exists
|
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Run.php#L1
Ignored error pattern #^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$# in path /home/runner/work/trap/trap/src/Command/Run.php was not matched in reported errors.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Test.php#L42
Unreachable statement - code above always terminates.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Test.php#L58
Method Buggregator\Trap\Command\Test::dump() is unused.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Test.php#L139
Method Buggregator\Trap\Command\Test::mail() is unused.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Command/Test.php#L295
Method Buggregator\Trap\Command\Test::sendContent() is unused.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L71
PHPDoc tag @var for variable $payload has no value type specified in iterable type array.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Call to function is_array() with array will always evaluate to true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'profile' on array{profile: array, tags: array, app_name: string, hostname: string, date: int<1, max>} on left side of ?? always exists and is not nullable.
|