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

WflTextSanitizer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A htmlSpecialCharsStrip() 0 4 1
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