Skip to content

[WIP][3.x] Introduce PHPStan #130

[WIP][3.x] Introduce PHPStan

[WIP][3.x] Introduce PHPStan #130

Triggered via pull request February 12, 2024 19:55
Status Failure
Total duration 3m 57s
Artifacts

ci.yml

on: pull_request
PHPUnit (HHVM)
41s
PHPUnit (HHVM)
Matrix: PHPStan
Matrix: PHPUnit-Unstable
Matrix: PHPUnit-Windows
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

79 errors
PHPStan (PHP 8): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 8): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 8): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 8): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 8)
Process completed with exit code 1.
PHPStan (PHP 8.1): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 8.1): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 8.1): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 8.1): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 8.1)
Process completed with exit code 1.
PHPStan (PHP 7.2)
The job was canceled because "_8_1" failed.
PHPStan (PHP 7.2): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 7.2): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 7.2): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 7.2): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 7.2): tests/LoopTest.php#L35
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.2): tests/LoopTest.php#L61
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.2): tests/LoopTest.php#L86
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.2): tests/LoopTest.php#L110
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.2): tests/LoopTest.php#L136
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.2): tests/LoopTest.php#L166
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.3)
The job was canceled because "_8_1" failed.
PHPStan (PHP 7.3): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 7.3): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 7.3): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 7.3): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 7.3)
Process completed with exit code 1.
PHPStan (PHP 7.1)
The job was canceled because "_8_1" failed.
PHPStan (PHP 7.1): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 7.1): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 7.1): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 7.1): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 7.1): tests/LoopTest.php#L35
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.1): tests/LoopTest.php#L61
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.1): tests/LoopTest.php#L86
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.1): tests/LoopTest.php#L110
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.1): tests/LoopTest.php#L136
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPStan (PHP 7.1): tests/LoopTest.php#L166
Parameter #1 $loop of static method React\EventLoop\Loop::set() expects React\EventLoop\LoopInterface, PHPUnit_Framework_MockObject_MockObject given.
PHPUnit (PHP 5.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - phpstan/phpstan[1.0.0, ..., 1.4.10] require php ^7.1|^8.0 -> your php version (5.3.29) does not satisfy that requirement. - phpstan/phpstan[1.5.0, ..., 1.10.57] require php ^7.2|^8.0 -> your php version (5.3.29) does not satisfy that requirement. - Root composer.json requires phpstan/phpstan ^1 -> satisfiable by phpstan/phpstan[1.0.0, ..., 1.10.57].
PHPUnit (PHP 5.3)
Process completed with exit code 2.
PHPUnit (PHP 8.3)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 5.6)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 5.6)
The operation was canceled.
PHPStan (PHP 8.3)
The job was canceled because "_8_1" failed.
PHPStan (PHP 8.3)
The operation was canceled.
PHPUnit (PHP 8)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 8)
The operation was canceled.
PHPStan (PHP 8.2)
The job was canceled because "_8_1" failed.
PHPStan (PHP 8.2): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 8.2): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 8.2): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 8.2): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 8.2)
The operation was canceled.
PHPStan (PHP 7.4)
The job was canceled because "_8_1" failed.
PHPStan (PHP 7.4): src/ExtUvLoop.php#L188
Function uv_signal_init not found.
PHPStan (PHP 7.4): src/ExtUvLoop.php#L189
Function uv_signal_start not found.
PHPStan (PHP 7.4): src/ExtUvLoop.php#L259
Function uv_poll_init_socket not found.
PHPStan (PHP 7.4): src/StreamSelectLoop.php#L175
Strict comparison using === between int<min, -1>|int<1, max> and 0 will always evaluate to false.
PHPStan (PHP 7.4)
The operation was canceled.
PHPUnit (PHP 7.2)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 7.2)
The operation was canceled.
PHPUnit (PHP 7)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 7)
The operation was canceled.
PHPUnit (PHP 5.5)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 7.1)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 5.5)
The operation was canceled.
PHPUnit (PHP 7.1)
The operation was canceled.
PHPUnit (PHP 7.3)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 7.3)
The operation was canceled.
PHPUnit (PHP 7.4)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 7.4)
The operation was canceled.
PHPUnit (PHP 5.4)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 5.4)
The operation was canceled.
PHPUnit (PHP 8.1)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 8.1)
The operation was canceled.
PHPUnit (PHP 8.2)
The job was canceled because "_5_3" failed.
PHPUnit (PHP 8.2)
The operation was canceled.
PHPUnit (Unstable PHP 7)
Your requirements could not be resolved to an installable set of packages. Problem 1 - phpstan/phpstan[1.0.0, ..., 1.4.10] require php ^7.1|^8.0 -> your php version (7.0.33) does not satisfy that requirement. - phpstan/phpstan[1.5.0, ..., 1.10.57] require php ^7.2|^8.0 -> your php version (7.0.33) does not satisfy that requirement. - Root composer.json requires phpstan/phpstan ^1 -> satisfiable by phpstan/phpstan[1.0.0, ..., 1.10.57].
PHPUnit (Unstable PHP 7)
Process completed with exit code 2.