joindin/joind.in — pull request #700 by dstockto (2013-02-11 07:35:56+00:00)
Title: JOINDIN-260 phing task for making codesniff easy for contributors

This PR allows for an easy way for contributors who have phpcs and phing installed to codesniff the files in their contribution before making a PR.

phing phpcs-human -Dfilename=Request.php

This will codesniff all files that end with Request.php in the joind.in source or api-v2 source directories. In the example above, it would find

src/api-v2/inc/Request.php
and
src/system/application/libraries/wsactions/BaseWsRequest.php

By specifying a more specific file designation, like inc/Request.php, the developer can ensure that codesniff is only run on the one desired file.

The output is color coded and grouped for errors and warnings.

The remaining phing tasks were not affected and since this is a standalone target, not mentioned in any of the build targets, it will not affect the build.

![Screenshot_2_11_13_12_35_AM](https://f.cloud.github.com/assets/775393/144454/913e21e4-741d-11e2-9c2c-4cefaf2f95f4.png)