Skip to content

Updated code to be compatible with php-etl/pipeline-contracts:0.5 #34

Updated code to be compatible with php-etl/pipeline-contracts:0.5

Updated code to be compatible with php-etl/pipeline-contracts:0.5 #34

Triggered via push November 21, 2023 16:17
Status Failure
Total duration 30s
Artifacts

phpstan-7.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/FingersCrossed/Extractor.php#L18
Method Kiboko\Component\Flow\Csv\FingersCrossed\Extractor::__construct() has parameter $columns with no value type specified in iterable type array.
phpstan: src/FingersCrossed/Extractor.php#L29
Method Kiboko\Component\Flow\Csv\FingersCrossed\Extractor::extract() return type has no value type specified in iterable type array.
phpstan: src/FingersCrossed/Extractor.php#L29
Method Kiboko\Component\Flow\Csv\FingersCrossed\Extractor::extract() return type has no value type specified in iterable type array.
phpstan: src/FingersCrossed/Extractor.php#L45
Parameter #1 $value of function count expects array|Countable, array|false given.
phpstan: src/FingersCrossed/Extractor.php#L61
Parameter #1 $keys of function array_combine expects array<int|string>, array|false|null given.
phpstan: src/FingersCrossed/Extractor.php#L79
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan: src/FingersCrossed/Loader.php#L13
Class Kiboko\Component\Flow\Csv\FingersCrossed\Loader implements generic interface Kiboko\Contract\Pipeline\LoaderInterface but does not specify its types: InputType, OutputType
phpstan: src/FingersCrossed/Loader.php#L15
Method Kiboko\Component\Flow\Csv\FingersCrossed\Loader::__construct() has parameter $columns with no value type specified in iterable type array.
phpstan: src/Safe/Extractor.php#L19
Method Kiboko\Component\Flow\Csv\Safe\Extractor::__construct() has parameter $columns with no value type specified in iterable type array.
phpstan: src/Safe/Extractor.php#L30
Method Kiboko\Component\Flow\Csv\Safe\Extractor::extract() return type with generic interface Kiboko\Contract\Bucket\ResultBucketInterface does not specify its types: Type