Re: Re: deprecating
| From: | Joshua Eichorn | Date: | Tue, 19 Jul 2005 17:15:40 +0000 |
| Subject: | Re: Re: deprecating | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38722@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Joe Stump wrote:-joshOK, On another note, what if I have an old package (I do) that has a function named foo_bar(). This package has only one stable release (0.2) and one beta release (1.0.1beta). Can I deprecate foo_bar(), have it call fooBar() and then throw a notice that it's deprecated when it's used? If so, then how long do I have to wait to finally remove the deprecated function? One release? Two?IMHO you cant deprecate a method inside a major version, since that is effectively a BC break. regards, Lukas You can still change the api in anything that hasn't has a stable release right?