Implement DataProviderDataRule #378
Annotations
301 errors
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L39
Result of || is always true.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.1, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
Coding Standard
Process completed with exit code 2.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.0, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.2, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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/DataProviderHelper.php#L285
Call to an undefined method ReflectionMethod::getAttributes().
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (7.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.1, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.2, highest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.1, lowest, ^10.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.0, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.1, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, lowest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, highest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.2, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderHelper.php#L285
Call to an undefined method ReflectionMethod::getAttributes().
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (7.4, highest, ^9.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.4, lowest, ^12.0.9):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, highest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L331
Cannot call method getText() on PhpParser\Comment\Doc|string.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderHelper.php#L291
Generator expects value type array{PHPStan\Reflection\ClassReflection|null, string, int}, array{PHPStan\Reflection\ClassReflection, mixed, int<1, max>|false} given.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L123
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#L99
Instanceof between PhpParser\Node\Expr\Array_ and PhpParser\Node\Expr\Array_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L69
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):
src/Rules/PHPUnit/DataProviderDataRule.php#L51
Instanceof between *NEVER* and PhpParser\Node\Expr\Yield_ will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Result of || is always true.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between PhpParser\Node\Stmt\Return_ and PhpParser\Node\Stmt\Return_ will always evaluate to true.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L39
Instanceof between *NEVER* and PhpParser\Node\Expr\YieldFrom will always evaluate to false.
|
|
PHPStan (8.3, lowest, ^11.5):
src/Rules/PHPUnit/DataProviderDataRule.php#L34
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::getNodeType() should return class-string<PhpParser\Node\Stmt\Return_> but returns string.
|