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