| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 58 | 7 | private static function getNotFoundMessage($itemType, $itemName) | |
| 59 |     { | ||
| 60 | 7 |         if (in_array($itemType, self::$itemTypes)) { | |
| 61 | 6 | return 'The trello '.$itemType.' named '.$itemName.' could not be found.'; | |
| 62 | } | ||
| 63 | |||
| 64 | 1 |         throw new \Exception('The declare Trello item type does not match any known type.'); | |
| 65 | } | ||
| 66 | |||
| 83 |