<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 20:39:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPKitchen: PHP Coding Standards - Laying Down the Law]]></title>
      <guid>http://www.phpdeveloper.org/news/6321</guid>
      <link>http://www.phpdeveloper.org/news/6321</link>
      <description><![CDATA[<p>
On the PHPKitchen site today, <i>Demian Turner</i> <a href="http://www.phpkitchen.com/index.php?/archives/757-PHP-Coding-Standards-Laying-Down-the-Law.html">looks at</a> a handy utility to ensure that the coding standards in your documents are all passable - <a href="http://pear.php.net/package/PHP_CodeSniffer/">PHP_CodeSniffer</a>.
</p>
<blockquote>
<p>
There was a fantastic <a href="http://en.wikipedia.org/wiki/Coding_standards">CS</a> helper package released at PEAR this week, <a href="http://pear.php.net/package/PHP_CodeSniffer/">PHP_CodeSniffer</a>. The package, which requires PHP5 and is nicely coded, puts a phpcs script in your path so you can pass files or directories to it to get your CS validated.
</p>
<p>
The results are detailed and processing is surprisingly fast considering how many tokens are being parsed.
</p>
</blockquote>
<p>
<i>Demian</i> <a href="http://www.phpkitchen.com/index.php?/archives/757-PHP-Coding-Standards-Laying-Down-the-Law.html">gives an example</a> of what the validation process looks like and why he finds the entire package particularly useful.
</p>]]></description>
      <pubDate>Wed, 20 Sep 2006 16:11:23 -0500</pubDate>
    </item>
  </channel>
</rss>
