Skip to content

Add ability to process HTTP events and UI on the same port #165

Add ability to process HTTP events and UI on the same port

Add ability to process HTTP events and UI on the same port #165

Triggered via pull request June 16, 2024 19:54
Status Failure
Total duration 31s
Artifacts

static-analysis.yml

on: pull_request
Matrix: phpstan
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

14 errors
PropertyNotSetInConstructor: src/Command/Run.php#L35
src/Command/Run.php:35:20: PropertyNotSetInConstructor: Property Buggregator\Trap\Command\Run::$logger is not defined in constructor of Buggregator\Trap\Command\Run or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedMethodCall: src/Handler/Http/Handler/Fallback.php#L85
src/Handler/Http/Handler/Fallback.php:85:44: MixedMethodCall: Cannot determine the type of $response when calling method hasHeader (see https://psalm.dev/015)
InvalidPropertyAssignmentValue: src/Sender/Frontend/Http/Pipeline.php#L33
src/Sender/Frontend/Http/Pipeline.php:33:27: InvalidPropertyAssignmentValue: $this->pipeline with declared type 'Buggregator\Trap\Handler\Pipeline<Buggregator\Trap\Handler\Http\Middleware, Psr\Http\Message\ResponseInterface>' cannot be assigned type 'Buggregator\Trap\Handler\Pipeline<Buggregator\Trap\Sender\Frontend\Http\Cors|Buggregator\Trap\Sender\Frontend\Http\EventAssets|Buggregator\Trap\Sender\Frontend\Http\Router|Buggregator\Trap\Sender\Frontend\Http\StaticFiles, Psr\Http\Message\ResponseInterface>' (see https://psalm.dev/145)
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.
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#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.
phpstan (ubuntu-latest, 8.2, locked): src/Module/Profiler/Struct/Edge.php#L22
Method Buggregator\Trap\Module\Profiler\Struct\Edge::jsonSerialize() return type has no value type specified in iterable type array.