| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | 1 | public function getConfigTreeBuilder() |
|
| 20 | { |
||
| 21 | 1 | $treeBuilder = new TreeBuilder(); |
|
| 22 | 1 | $rootNode = $treeBuilder->root('strategy'); |
|
| 23 | |||
| 24 | $rootNode |
||
|
|
|||
| 25 | 1 | ->children() |
|
| 26 | 1 | ->arrayNode('shared') |
|
| 27 | 1 | ->prototype('scalar')->end() |
|
| 28 | 1 | ->end() |
|
| 29 | 1 | ->scalarNode('keep') |
|
| 30 | 1 | ->defaultValue(5) |
|
| 31 | 1 | ->info('Number of releases to keep on the server') |
|
| 32 | 1 | ->end() |
|
| 33 | 1 | ->end() |
|
| 34 | ; |
||
| 35 | |||
| 36 | 1 | return $treeBuilder; |
|
| 37 | } |
||
| 38 | } |
||
| 39 |
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.