Failed Conditions
Push — psr2 ( ffc2cc...de2261 )
by Andreas
05:28
created

Doku_Lexer::_invokeParser()   B

Complexity

Conditions 5
Paths 5

Size

Total Lines 18
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 5
eloc 10
nc 5
nop 3
dl 0
loc 18
rs 8.8571
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Escapes regex characters other than (, ) and /
5
 *
6
 * @param string $str
7
 * @return string
8
 * @deprecated 2018-05-04
9
 */
10
function Doku_Lexer_Escape($str) {
11
    dbg_deprecated('dokuwiki\\Lexer\\Lexer::escape');
12
    return dokuwiki\Lexer\Lexer::escape($str);
13
}
14