Completed
Push — master ( 90d35b...b28524 )
by Andrii
05:54
created

OrderLinks::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 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