Psalm warning. Investigate getting PHPunit plugin for Psalm.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Build and test / requirements (push) Failing after 1m41s

This commit is contained in:
Jens True 2024-02-07 11:05:54 +00:00
parent 6ce774236e
commit 085006b073

@ -13,15 +13,15 @@ use PHPUnit\Framework\MockObject\MockObject;
final class NtfyTest extends TestCase final class NtfyTest extends TestCase
{ {
/**
* @psalm-suppress PropertyNotSetInConstructor
*/
private Ntfy $instance; private Ntfy $instance;
/**
* @psalm-suppress PropertyNotSetInConstructor
*/
private MockObject $client; private MockObject $client;
public function __construct($name)
{
parent::__construct($name);
$this->setUp();
}
protected function setUp(): void protected function setUp(): void
{ {
$this->client = $this->createMock(Client::class); $this->client = $this->createMock(Client::class);