Skip to content

Commit

Permalink
supress lint error on LF signature #1101
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Apr 15, 2016
1 parent a94a808 commit acb389a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _test/tests/inc/mailer.test.php
Expand Up @@ -222,7 +222,8 @@ function test_lint(){
if(substr($line,0,5) == 'ERROR' || substr($line,0,7) == 'WARNING'){
// ignore some errors
if(strpos($line, "missing mandatory header 'return-path'")) continue; #set by MDA
if(strpos($line, "bare newline in text body decoded")) continue; #seems to be false positive
if(strpos($line, "bare newline in text body decoded")) continue; #we don't send mail bodies as CRLF, yet
if(strpos($line, "last decoded line too long")) continue; #we don't send mail bodies as CRLF, yet

// get the context in which the error occured
$errorin = '';
Expand Down

0 comments on commit acb389a

Please sign in to comment.