Fix fatal in test run under PHP 8
Compare changes
+ 3
− 3
@@ -37,8 +37,8 @@ class PostFilters extends WP_UnitTestCase {
@@ -128,7 +128,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