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

OrderLinks   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 11
rs 10

1 Method

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