Completed
Branch master (dc7924)
by Michael
02:03
created

WflTextSanitizer::htmlSpecialCharsStrip()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Class: WflTextSanitizer
5
 *
6
 * Module: WF-Links
7
 * Version: v1.0.3
8
 * Release Date: 21 June 2005
9
 * Developer: John N
10
 * Team: WF-Projects
11
 * Licence: GNU
12
 */
13
class WflTextSanitizer extends MyTextSanitizer
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
14
{
15
    /**
16
     * @param $text
17
     *
18
     * @return string
19
     */
20
    public function htmlSpecialCharsStrip($text)
21
    {
22
        return $this->htmlSpecialChars($this->stripSlashesGPC($text));
23
    }
24
}
25