Completed
Push — master ( 56ef18...7cde6a )
by Andrii
02:06
created

MarkdownRenderer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 4
Bugs 0 Features 2
Metric Value
wmc 1
c 4
b 0
f 2
lcom 0
cbo 1
dl 0
loc 13
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A renderNote() 0 4 1
1
<?php
2
3
/*
4
 * Changelog keeper
5
 *
6
 * @link      https://github.com/hiqdev/chkipper
7
 * @package   chkipper
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hiqdev\chkipper\changelog;
13
14
use hiqdev\chkipper\history\Note;
15
16
/**
17
 * Markdown changelog renderer.
18
 *
19
 * @author Andrii Vasyliev <[email protected]>
20
 */
21
class MarkdownRenderer extends \hiqdev\chkipper\history\MarkdownRenderer
22
{
23
    public function renderNote(Note $note)
24
    {
25
        return $this->renderNoteHead($note);
26
    }
27
28
    public $normalizeOptions = [
29
        'addCommitLinks'    => null,
30
        'removeCommitLinks' => [true],
31
    ];
32
33
}
34