First sort-of-ish working PoC of simple http3 requests #331
Annotations
10 errors and 2 warnings
Run static analysis:
examples/hello-world.php#L46
examples/hello-world.php:46:91: PossiblyNullReference: Cannot call method withApplicationLayerProtocols on possibly null value (see https://psalm.dev/083)
|
Run static analysis:
src/Driver/Http3Driver.php#L38
src/Driver/Http3Driver.php:38:20: PropertyNotSetInConstructor: Property Amp\Http\Server\Driver\Http3Driver::$client is not defined in constructor of Amp\Http\Server\Driver\Http3Driver or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
Run static analysis:
src/Driver/Http3Driver.php#L39
src/Driver/Http3Driver.php:39:28: PropertyNotSetInConstructor: Property Amp\Http\Server\Driver\Http3Driver::$connection is not defined in constructor of Amp\Http\Server\Driver\Http3Driver or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
Run static analysis:
src/Driver/Http3Driver.php#L44
src/Driver/Http3Driver.php:44:25: PropertyNotSetInConstructor: Property Amp\Http\Server\Driver\Http3Driver::$writer is not defined in constructor of Amp\Http\Server\Driver\Http3Driver or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
Run static analysis:
src/Driver/Http3Driver.php#L62
src/Driver/Http3Driver.php:62:33: PropertyTypeCoercion: $this->requestStreams expects 'WeakMap<Amp\Http\Server\Request, Amp\Quic\QuicSocket>', parent type 'WeakMap<object, mixed>' provided (see https://psalm.dev/198)
|
Run static analysis:
src/Driver/Http3Driver.php#L146
src/Driver/Http3Driver.php:146:29: PossiblyInvalidPropertyAssignmentValue: $this->connection with declared type 'Amp\Quic\QuicConnection' cannot be assigned possibly different type 'Amp\Quic\QuicConnection|Amp\Socket\Socket' (see https://psalm.dev/147)
|
Run static analysis:
src/Driver/Http3Driver.php#L147
src/Driver/Http3Driver.php:147:41: PossiblyInvalidArgument: Argument 1 of Amp\Http\Server\Driver\Internal\Http3\Http3Writer::__construct expects Amp\Quic\QuicConnection, but possibly different type Amp\Quic\QuicConnection|Amp\Socket\Socket provided (see https://psalm.dev/092)
|
Run static analysis:
src/Driver/Http3Driver.php#L149
src/Driver/Http3Driver.php:149:35: PossiblyInvalidArgument: Argument 1 of Amp\Http\Server\Driver\Internal\Http3\Http3Parser::__construct expects Amp\Quic\QuicConnection, but possibly different type Amp\Quic\QuicConnection|Amp\Socket\Socket provided (see https://psalm.dev/092)
|
Run static analysis:
src/Driver/Http3Driver.php#L240
src/Driver/Http3Driver.php:240:60: UndefinedVariable: Cannot find referenced variable $bodySizeLimit (see https://psalm.dev/024)
|
Run static analysis:
src/Driver/Http3Driver.php#L247
src/Driver/Http3Driver.php:247:33: TypeDoesNotContainType: Type null for $dataSuspension is always !null (see https://psalm.dev/056)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Get Composer cache directory
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/
|
The logs for this run have expired and are no longer available.
Loading