| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | protected function isDataStructure(ClassNode $node) |
||
| 18 | { |
||
| 19 | if (0 < preg_match($this->getRegex('dataStructureNamespaceRegex'), $node->getNamespaceName())) { |
||
| 20 | return true; |
||
| 21 | } |
||
| 22 | |||
| 23 | if (0 < preg_match($this->getRegex('dataStructureCommentRegex'), $node->getComment())) { |
||
| 24 | return true; |
||
| 25 | } |
||
| 26 | |||
| 27 | return false; |
||
| 28 | } |
||
| 29 | |||
| 37 |