Unit tests inside PEAR packages need to go into /usr/share/php-test, not /usr/share/php/tests

Bug #815776 reported by Stuart Herbert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The PHP Community is adopting PSR-0, a standard for autoloading PHP classes from directories such as /usr/share/php. Unfortunately, Ubuntu currently mixes unit test code and code meant for production under /usr/share/php, even though the unit test code isn't PSR-0-compliant.

It would be a great help to the PHP community if Ubuntu changed the 'test_dir' configuration parameter of the PEAR installer to install unit tests into a separate folder hierarchy, such as /usr/share/php-test.

This bug applies to Ubuntu 11.04 and earlier.

Revision history for this message
Ondřej Surý (ondrej) wrote :

Could you please fill this bug with Debian? It would help me very much to not forget about this issue and since Ubuntu generally pulls most of the PHP packaging from Debian, it would be fixed in the Ubuntu at the same time.

Thanks,
O.

Revision history for this message
Dave Walker (davewalker) wrote :

@Stuart, When you say - "This bug applies to Ubuntu 11.04 and earlier." <-- Does that mean it's fixed in our current development version, Oneiric / 11.10?

Thanks.

Changed in php5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Weiske (cweiske) wrote :

I doubt that it is fixed in the current version. This detail was just to certify that the problem has existed in previous ubuntu versions, and is still there in the current stable version.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php5 (Ubuntu) because there has been no activity for 60 days.]

Changed in php5 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.