chore: prepares for 4.x #120
Annotations
11 errors
|
Types:
src/Rules/AddMissingUse.php#L25
Method Pest\Drift\Rules\AddMissingUse::afterTraverse() never returns null so it can be removed from the return type.
|
|
Types:
src/Rules/AbstractRemoveUse.php#L28
Parameter #1 $nodes of method Pest\Drift\Rules\AbstractRemoveUse::useToRemove() expects array<int, PhpParser\Node>, array<PhpParser\Node> given.
|
|
Types:
src/Parser/PrettyPrinter/LineBreaker.php#L48
Binary operation "-" between mixed and mixed results in an error.
|
|
Types:
src/Parser/NodeFinder/NonTestMethodFinder.php#L22
Parameter #1 $nodes of method Pest\Drift\Parser\NodeFinder\ClassMethodFinderInterface::find() expects array<int, PhpParser\Node>, array<PhpParser\Node> given.
|
|
Types:
src/NodeDecorator/PhpDocTagDecorator.php#L23
Parameter #1 $comments of method Pest\Drift\Extractor\PhpDocTagExtractor::fromComments() expects array<int, PhpParser\Comment>, array<PhpParser\Comment> given.
|
|
Types:
src/NodeDecorator/DataProviderDecorator.php#L31
Parameter #1 $comments of method Pest\Drift\Extractor\PhpDocTagExtractor::fromComments() expects array<int, PhpParser\Comment>, array<PhpParser\Comment> given.
|
|
Types:
src/Converters/CodeConverterFactory.php#L37
Parameter #1 $visitor of method PhpParser\NodeTraverser::addVisitor() expects PhpParser\NodeVisitor, mixed given.
|
|
Types:
src/Converters/CodeConverterFactory.php#L36
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
|
|
Types:
src/Analyzer/ClassMethodAnalyzer.php#L100
Method Pest\Drift\Analyzer\ClassMethodAnalyzer::getValuesFromArguments() should return array<string> but returns mixed.
|
|
Types:
src/Analyzer/ClassMethodAnalyzer.php#L74
Method Pest\Drift\Analyzer\ClassMethodAnalyzer::reduceAttrGroups() should return array<array<string>> but returns array.
|
|
|
Loading