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

Doku_Lexer::parse()   B

Complexity

Conditions 6
Paths 7

Size

Total Lines 25
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 6
eloc 19
nc 7
nop 1
dl 0
loc 25
rs 8.439
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