OrderLinks::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 0
nc 1
nop 1
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
c 1
b 0
f 1
1
<?php
2
/**
3
 * Changelog keeper
4
 *
5
 * @link      https://github.com/hiqdev/chkipper
6
 * @package   chkipper
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\chkipper\lib\modifiers;
12
13
use hiqdev\chkipper\lib\History;
14
15
/**
16
 * Modifier that sorts links in configured order.
17
 * Default order is:
18
 * - other (user defined) links
19
 * - author links
20
 * - tags links
21
 * - commit links.
22
 *
23
 * @author Andrii Vasyliev <[email protected]>
24
 */
25
class OrderLinks extends AbstractModifier
26
{
27
    protected $defaultOrder = ['other', 'authors', 'tags', 'commits'];
28
29
    /**
30
     * {@inheritdoc}
31
     */
32
    public function run(History $history)
33
    {
34
    }
35
}
36