#PHPUnit 9 says to stop using assertObjectHasAttribute() in favor of assertObjectHasProperty(). But the latter doesn't exist in PHPUnit 9, only in PHPUnit 10.
Am I missing something obvious? Because that's not how deprecation warnings are supposed to work... #PHP
@stof I can't change how this got to be as it is, but yes, with the PHPUnit Polyfills, the method is polyfilled, so it will be available in all supported PHPUnit versions and you can switch over without having to exclude select PHPUnit versions.
@joachim@Crell this and another dep warning being "not how you deprecate things" i had hit really fast, as in the night of release, and absolutely nobody appreciated pointing it out.
Add comment