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
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Build and test / requirements (push) Failing after 1m41s
This commit is contained in:
@ -13,15 +13,15 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||
|
||||
final class NtfyTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @psalm-suppress PropertyNotSetInConstructor
|
||||
*/
|
||||
private Ntfy $instance;
|
||||
/**
|
||||
* @psalm-suppress PropertyNotSetInConstructor
|
||||
*/
|
||||
private MockObject $client;
|
||||
|
||||
public function __construct($name)
|
||||
{
|
||||
parent::__construct($name);
|
||||
$this->setUp();
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->client = $this->createMock(Client::class);
|
||||
|
Reference in New Issue
Block a user