| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class AddCommitLinks extends AbstractModifier |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | 2 | public function run(History $history) |
|
| 30 | 1 | } |
|
| 31 | 2 | } |
|
| 32 | 2 | } |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Generates href to a commit. |
||
| 36 | * @param History $history history object |
||
| 37 | * @param string $hash commit hash |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 1 | public static function generateCommitHref(History $history, $hash) |
|
| 48 |