| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function testDefaults() |
||
| 23 | { |
||
| 24 | $input = []; |
||
| 25 | |||
| 26 | $processor = $this->createPartialMock(Processor::class, []); |
||
| 27 | |||
| 28 | $config = $processor->processConfiguration(new Configuration(), [$input]); |
||
|
|
|||
| 29 | |||
| 30 | $defaults = [ |
||
| 31 | 'data_collector' => [ |
||
| 32 | 'ignore_controllers' => [ |
||
| 33 | 'twig.controller.preview_error', |
||
| 34 | 'web_profiler.controller.profiler', |
||
| 35 | 'web_profiler.controller.router', |
||
| 36 | 'web_profiler.controller.exception', |
||
| 37 | ], |
||
| 38 | 'ignore_exceptions' => false, |
||
| 39 | ], |
||
| 40 | 'twig' => [ |
||
| 41 | 'tag_name' => 'route', |
||
| 42 | 'tag_variable_name' => '_route', |
||
| 43 | 'discover_routing_functions' => true, |
||
| 44 | ], |
||
| 45 | ]; |
||
| 46 | |||
| 47 | $this->assertEquals($defaults, $config); |
||
| 48 | } |
||
| 50 |
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.