Skip to content

Improve type definitions and update to PHPStan level max #22

Improve type definitions and update to PHPStan level max

Improve type definitions and update to PHPStan level max #22

Triggered via push May 22, 2024 10:11
Status Failure
Total duration 1m 59s
Artifacts

ci.yml

on: push
PHPUnit (macOS)
1m 37s
PHPUnit (macOS)
Matrix: PHPStan
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

24 errors
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L33
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L33
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L53
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L53
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L78
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L78
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L104
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L104
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L128
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.1): tests/CompositeStreamTest.php#L128
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.4)
The job was canceled because "_7_1" failed.
PHPStan (PHP 8)
The job was canceled because "_7_1" failed.
PHPStan (PHP 7.2)
The job was canceled because "_7_1" failed.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L33
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L33
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L53
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L53
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L78
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L78
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L104
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L104
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L128
Parameter #1 $readable of class React\Stream\CompositeStream constructor expects React\Stream\ReadableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.2): tests/CompositeStreamTest.php#L128
Parameter #2 $writable of class React\Stream\CompositeStream constructor expects React\Stream\WritableStreamInterface, PHPUnit\Framework\MockObject\MockObject given.
PHPStan (PHP 7.3)
The job was canceled because "_7_1" failed.