About C#/.NET programming, BlogEngine usage, and Software testing
PEAR PHP_CodeSniffer: End of line character is invalid; expected “n” but found “rn”
The Issue:
I have another ERROR discovered by PEAR PHP_CodeSniffer, http://pear.php.net/package/PHP_CodeSniffer:
End of line character is invalid; expected “n” but found “rn”
And this ERROR is only occurring at the very first line, at , in my PHP code.
The Sollution:
For new files, you can change the default line delimiter to Unix style, such as in Eclipse, you can,
Window –>
| Print article | This entry was posted by admin on April 26, 2010 at 10:45 pm, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |