Issues (31)

tests/src/Client/ClientTest.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace GuillermoandraeTest\Highrise\Client;
4
5
use BadMethodCallException;
6
use Guillermoandrae\Highrise\Client\Client;
7
use PHPUnit\Framework\TestCase;
8
9
class ClientTest extends TestCase
10
{
11
    public function testInvalidResource()
12
    {
13
        $this->expectException(BadMethodCallException::class);
14
        (new Client())->you();
0 ignored issues
show
The method you() does not exist on Guillermoandrae\Highrise\Client\Client. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

14
        (new Client())->/** @scrutinizer ignore-call */ you();
Loading history...
15
    }
16
}
17