| 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 | |||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param string $method_name |
||
| 60 | * @param array $args |
||
| 61 | * |
||
| 62 | * @return mixed|null |
||
| 63 | */ |
||
| 64 | 1 | View Code Duplication | function __call( $method_name, $args ) { |
| 65 | |||
| 66 | 1 | $value = null; |
|
| 67 | |||
| 68 | do { |
||
| 69 | 1 | $value = parent::__call( $method_name, $args ); |
|
| 70 | |||
| 71 | 1 | if ( $value ) { |
|
| 72 | 1 | break; |
|
| 73 | } |
||
| 74 | |||
| 75 | 1 | 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.