Ticket #202 (closed task: fixed)

Opened 2 years ago

Last modified 20 months ago

Add PHP_CodeSniffer task

Reported by: dthomas Owned by: 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

Changed 2 years ago by dthomas

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

Changed 2 years ago by dthomas

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

Changed 2 years ago by dthomas

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

Changed 20 months ago by tazelvarr

tariccasitr

Add/Change #202 (Add PHP_CodeSniffer task)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.