<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cote de Azur &#187; end of line character is invalid</title>
	<atom:link href="http://www.moneypa.com/blog/tag/end-of-line-character-is-invalid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moneypa.com/blog</link>
	<description>About programming and  Software testing</description>
	<lastBuildDate>Fri, 05 Aug 2011 07:08:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PEAR PHP_CodeSniffer: End of line character is invalid; expected &#8220;n&#8221; but found &#8220;rn&#8221;</title>
		<link>http://www.moneypa.com/blog/20100426-pear-php_codesniffer-end-of-line-character-is-invalid-expected-n-but-found-rn/</link>
		<comments>http://www.moneypa.com/blog/20100426-pear-php_codesniffer-end-of-line-character-is-invalid-expected-n-but-found-rn/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 22:45:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[end of line character is invalid]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php_codesniffer]]></category>

		<guid isPermaLink="false">/post/PEAR-PHP_CodeSniffer-End-of-line-character-is-invalid3b-expected-5cn-but-found-5cr5cn.aspx</guid>
		<description><![CDATA[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 &#8220;n&#8221; but found &#8220;rn&#8221; And this ERROR is only occurring at the very first line, at]]></description>
			<content:encoded><![CDATA[<h2>The Issue:</h2>
<p>I have another ERROR discovered by <span style="font-weight: bold;">PEAR PHP_CodeSniffer</span>, <a class="postlink" href="http://pear.php.net/package/PHP_CodeSniffer">http://pear.php.net/package/PHP_CodeSniffer</a>:<br /><span style="font-weight: bold;"><span style="color: #ff0000;">End of line character is invalid; expected &#8220;n&#8221; but found &#8220;rn&#8221;</span></span></p>
<p>And this ERROR is only occurring at the very first line, at <span style="color: #ff0000;"><span style="font-weight: bold;"><?php</span></span>, in my PHP code.</p>
<h2>The Sollution:</h2>
<p>For new files, you can change the default line delimiter to Unix style, such as in Eclipse, you can,<br />Window &ndash;></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moneypa.com/blog/20100426-pear-php_codesniffer-end-of-line-character-is-invalid-expected-n-but-found-rn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

