chore(frontend): separate Profiler module inside the Frontend module #197
Annotations
20 errors
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/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.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Offset 'tags' 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.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L73
Result of && is always true.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L91
Offset 'tags' 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.
|
phpstan (ubuntu-latest, 8.2, locked):
src/Handler/Http/Middleware/XHProfTrap.php#L92
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.
|
MixedArgumentTypeCoercion:
src/Handler/Router/Router.php#L181
src/Handler/Router/Router.php:181:25: MixedArgumentTypeCoercion: Argument 3 of Buggregator\Trap\Handler\Router\Router::resolveArguments expects array<non-empty-string, mixed>, but parent type array<array-key, mixed|string> provided (see https://psalm.dev/194)
|
MixedAssignment:
src/Handler/Router/Router.php#L281
src/Handler/Router/Router.php:281:21: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
|
MixedAssignment:
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:9: MixedAssignment: Unable to determine the type that $queryName is being assigned to (see https://psalm.dev/032)
|
UndefinedVariable:
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:22: UndefinedVariable: Cannot find referenced variable $queryParam (see https://psalm.dev/024)
|
MixedPropertyFetch:
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:22: MixedPropertyFetch: Cannot fetch property on mixed var $queryParam (see https://psalm.dev/034)
|
MixedArrayTypeCoercion:
src/Handler/Router/Router.php#L305
src/Handler/Router/Router.php:305: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#L305
src/Handler/Router/Router.php:305:20: MixedArrayOffset: Cannot access value on variable $params using mixed offset (see https://psalm.dev/031)
|
MixedArgument:
src/Handler/Router/Router.php#L308
src/Handler/Router/Router.php:308: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#L314
src/Handler/Router/Router.php:314:9: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
DocblockTypeContradiction:
src/Handler/Router/Router.php#L320
src/Handler/Router/Router.php:320:34: DocblockTypeContradiction: ReflectionNamedType|ReflectionType does not contain null (see https://psalm.dev/155)
|