<?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>Thu, 04 Dec 2008 15:04:42 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Rolling your own Phing task]]></title>
      <guid>http://www.phpdeveloper.org/news/7623</guid>
      <link>http://www.phpdeveloper.org/news/7623</link>
      <description><![CDATA[<p>
Wanting to automate a common task he found himself doing, <i>Raphael Stolt</i> came up with <a href="http://raphaelstolt.blogspot.com/2007/03/rolling-your-own-phing-task.html">his own process</a> and use <a href="http://raphaelstolt.blogspot.com/2007/03/rolling-your-own-phing-task.html">Phing</a> to help.
</p>
<blockquote>
To round off an older article on this blog called "<a href="http://raphaelstolt.blogspot.com/2007/01/use-php-5-reflection-api-to-track.html">Using the PHP 5 reflection API to keep track of unsolved refactorings</a>" I wanted to automate the following task: collect and log some information about developer marked unsolved refactorings for a single class file or more common multiple files of an whole directory. And as I'm getting more and more acquainted with <a href="http://phing.info/trac/">Phing</a> I wanted to craft this custom task by using it's provided extension possibilities.
</blockquote>
<p>
He <a href="http://raphaelstolt.blogspot.com/2007/03/rolling-your-own-phing-task.html">gives examples</a> of what the "unsolvedRefactoring" notation looks, the XML mapping for its definition, and the code that actually makes the mapping work - and makes it easy to pull out the needed information. There's two versions presented, one a normal pull and the other modified slightly to "actually retrieve the metadata of the methods marked as improveable via the @unsolvedRefactoring doclet". And, finally, the integration with Phing comes, showing how to run the files and what the results should look like.
</p>]]></description>
      <pubDate>Fri, 13 Apr 2007 10:22:00 -0500</pubDate>
    </item>
  </channel>
</rss>
