I had to do a PHPUnit testing with setUp function given below:

```
use PHPUnit\Framework\TestCase;

class UserTest extends TestCase
{
    public function setUp()
    {
       var_dump('1');
    }
}

```

When I run this test it shows me these errors:

```
PHP Fatal error:  Declaration of UserTest::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void

```

How can I fix it?