| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | |||
| 41 | 1 | foreach ($response->getLines() as $line) { |
|
| 42 | 1 | if (0 == strcasecmp(substr($line, -5, 5), ':full')) { |
|
| 43 | // ':full' is _not_ included in tag, but value set to true |
||
| 44 | 1 | $result[str_replace('-', '_', strtolower(substr($line, 0, -5)))] = true; |
|
| 45 | 1 | } else { |
|
| 46 | // ':' is _not_ included in tag; value set to false |
||
| 54 |