| Conditions | 5 |
| Paths | 8 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function canHandle(Project $project, Context $context) |
||
| 35 | { |
||
| 36 | $postfix = ""; |
||
| 37 | if (is_string($context->getData())) { |
||
| 38 | $postfix = trim($context->getData()); |
||
| 39 | } |
||
| 40 | return parent::canHandle($project, $context) |
||
| 41 | && ($context->isString() || $context->isEmpty()) |
||
| 42 | && strlen($postfix) > 2 |
||
| 43 | ; |
||
| 44 | } |
||
| 45 | } |
||
| 46 |