| Total Complexity | 8 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 47.06% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class DocBlockComment extends Comment implements CommentTypeInterface |
||
| 8 | { |
||
| 9 | 1 | public function getPattern(): string |
|
| 10 | { |
||
| 11 | 1 | return '/\/\*\*(?!.*\b(?:license|copyright|permission)\b).+?\*\//is'; |
|
| 12 | } |
||
| 13 | |||
| 14 | public function getColor(): string |
||
| 15 | { |
||
| 16 | return 'green'; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getStatColor(int $count, array $thresholds): string |
||
| 29 | } |
||
| 30 | |||
| 31 | 1 | public function getWeight(): float |
|
| 32 | { |
||
| 33 | 1 | return 1; |
|
| 34 | } |
||
| 35 | |||
| 36 | 1 | public function getAttitude(): string |
|
| 39 | } |
||
| 40 | |||
| 41 | 1 | public function getName(): string |
|
| 44 | } |
||
| 45 | } |
||
| 46 |