Modify

Ticket #91 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Improve detection for PHPUnit3

Reported by: DougWarner <silfreed-phing@…> Owned by: 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 Download (1.1 KB) - added by DougWarner <silfreed-phing@…> 5 years ago.
Improved detection of PHPUnit3

Change History

Changed 5 years ago by DougWarner <silfreed-phing@…>

Improved detection of PHPUnit3

comment:1 Changed 5 years ago by hans

  • Owner changed from hans to mrook
  • Milestone set to 2.3.0

Michiel, could you have a look at this patch?

comment:2 Changed 5 years ago by mrook

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

Patch applied in r208, thanks for submitting!

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.