<?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, 18 Jun 2013 02:14:37 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Christian Weiske: PHP_CodeSniffer: notify-send report]]></title>
      <guid>http://www.phpdeveloper.org/news/18362</guid>
      <link>http://www.phpdeveloper.org/news/18362</link>
      <description><![CDATA[<p>
In a new post to his site <i>Christian Weiske</i> shares an update he contributed to the PHP_CodeSniffer functionality to make working with and checking the validity of local PHP code easier - a <a href="http://cweiske.de/tagebuch/phpcs-notify-send.htm">notifier for PHP_CodeSniffer</a> using the "notify-send" commonly installed in most Linux distributions.
</p>
<blockquote>
I use emacs as IDE, and wanted to have direct feedback about the validity of my .php files when writing them. The most easy way was to add a save hook that runs <a href="http://pear.php.net/package/PHP_CodeSniffer/">PHP_CodeSniffer</a> - but the results should be displayed in a nice, unobtrusive way. phpcs has <a href="http://pear.php.net/manual/en/package.php.php-codesniffer.reporting.php">multiple reporting modes</a> - xml, checkstyle, csv etc. - but nothing for the desktop. I thought that notify-send would be the right fit since it is able to display pretty popup messages without getting in the way.
</blockquote>
<p>
He also includes the details on his original objective - including it in a "on save" hook as well as providing it in a keystroke shortcut, making checking his code even easier.
</p>]]></description>
      <pubDate>Wed, 15 Aug 2012 09:54:07 -0500</pubDate>
    </item>
  </channel>
</rss>
