Skip to content
Snippets Groups Projects
Commit 22a7e572 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix fatal in test run under PHP 8

```
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
```
parent 066959ea
No related branches found
No related tags found
1 merge request!18Fix fatal in test run under PHP 8
Pipeline #4784 failed
......@@ -8,6 +8,8 @@
namespace View_All_Posts_Pages\Tests;
use WP_UnitTestCase;
if ( version_compare( phpversion(), '8.0.0', '<' ) ) {
/**
* Class TestCase.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment