Improve type definitions and update to PHPStan level max
#22
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.
|