-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Yoast PHPUnit Polyfill #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This seems very simple.
Thanks! Let's give it a spin. I'll work up doc changes and push separately. |
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls.
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls.
The downside with this is if you were adding the unneeded |
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
This is never necessary, but doesn't break with normal PHPUnit. With Automattic/wordbless#61, however, now that parent `setUp()` itself calls `set_up()`, leading to infinite loops and stack exhaustion. To fix this, we remove the bogus parent calls. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/4115811065
It's more that if you were declaring your own |
Fixes #52
Closes Automattic/jetpack#28784
Adds Yoast's polyfill and switches to that base class.
With this, we can remove the phpunit from composer's require-dev and need to determine the version bump needed.
I added this branch as a dependent of the Blaze package in the Jetpack monorepo with an example of the use case for this, as can be seen at Automattic/jetpack#28784