| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 18 | public static function check(AnnotatedReflectorInterface $target) |
|
| 35 | { |
||
| 36 | 18 | if (!$target->hasAnnotation('Ignored')) |
|
| 37 | { |
||
| 38 | 18 | return false; |
|
| 39 | } |
||
| 40 | |||
| 41 | 3 | $value = $target->getAnnotation('Ignored')->value; |
|
| 42 | 3 | if (false === $value) |
|
| 43 | { |
||
| 44 | 3 | return false; |
|
| 45 | } |
||
| 46 | 3 | return true; |
|
| 47 | } |
||
| 48 | |||
| 50 |