You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why show a deprecation warning for something I can't do anything about yet?
The warning informs you that assertObjectHasAttribute() is deprecated in PHPUnit 9. There is nothing you need to do about this until you migrate to PHPUnit 10.
The PHPUnit-Polyfills project offers a polyfill for assertObjectHasProperty() that you may use if you want to do something while you are still using PHPUnit 9.
Summary
https://docs.phpunit.de/en/9.6/assertions.html# does not have documentation for assertObjectHasProperty.
I got a deprecation warning for assertObjectHasAttribute and this was where I went to read docs about the new method.
Current behavior
How to reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: