Skip to content

chore: prepares for 4.x #119

chore: prepares for 4.x

chore: prepares for 4.x #119

Triggered via push August 20, 2025 12:54
Status Failure
Total duration 27s
Artifacts

static.yml

on: push
Matrix: Static Tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Static Tests (prefer-stable): src/Rules/AddMissingUse.php#L25
Method Pest\Drift\Rules\AddMissingUse::afterTraverse() never returns null so it can be removed from the return type.
Static Tests (prefer-stable): src/Rules/AbstractRemoveUse.php#L28
Parameter #1 $nodes of method Pest\Drift\Rules\AbstractRemoveUse::useToRemove() expects array<int, PhpParser\Node>, array<PhpParser\Node> given.
Static Tests (prefer-stable): src/Parser/PrettyPrinter/LineBreaker.php#L48
Binary operation "-" between mixed and mixed results in an error.
Static Tests (prefer-stable): 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.
Static Tests (prefer-stable): src/NodeDecorator/PhpDocTagDecorator.php#L23
Parameter #1 $comments of method Pest\Drift\Extractor\PhpDocTagExtractor::fromComments() expects array<int, PhpParser\Comment>, array<PhpParser\Comment> given.
Static Tests (prefer-stable): src/NodeDecorator/DataProviderDecorator.php#L31
Parameter #1 $comments of method Pest\Drift\Extractor\PhpDocTagExtractor::fromComments() expects array<int, PhpParser\Comment>, array<PhpParser\Comment> given.
Static Tests (prefer-stable): src/Converters/CodeConverterFactory.php#L37
Parameter #1 $visitor of method PhpParser\NodeTraverser::addVisitor() expects PhpParser\NodeVisitor, mixed given.
Static Tests (prefer-stable): src/Converters/CodeConverterFactory.php#L36
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
Static Tests (prefer-stable): src/Analyzer/ClassMethodAnalyzer.php#L100
Method Pest\Drift\Analyzer\ClassMethodAnalyzer::getValuesFromArguments() should return array<string> but returns mixed.
Static Tests (prefer-stable): src/Analyzer/ClassMethodAnalyzer.php#L74
Method Pest\Drift\Analyzer\ClassMethodAnalyzer::reduceAttrGroups() should return array<array<string>> but returns array.
Static Tests (prefer-lowest)
The operation was canceled.
Static Tests (prefer-lowest)
The strategy configuration was canceled because "static.prefer-stable" failed