PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » XML » XML_Serializer » Bug #4684

0.16.0 breaks option handling

Details

Request #46840.16.0 breaks option handling
Submitted2005-06-26 14:21 UTC
Frommailings at bdisfunctional dot net
StatusBogus
PackageXML_Serializer
PHP Version4.3.10
OSOS X / DEBIAN
Roadmaps(Not assigned)

Comments

[2005-06-26 14:21 UTC] mailings at bdisfunctional dot net

Description:
------------
The new version of XML_Serializer (0.16.0) uses a different method of handling options. The 'old' method from version 0.15.0 is not supported anymore. This shouldn't have to be a problem if the maintainer of the package would have let one version in between so other people's code depending on the old behaviour could have been adjusted to the new situation.
My code is now broken because of the sudden change.

I propose to create a methode which at least warns a developer when using the options as used in pre 0.16.0 manner. So developer know a certain method is getting deprecated!

Feel free to contact me to resolve this:

bjorn [AT] simuze [DOT] nl

Expected result:
----------------
I expect PEAR classes to be handled with more caution and using an in-between version before breaking with an old method OR providing an interface to certain behaviour that doesn't change (at least not sudden or often) will keeping the changes 'under-water'.