OrderLinks   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 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