Skip to content

Implement DataProviderDataRule #376

Implement DataProviderDataRule

Implement DataProviderDataRule #376

Triggered via pull request October 13, 2025 17:56
Status Failure
Total duration 32s
Artifacts

build.yml

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

Annotations

301 errors
PHPStan (8.3, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (7.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L102
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.4, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L98
Call to an undefined method ReflectionMethod::getAttributes().
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, lowest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^12.0.9): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L98
Call to an undefined method ReflectionMethod::getAttributes().
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.2, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.0, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, lowest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^12.0.9): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, highest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, highest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.1, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.1, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.1, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
Method PHPStan\Rules\PHPUnit\DataProviderDataRule::arrayItemsToArgs() never returns null so it can be removed from the return type.
PHPStan (8.1, highest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L48
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/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.0, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^10.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^11.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L31
Creating new PHPStan\Rules\PHPUnit\DataProviderDataRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\DirectRegistry is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L30
Creating new PHPStan\Rules\CompositeRule is not covered by backward compatibility promise. The class might change in a minor PHPStan version.
PHPStan (8.4, highest, ^9.5): tests/PHPStan/Rules/CompositeRule.php#L33
Calling PHPStan\Rules\DirectRegistry::getRules() is not covered by backward compatibility promise. The method might change in a minor PHPStan version.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L49
Parameter #1 $name of method PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod::getAttributes() expects class-string|null, string given.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L22
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$parser is never read, only written.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L20
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$fileTypeMapper is never read, only written.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/TestMethodsHelper.php#L18
Property PHPStan\Rules\PHPUnit\TestMethodsHelper::$reflectionProvider is never read, only written.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderDataRule.php#L102
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#L48
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.