Skip to content

Code: fixes types for psr/http-message 2.0 #1

Code: fixes types for psr/http-message 2.0

Code: fixes types for psr/http-message 2.0 #1

Triggered via push December 10, 2025 13:07
Status Failure
Total duration 33s
Artifacts

ci.yml

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

Annotations

41 errors
PHPUnit (PHP 7.3)
Process completed with exit code 2.
PHPUnit (PHP 7.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.2.0 but your php version (7.3.33) does not satisfy that requirement. Problem 2 - Root composer.json requires phpstan/phpstan ^2.1 -> satisfiable by phpstan/phpstan[2.1.0, ..., 2.1.33]. - phpstan/phpstan[2.1.0, ..., 2.1.33] require php ^7.4|^8.0 -> your php version (7.3.33) does not satisfy that requirement.
PHPUnit (PHP 7.1)
Process completed with exit code 2.
PHPUnit (PHP 7.1)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.2.0 but your php version (7.1.33) does not satisfy that requirement. Problem 2 - Root composer.json requires phpstan/phpstan ^2.1 -> satisfiable by phpstan/phpstan[2.1.0, ..., 2.1.33]. - phpstan/phpstan[2.1.0, ..., 2.1.33] require php ^7.4|^8.0 -> your php version (7.1.33) does not satisfy that requirement.
PHPUnit (PHP 8.1)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 8.1)
Process completed with exit code 2.
PHPUnit (PHP 8.1)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.2.0 but your php version (8.1.33) does not satisfy that requirement.
PHPUnit (PHP 8.2)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 8.2)
The operation was canceled.
PHPUnit (PHP 8.4)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 8.4)
The operation was canceled.
PHPUnit (PHP 5.6)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 5.4)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 5.6)
The operation was canceled.
PHPUnit (PHP 5.4)
The operation was canceled.
PHPUnit (PHP 7.2)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 7.2)
The operation was canceled.
PHPUnit (PHP 7.4)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 7.4)
The operation was canceled.
PHPUnit (PHP 5.5)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 5.5)
The operation was canceled.
PHPUnit (PHP 8)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 8)
The operation was canceled.
PHPUnit (PHP 8)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.2.0 but your php version (8.0.30) does not satisfy that requirement.
PHPUnit (PHP 8.3)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 8.3)
The operation was canceled.
PHPUnit (PHP 5.3)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 5.3)
The operation was canceled.
PHPStan: src/Io/StreamingServer.php#L350
Variable $m in PHPDoc tag `@var` does not exist.
PHPStan: src/Io/StreamingServer.php#L322
Call to an undefined method Psr\Http\Message\StreamInterface::on().
PHPStan: src/Io/Sender.php#L113
Anonymous function has an unused use $request.
PHPStan: src/Io/Sender.php#L50
PHPDoc tag `@param` for parameter $connector with type React\Socket\ConnectorInterface|null is not subtype of native type React\Socket\ConnectorInterface.
PHPStan: src/Io/PauseBufferStream.php#L111
Result of method React\Http\Io\PauseBufferStream::close() (void) is used.
PHPStan: src/Io/PauseBufferStream.php#L106
Result of method React\Http\Io\PauseBufferStream::close() (void) is used.
PHPStan: src/Io/PauseBufferStream.php#L100
Result of method React\Http\Io\PauseBufferStream::close() (void) is used.
PHPStan: src/Io/ClientRequestStream.php#L73
Variable $m in PHPDoc tag `@var` does not exist.
PHPStan: src/Io/AbstractRequest.php#L32
PHPDoc tag `@param` has invalid value (string unknown $protocolVersion): Unexpected token "unknown", expected variable at offset 182 on line 6
PHPStan: src/HttpServer.php#L207
PHPDoc tag `@param` references unknown parameter: $requestHandler
PHPUnit (PHP 7)
The strategy configuration was canceled because "PHPUnit._7_1" failed
PHPUnit (PHP 7)
The operation was canceled.
PHPUnit (HHVM)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=8.2.0 but your HHVM version does not satisfy that requirement. Problem 2 - Root composer.json requires phpstan/phpstan ^2.1 -> satisfiable by phpstan/phpstan[2.1.0, ..., 2.1.33]. - phpstan/phpstan[2.1.0, ..., 2.1.33] require php ^7.4|^8.0 -> your HHVM version does not satisfy that requirement.