pyrus/Pyrus — pull request #73 by fpoirotte (2011-10-23 11:12:48+00:00)
Title: Regression: $extrafiles does not accept strings anymore

These commits partly revert the change made in efc3a883cbcf5512d03602e9aa8dcdc42bbbe620 to allow $extrafiles to handle strings again and add a PHPT test.
This fixes issue pyrus/Pyrus#71.

This change is important because the current manual for Pyrus suggests to add extra files that way [1] and some packages already depend on that behaviour [2].

[1] http://pear.php.net/manual/en/pyrus.commands.package.php#pyrus.commands.package.extrasetup
[2] https://github.com/pyrus/Pyrus/blob/master/tests/Mocks/SimpleChannelServer/makepackage.php