Unit tests inside PEAR packages need to go into /usr/share/php-test, not /usr/share/php/tests
Bug #815776 reported by
Stuart Herbert
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/
This bug applies to Ubuntu 11.04 and earlier.
To post a comment you must log in.
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.