Fixing PHPStan level 9 issues #81
Annotations
10 errors
phpstan:
src/Extractor/ArrayExtractor.php#L14
Type mixed in generic type Kiboko\Contract\Pipeline\ExtractorInterface<mixed> in PHPDoc tag @implements is not subtype of template type OutputType of array|object of interface Kiboko\Contract\Pipeline\ExtractorInterface.
|
phpstan:
src/Extractor/IteratorExtractor.php#L14
Type mixed in generic type Kiboko\Contract\Pipeline\ExtractorInterface<mixed> in PHPDoc tag @implements is not subtype of template type OutputType of array|object of interface Kiboko\Contract\Pipeline\ExtractorInterface.
|
phpstan:
src/GeneratorWrapper.php#L46
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @param for parameter $generators is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
|
phpstan:
src/Loader/LogLoader.php#L19
Type mixed in generic type Kiboko\Contract\Pipeline\LoaderInterface<mixed, mixed> in PHPDoc tag @implements is not subtype of template type InputType of array|object of interface Kiboko\Contract\Pipeline\LoaderInterface.
|
phpstan:
src/Loader/LogLoader.php#L19
Type mixed in generic type Kiboko\Contract\Pipeline\LoaderInterface<mixed, mixed> in PHPDoc tag @implements is not subtype of template type OutputType of array|object of interface Kiboko\Contract\Pipeline\LoaderInterface.
|
phpstan:
src/Loader/LogLoader.php#L24
Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
|
phpstan:
src/Loader/LogLoader.php#L27
Type mixed in generic type Kiboko\Component\Bucket\EmptyResultBucket<mixed> in PHPDoc tag @var for variable $bucket is not subtype of template type Type of array|object of class Kiboko\Component\Bucket\EmptyResultBucket.
|
phpstan:
src/Loader/LogLoader.php#L33
Type mixed in generic type Kiboko\Component\Bucket\EmptyResultBucket<mixed> in PHPDoc tag @var for variable $bucket is not subtype of template type Type of array|object of class Kiboko\Component\Bucket\EmptyResultBucket.
|
phpstan:
src/Loader/LogLoader.php#L40
Type mixed in generic type Kiboko\Component\Bucket\AcceptanceResultBucket<mixed> in PHPDoc tag @var for variable $bucket is not subtype of template type Type of array|object of class Kiboko\Component\Bucket\AcceptanceResultBucket.
|
phpstan:
src/Loader/StreamLoader.php#L17
Type mixed in generic type Kiboko\Contract\Pipeline\LoaderInterface<mixed, mixed> in PHPDoc tag @implements is not subtype of template type InputType of array|object of interface Kiboko\Contract\Pipeline\LoaderInterface.
|