Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
14 | public function testRenderRow() |
||
15 | { |
||
16 | $form = new Form(); |
||
17 | $form->setRendererType('Bootstrap4'); |
||
18 | $form->add('test_input'); |
||
19 | |||
20 | self::assertSame( |
||
21 | '<div class="form-group row-test_input">' |
||
22 | .'<label class="col-form-label ">Test_input:</label>' |
||
23 | .'<input type="text" name="test_input" class="form-control " title="Test_input" />' |
||
24 | .'</div>', |
||
25 | $form->getRenderer()->renderRow($form->getElement('test_input')) |
||
|
|||
26 | ); |
||
29 |
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.