Code Duplication    Length = 4-4 lines in 2 locations

include/phpmailer/class.phpmailer.php 1 location

@@ 736-739 (lines=4) @@
733
                echo htmlentities(preg_replace('/[\r\n]+/', '', $str), ENT_QUOTES, 'UTF-8') . "<br>\n";
734
                break;
735
            case 'echo':
736
            default:
737
                //Normalize line breaks
738
                $str = preg_replace('/\r\n?/ms', "\n", $str);
739
                echo gmdate('Y-m-d H:i:s') . "\t" . str_replace("\n", "\n                   \t                  ", trim($str)) . "\n";
740
        }
741
    }
742

include/phpmailer/class.smtp.php 1 location

@@ 238-241 (lines=4) @@
235
                echo gmdate('Y-m-d H:i:s') . ' ' . htmlentities(preg_replace('/[\r\n]+/', '', $str), ENT_QUOTES, 'UTF-8') . "<br>\n";
236
                break;
237
            case 'echo':
238
            default:
239
                //Normalize line breaks
240
                $str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str);
241
                echo gmdate('Y-m-d H:i:s') . "\t" . str_replace("\n", "\n                   \t                  ", trim($str)) . "\n";
242
        }
243
    }
244