Skip to content

Refactor Application, add UI default preset #47

Refactor Application, add UI default preset

Refactor Application, add UI default preset #47

Triggered via push December 9, 2023 22:22
Status Success
Total duration 22s
Artifacts

psalm.yml

on: push
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
ArgumentTypeCoercion: src/Application.php#L185
src/Application.php:185:58: ArgumentTypeCoercion: Argument 1 of Buggregator\Trap\Config\SocketServer::__construct expects int<1, 65535>, but parent type int provided (see https://psalm.dev/193)
MixedAssignment: src/Sender/Websocket/Http/RequestHandler.php#L37
src/Sender/Websocket/Http/RequestHandler.php:37:9: MixedAssignment: Unable to determine the type that $time is being assigned to (see https://psalm.dev/032)
InternalClass: src/Sender/Websocket/Http/RequestHandler.php#L55
src/Sender/Websocket/Http/RequestHandler.php:55:9: InternalClass: Buggregator\Trap\Handler\Http\Emitter is internal to Buggregator\Trap\Handler\Http but called from Buggregator\Trap\Sender\Websocket\Http\RequestHandler (see https://psalm.dev/174)
InternalMethod: src/Sender/Websocket/Http/RequestHandler.php#L55
src/Sender/Websocket/Http/RequestHandler.php:55:9: InternalMethod: The method Buggregator\Trap\Handler\Http\Emitter::emit is internal to Buggregator\Trap\Handler\Http but called from Buggregator\Trap\Sender\Websocket\Http\RequestHandler::handle (see https://psalm.dev/175)
RedundantPropertyInitializationCheck: src/Socket/Client.php#L43
src/Socket/Client.php:43:13: RedundantPropertyInitializationCheck: Property $this->onClose with type Closure should already be set in the constructor (see https://psalm.dev/261)
RedundantPropertyInitializationCheck: src/Socket/Client.php#L49
src/Socket/Client.php:49:9: RedundantPropertyInitializationCheck: Property $this->onClose with type Closure should already be set in the constructor (see https://psalm.dev/261)
PossiblyUndefinedVariable: src/Socket/Server.php#L89
src/Socket/Server.php:89:47: PossiblyUndefinedVariable: Possibly undefined variable $key defined in try block (see https://psalm.dev/018)
PossiblyUndefinedVariable: src/Socket/Server.php#L89
src/Socket/Server.php:89:68: PossiblyUndefinedVariable: Possibly undefined variable $key defined in try block (see https://psalm.dev/018)
Psalm Validation (PHP 8.2, OS ubuntu-latest)
Process completed with exit code 2.
Psalm Validation (PHP 8.2, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/