Reduced code duplication in FlashMessenger plugin#6073
Reduced code duplication in FlashMessenger plugin#6073fp-pszczekutowicz wants to merge 2 commits intozendframework:masterfrom fp-pszczekutowicz:master
Conversation
fp-pszczekutowicz
commented
Apr 1, 2014
- Zend/Mvc/Controller/Plugin/FlashMessenger.php
- Zend/Mvc/Controller/Plugin/FlashMessenger.php
There was a problem hiding this comment.
All these new $namespace parameters need related tests
|
Marking as bc-break since you added parameters to the methods. |
|
@Ocramius not necessarily a BC break, as the new parameters are optional; original behavior is preserved, and you can call them without the arguments. |
|
@weierophinney subclasses would still need change |
|
@Ocramius good point. @pszczekutowicz You can make this BC safe by removing the default argument, and instead using |
|
@weierophinney the BC break is acceptable if we schedule this for 2.4 (imo) |
|
Any conclusion @Ocramius @weierophinney? Should i commit the change? |
|
@pszczekutowicz I believe @Ocramius is saying he can merge it as-is to develop for release with 2.4.0. |
|
@pszczekutowicz thanks for the change |