Ticket #202 (closed task: fixed)

Opened 7 months ago

Last modified 2 days ago

Add PHP_CodeSniffer task

Reported by: dthomas Assigned to: dthomas
Priority: major Milestone: 2.3.1
Component: phing-tasks-ext Version: 2.3.0
Keywords: task code sniffer Cc:

Description

Add a task for PHP_CodeSniffer with the following features:

- specify one file or a fileset to check (you can even specify directories and PHP_CodeSniffer will search for the files)

- specify the name of the standard or and absolute path to a custom external stored standard (requires PHP_CodeSniffer 1.0)

- setting of the parameters PHPCodeSniffer has: showWarning, verbosity, tabWidth to replace tabs with spaces, allowedFileExtensions, ignorePatterns, noSubdirectories, configData

- choose between the custom output format implemented in the task itself or one of the formats PHPCodeSniffer provides: xml, checkstyle, csv, report and summary

- generate the docs by setting the output format to doc

- output the list of used Sniffs

- documentation of the task

Attachments

Change History

12/22/07 13:55:25 changed by dthomas

(In [328]) Refs #202 - Added PHP_CodeSniffer task and documentation

12/22/07 14:03:40 changed by dthomas

  • status changed from new to closed.
  • resolution set to fixed.

12/22/07 14:04:45 changed by dthomas

  • component changed from phing-core to phing-tasks-ext.

07/18/08 22:33:03 changed by tazelvarr

tariccasitr


Add/Change #202 (Add PHP_CodeSniffer task)




Action