Closed phansys closed 2 weeks ago
Assertions that operate on class/object properties were removed in PHPUnit 10.
https://github.com/rectorphp/rector-phpunit/blob/e23a9b57b934e2ecc1c0ef37dab3a980ec11d4d3/rules/CodeQuality/Rector/MethodCall/AssertIssetToSpecificMethodRector.php#L108
Indeed, thanks for reporting. We'll should move this rule into version-based itself. The method names in PHPUnit are changing too often :)
Assertions that operate on class/object properties were removed in PHPUnit 10.
https://github.com/rectorphp/rector-phpunit/blob/e23a9b57b934e2ecc1c0ef37dab3a980ec11d4d3/rules/CodeQuality/Rector/MethodCall/AssertIssetToSpecificMethodRector.php#L108