Modify

Ticket #202 (closed task: fixed)

Opened 4 years ago

Last modified 4 years 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

comment:1 Changed 4 years ago by dthomas

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

comment:2 Changed 4 years ago by dthomas

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 4 years ago by dthomas

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

comment:4 Changed 4 years ago by tazelvarr

tariccasitr

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.