Completed
Push — master ( 4ffd57...6a646c )
by Michael
02:30
created

webhook_plugin_issuelinks::run()   C

Complexity

Conditions 7
Paths 19

Size

Total Lines 50
Code Lines 34

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 1 Features 1
Metric Value
cc 7
eloc 34
c 4
b 1
f 1
nc 19
nop 0
dl 0
loc 50
rs 6.7272
1
<?php
2
// phpcs:disable PSR1.Files.SideEffects
3
4
if (!defined('DOKU_INC')) {
5
    define('DOKU_INC', realpath(dirname(__FILE__) . '/../../../') . '/');
6
}
7
8
define('NOSESSION', 1);
9
require_once(DOKU_INC . 'inc/init.php');
10
11
if (!defined('DOKU_TESTING')) {
12
    // Main
0 ignored issues
show
introduced by
$util is of type helper_plugin_issuelinks_util, thus it always evaluated to true.
Loading history...
13
    $hook = new \dokuwiki\plugin\issuelinks\Webhook();
14
    $hook->run();
15
}
16