Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 15 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
17 | View Code Duplication | public function testGetModelUser() |
|
18 | { |
||
19 | $namespace = 'Test\\Models\\'; |
||
20 | |||
21 | $options = [ |
||
22 | 'namespace' => $namespace, |
||
23 | 'model' => 'User', |
||
24 | ]; |
||
25 | |||
26 | $crudApi = new CrudApi($options); |
||
27 | |||
28 | $fqModel = $crudApi->getModel(); |
||
29 | |||
30 | $this->assertEquals($namespace . 'User', $fqModel); |
||
31 | } |
||
32 | |||
64 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.