| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 25 | public function getConfigTreeBuilder(): NodeParentInterface |
||
| 26 | { |
||
| 27 | $treeBuilder = new TreeBuilder('bukashk0zzz_liip_imagine_serialization'); |
||
| 28 | |||
| 29 | $rootNode = \method_exists($treeBuilder, 'getRootNode') |
||
| 30 | ? $treeBuilder->getRootNode() |
||
| 31 | : $treeBuilder->root('bukashk0zzz_liip_imagine_serialization'); |
||
|
|
|||
| 32 | |||
| 33 | $rootNode |
||
| 34 | ->children() |
||
| 35 | ->scalarNode('includeHost')->defaultValue(true)->end() |
||
| 36 | ->scalarNode('vichUploaderSerialize')->defaultValue(true)->end() |
||
| 37 | ->scalarNode('includeOriginal')->defaultValue(false)->end() |
||
| 38 | ->scalarNode('includeHostForOriginal')->defaultValue(false)->end() |
||
| 39 | ->scalarNode('originUrlNormalizer')->defaultValue(null)->end() |
||
| 40 | ->scalarNode('filteredUrlNormalizer')->defaultValue(null)->end() |
||
| 41 | ; |
||
| 42 | |||
| 43 | return $treeBuilder; |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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.