Conditions | 3 |
Paths | 3 |
Total Lines | 17 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public static function hasExcludedError(String $errorString) : Bool |
||
28 | { |
||
29 | |||
30 | $excludedErrors = self::getExcludedErrors(); |
||
31 | |||
32 | |||
33 | |||
34 | foreach ($excludedErrors as $excludedError) |
||
35 | { |
||
36 | $counter=0; |
||
37 | str_replace($excludedError,"_REPLACE_",$errorString,$counter); |
||
38 | if($counter>0) return true; |
||
39 | } |
||
40 | |||
41 | return false; |
||
42 | |||
43 | } |
||
44 | |||
46 | } |