for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GuillermoandraeTest\Highrise\Client;
use BadMethodCallException;
use Guillermoandrae\Highrise\Client\Client;
use PHPUnit\Framework\TestCase;
class ClientTest extends TestCase
{
public function testInvalidResource()
$this->expectException(BadMethodCallException::class);
(new Client())->you();
you()
Guillermoandrae\Highrise\Client\Client
__call
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
(new Client())->/** @scrutinizer ignore-call */ you();
}