Add Priority handling for HTTP/3 #334
Annotations
14 errors and 7 warnings
PossiblyNullReference:
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)
|
PropertyNotSetInConstructor:
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)
|
PropertyNotSetInConstructor:
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)
|
PropertyTypeCoercion:
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)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
UndefinedVariable:
src/Driver/Http3Driver.php#L305
src/Driver/Http3Driver.php:305:68: UndefinedVariable: Cannot find referenced variable $bodySizeLimit (see https://psalm.dev/024)
|
TypeDoesNotContainType:
src/Driver/Http3Driver.php#L312
src/Driver/Http3Driver.php:312:41: TypeDoesNotContainType: Type null for $dataSuspension is always !null (see https://psalm.dev/056)
|
PossiblyUndefinedMethod:
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)
|
MissingReturnType:
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)
|
PHP 8.2 on Windows
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires amphp/quic dev-master -> satisfiable by amphp/quic[dev-master].
- amphp/quic dev-master requires ext-ffi * -> it is missing from your system. Install or enable PHP's ffi extension.
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-ffi` to temporarily ignore these required extensions.
|
PHP 8.2 on Windows
Process completed with exit code 1.
|
PHP 8.2 on macOS
The operation was canceled.
|
PHP 8.1
The operation was canceled.
|
PHP 8.2
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/
|
PHP 8.2
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/
|
PHP 8.2 on Windows
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/
|
PHP 8.2 on Windows
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/
|
PHP 8.2 on macOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.1
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/
|
PHP 8.1
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/
|