✨ Add do notation #87
ci.yaml
on: pull_request
Matrix: Check and fix coding styles using PHP CS Fixer
Matrix: Execute PHPStan analysis
Matrix: Launch PHPUnit test suite
Annotations
12 errors
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L79
Method Flow\Flow\Flow::do() has parameter $config with no value type specified in iterable type array.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L79
Parameter $callable of method Flow\Flow\Flow::do() has invalid type Flow\Generator.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L79
Parameter $callable of method Flow\Flow\Flow::do() has invalid type Flow\Option.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L85
Call to method valid() on an unknown class Flow\Generator.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L86
Call to method current() on an unknown class Flow\Generator.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L88
Call to method send() on an unknown class Flow\Generator.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L93
Call to method getReturn() on an unknown class Flow\Generator.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L101
Parameter #1 $flow of static method Flow\Flow\Flow<T1,T2>::flowUnwrap() expects array|Closure|Flow\FlowInterface, Flow\Generator<int, Flow\Option<TS>, TS, TO> given.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L176
Method Flow\Flow\Flow::flowUnwrap() has parameter $config with no value type specified in iterable type array.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L176
Method Flow\Flow\Flow::flowUnwrap() has parameter $flow with generic interface Flow\FlowInterface but does not specify its types: T1
|
Launch PHPUnit test suite (8.2)
Process completed with exit code 1.
|
Check and fix coding styles using PHP CS Fixer (8.2)
Process completed with exit code 8.
|