Ben Ramsey on Nostr: Is there a way to disable or hide the #PHPUnit deprecations? I have 265 of them for ...
Is there a way to disable or hide the #PHPUnit deprecations? I have 265 of them for data providers that aren’t static, and I can’t easily switch to static data providers, since many of the data providers call instance methods (i.e., `$this`). So, it’s going to take me a long time to upgrade my tests so that I can upgrade to PHPUnit 10.
Published at
2023-08-23 20:37:28Event JSON
{
"id": "3e0df2cf79badf866b6a5d085e3405638ba03df9cca43e933fdb8e7140d60c36",
"pubkey": "e653eb60b2db5edf906d354c2825bf00a80dfab1b1766cd97805155e8fcc0db3",
"created_at": 1692823048,
"kind": 1,
"tags": [
[
"t",
"phpunit"
],
[
"proxy",
"https://phpc.social/users/ramsey/statuses/110940851299699694",
"activitypub"
]
],
"content": "Is there a way to disable or hide the #PHPUnit deprecations? I have 265 of them for data providers that aren’t static, and I can’t easily switch to static data providers, since many of the data providers call instance methods (i.e., `$this`). So, it’s going to take me a long time to upgrade my tests so that I can upgrade to PHPUnit 10.",
"sig": "926e0c48e9e02307e5a8747ae80ed31dff679e9dbedbe6beeab0e5828997f158f5cd1061c1c033cd44cbb542f98b60619f1e5bb9cafcc5ba5136846b5685f6d6"
}