Ticket #81 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

PhpLintTask

Reported by: norman@sefiroth.de Assigned to: 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

03/30/07 17:48:05 changed by mrook

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

Fixed in r180.


Add/Change #81 (PhpLintTask)




Action