| Total Complexity | 8 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 47.06% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class LicenseComment extends Comment implements CommentTypeInterface |
||
| 6 | { |
||
| 7 | 3 | public function getPattern(): string |
|
| 8 | { |
||
| 9 | 3 | return '/\/\*\*.*?\b(?:license|copyright|permission)\b.*?\*\//is'; |
|
| 10 | } |
||
| 11 | |||
| 12 | public function getColor(): string |
||
| 13 | { |
||
| 14 | return 'white'; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getStatColor(int $count, array $thresholds): string |
||
| 27 | } |
||
| 28 | |||
| 29 | 1 | public function getWeight(): float |
|
| 30 | { |
||
| 31 | 1 | return 0; |
|
| 32 | } |
||
| 33 | |||
| 34 | 1 | public function getAttitude(): string |
|
| 37 | } |
||
| 38 | |||
| 39 | 2 | public function getName(): string |
|
| 42 | } |
||
| 43 | } |
||
| 44 |