The method getStatusCode() does not exist on Digitonic\ApiTestSuite\TestResponse. 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
16
/** @scrutinizer ignore-call */
17
$actual = $this->getStatusCode();
Loading history...
17
18
PHPUnit::assertTrue(
19
$actual === $status,
20
"Expected status code {$status} but received {$actual}. Response content: \n".
The method getContent() does not exist on Digitonic\ApiTestSuite\TestResponse. 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