Skip to content

Implement DataProviderDataRule #372

Implement DataProviderDataRule

Implement DataProviderDataRule #372

Triggered via pull request October 13, 2025 13:41
Status Failure
Total duration 34s
Artifacts

build.yml

on: pull_request
Coding Standard
19s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

151 errors
PHPStan (8.2, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.1, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (7.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.0, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.1, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.2, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.0, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.1, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
Coding Standard
Process completed with exit code 2.
PHPStan (8.3, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.2, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.2, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.2, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.2, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (7.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.1, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.3, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.
PHPStan (8.4, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L72
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L60
Parameter #3 $args of class PhpParser\Node\Expr\MethodCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<PhpParser\Node\Arg>|null given.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L49
Call to function method_exists() with PHPStan\Analyser\NodeCallbackInvoker&PHPStan\Analyser\Scope and 'invokeNodeCallback' will always evaluate to true.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L37
Although PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same.