Conditions | 2 |
Paths | 2 |
Total Lines | 20 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 11 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
55 | 1 | ||
56 | } |
||
57 | 1 | ||
58 | 1 | /** |
|
59 | 1 | * @param string $method_name |
|
60 | 1 | * @param array $args |
|
61 | 1 | * |
|
62 | * @return mixed|null |
||
63 | */ |
||
64 | View Code Duplication | function __call( $method_name, $args ) { |
|
65 | |||
66 | 1 | $value = null; |
|
67 | 1 | ||
68 | 1 | do { |
|
69 | $value = parent::__call( $method_name, $args ); |
||
70 | |||
71 | if ( $value ) { |
||
72 | 1 | break; |
|
73 | } |
||
74 | 1 | ||
75 | if ( $this->has_marker() ) { |
||
86 |
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.