The method METHOD_NOT_ALLOWED() does not exist on Koded\Http\StatusCode. Since you implemented __callStatic, 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
13
$this->assertSame('405 Method Not Allowed', StatusCode::/** @scrutinizer ignore-call */ METHOD_NOT_ALLOWED(true));
Loading history...
14
$this->assertSame('Method Not Allowed', StatusCode::METHOD_NOT_ALLOWED(false));
The method something_non_existent() does not exist on Koded\Http\StatusCode. Since you implemented __callStatic, 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