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

lexer.php ➔ Doku_Lexer_Escape()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 4
rs 10
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