Fix fatal in test run under PHP 8
Compare changes
+ 5
− 4
@@ -36,10 +36,11 @@ class PostFilters extends WP_UnitTestCase {
@@ -128,7 +129,7 @@ class PostFilters extends WP_UnitTestCase {
Fatal error: Declaration of PostFilters::setUp() must be compatible with Yoast\PHPUnitPolyfills\TestCases\TestCase::setUp(): void in /builds/wp-plugins/view-all-posts-pages/tests/test-post-filters.php on line 40