Add Priority handling for HTTP/3 #334
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#L40
src/Driver/Http3Driver.php:40: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#L45
src/Driver/Http3Driver.php:45: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#L63
src/Driver/Http3Driver.php:63: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#L152
src/Driver/Http3Driver.php:152: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#L158
src/Driver/Http3Driver.php:158: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#L305
src/Driver/Http3Driver.php:305:68: UndefinedVariable: Cannot find referenced variable $bodySizeLimit (see https://psalm.dev/024)
|
Run static analysis:
src/Driver/Http3Driver.php#L312
src/Driver/Http3Driver.php:312:41: TypeDoesNotContainType: Type null for $dataSuspension is always !null (see https://psalm.dev/056)
|
Run static analysis:
src/Driver/Http3Driver.php#L448
src/Driver/Http3Driver.php:448:52: PossiblyUndefinedMethod: Method Amp\Socket\Socket::getStream does not exist (see https://psalm.dev/108)
|
Run static analysis:
src/Driver/Http3Driver.php#L469
src/Driver/Http3Driver.php:469:21: MissingReturnType: Method Amp\Http\Server\Driver\Http3Driver::updatePriority does not have a return type, expecting void (see https://psalm.dev/050)
|
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