When we extend using WorDBless as the base test class, we run into issues where we can't use SetupBeforeClass in a situation where we need cross-compat between various versions of PHP.
Yoast provides a polyfill, but I don't believe we use both at the same time. Would this be something WorDBless could/should do?
When we extend using WorDBless as the base test class, we run into issues where we can't use
SetupBeforeClass
in a situation where we need cross-compat between various versions of PHP.Yoast provides a polyfill, but I don't believe we use both at the same time. Would this be something WorDBless could/should do?
e.g. https://github.com/Yoast/PHPUnit-Polyfills#testcases