Ticket #91 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Improve detection for PHPUnit3

Reported by: DougWarner <silfreed-phing@silfreed.net> Assigned to: mrook
Priority: minor Milestone: 2.3.0
Component: phing-core Version: 2.3.0beta1
Keywords: Cc:

Description

The pear package detection in PHPUnitTask.php doesn't pick up my PHPUnit 3 installation because I use a local PEAR installation with its own configuration file to install packages separately from the system PEAR installation. I've tried to improve the logic to find PHPUnit3 vs. PHPUnit2 so that PHPUnit3 is preferred but PHPUnit2 is still detected if the package version can't be determined from the PEAR Registry.

Attachments

PHPUnitTask-PHPUnit3check.diff (1.1 kB) - added by DougWarner <silfreed-phing@silfreed.net> on 04/16/07 19:59:47.
Improved detection of PHPUnit3

Change History

04/16/07 19:59:47 changed by DougWarner <silfreed-phing@silfreed.net>

  • attachment PHPUnitTask-PHPUnit3check.diff added.

Improved detection of PHPUnit3

07/29/07 21:36:54 changed by hans

  • owner changed from hans to mrook.
  • milestone set to 2.3.0.

Michiel, could you have a look at this patch?

07/30/07 19:43:51 changed by mrook

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

Patch applied in r208, thanks for submitting!


Add/Change #91 (Improve detection for PHPUnit3)




Action