Just released: PHPUnit Polyfills 1.1.0, which syncs with PHPUnit 9.6.11 and polyfills the backports of the `assertObjectHasProperty()` and `assertObjectNotHasProperty()` methods.

If your project is still limited to PHPUnit < 10, this upgrade allows you to get rid of the deprecation notices about the `assertObjectHasAttribute()` and `assertObjectNotHasAttribute()` methods.

If you are already using the PHPUnit Polyfills 2.0.0, you're good and can ignore this message.

https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/1.1.0

Release 1.1.0 · Yoast/PHPUnit-Polyfills

Added Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty trait to polyfill the Assert::assertObjectHasProperty() and Assert::assertObjectNotHasProperty() methods as backported from PHPUnit 10.1...

GitHub