Modify

Opened 5 years ago

Closed 5 years ago

#214 closed enhancement (fixed)

PhpCodeSnifferTask should be able to output file

Reported by: Lars Olesen <lars@…> Owned by: hans
Priority: major Milestone: 2.3.1
Component: phing-tasks-ext Version: 2.3.0
Keywords: Cc:

Description

The PhpCodeSnifferTask should be able to output a file. I know you can grab the screen output by adding the < character to the command prompt, but for instance when you use Phing together with CruiseControl and phpUnderControl, it would be absolutely brilliant, if the task could output for instance a checkstyle.xml file.

It should probably work as the PHPUnit task, which has this ability.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by bender

  • Resolution set to fixed
  • Status changed from new to closed
  • Type changed from defect to enhancement

changeset:374 adds support for multiple nested formatter elements which can optionally direct output to a named file. If no formatter elements are given legacy behavior of directing output as specified by format attribute to stdout.

Add Comment

Modify Ticket

Action
as closed The owner will remain hans.
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.