Skip to content

chore: declare return type of pipe() methods by @template #84

chore: declare return type of pipe() methods by @template

chore: declare return type of pipe() methods by @template #84

Triggered via pull request August 21, 2025 21:31
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

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

Annotations

41 errors
PHPStan (PHP 7.4)
Process completed with exit code 1.
PHPStan (PHP 7.4): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.4): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.4): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.4): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.2)
Process completed with exit code 1.
PHPStan (PHP 8.2): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.2): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.2): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.2): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.2)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 8.4)
Process completed with exit code 1.
PHPStan (PHP 8.4): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.4): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.4): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.4): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.4)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 8.3)
The operation was canceled.
PHPStan (PHP 8.3)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 7.1)
The operation was canceled.
PHPStan (PHP 7.1)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 8)
The operation was canceled.
PHPStan (PHP 8)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 7.3)
The operation was canceled.
PHPStan (PHP 7.3): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.3): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.3): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.3): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.3)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 7.2)
The operation was canceled.
PHPStan (PHP 7.2): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.2): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.2): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.2): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 7.2)
The strategy configuration was canceled because "PHPStan._7_4" failed
PHPStan (PHP 8.1)
The operation was canceled.
PHPStan (PHP 8.1): src/ThroughStream.php#L122
Method React\Stream\ThroughStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.1): src/ReadableResourceStream.php#L106
Method React\Stream\ReadableResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.1): src/DuplexResourceStream.php#L177
Method React\Stream\DuplexResourceStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.1): src/CompositeStream.php#L56
Method React\Stream\CompositeStream::pipe() should return T of React\Stream\WritableStreamInterface but returns React\Stream\WritableStreamInterface.
PHPStan (PHP 8.1)
The strategy configuration was canceled because "PHPStan._7_4" failed