Skip to content

Updated phpunit config + fixed phpstan errors #36

Updated phpunit config + fixed phpstan errors

Updated phpunit config + fixed phpstan errors #36

Triggered via push November 22, 2023 10:29
Status Failure
Total duration 26s
Artifacts

phpstan-8.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#L28
Method Kiboko\Component\Flow\Csv\FingersCrossed\Extractor::extract() return type has no value type specified in iterable type array.
phpstan: src/FingersCrossed/Extractor.php#L28
Method Kiboko\Component\Flow\Csv\FingersCrossed\Extractor::extract() return type has no value type specified in iterable type array.
phpstan: src/FingersCrossed/Extractor.php#L44
Parameter #1 $value of function count expects array|Countable, array|false given.
phpstan: src/FingersCrossed/Extractor.php#L55
Parameter #1 $array of function array_slice expects array, array<int, string|null>|null given.
phpstan: src/FingersCrossed/Extractor.php#L57
Parameter #1 $array of function array_pad expects array, array<int, string|null>|null given.
phpstan: src/FingersCrossed/Extractor.php#L60
Parameter #1 $keys of function array_combine expects array<int|string>, array|false|null given.
phpstan: src/FingersCrossed/Extractor.php#L60
Parameter #2 $values of function array_combine expects array, array|null given.
phpstan: src/FingersCrossed/Extractor.php#L78
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