Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 10 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
23 | View Code Duplication | public function testMissingAddonsAreOmittedFromResults() |
|
24 | { |
||
25 | $response = $this->get('api/ratings?addons=silverstripe/imaginarymodule'); |
||
26 | |||
27 | $this->assertJson($response->getBody()); |
||
28 | |||
29 | $result = json_decode($response->getBody()); |
||
30 | $this->assertTrue($result->success); |
||
31 | $this->assertEmpty($result->ratings); |
||
32 | } |
||
33 | } |
||
34 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.