Modify

Ticket #81 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

PhpLintTask

Reported by: norman@… Owned by: hans
Priority: minor Milestone:
Component: phing-tasks-ext Version: 2.3.0beta1
Keywords: Cc:

Description

It is possible that you can get an error saying that php -l xyz.php could not parse the the existing file xyz.php. In this case $messages[1] does not exists in line 103 of PhpLintTask.php, but only $messages[0] with the messages that php -l could not parse the file.

So you have to be careful and check if $messages[1] exists before you write it to the log in this place!

Thanks, Norman

Attachments

Change History

comment:1 Changed 5 years ago by mrook

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

Fixed in r180.

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.