? Failure

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
28 Aug 2014

Updates references to no longer present JRegistry to the namespaced \Joomla\Registry\Registry

avatar mbabker mbabker - open - 28 Aug 2014
avatar jissues-bot jissues-bot - change - 28 Aug 2014
Status Pending New
Labels Added: ?
avatar beat
beat - comment - 28 Aug 2014

Wouldn't this small (but extended) code-refactoring be the perfect timing to introduce \Joomla\Registry\RegistryInterface and make that the php-doc-block documented parameter for the uses of \Joomla\Registry\Registry instead of \Joomla\Registry\Registry ?

It could also set the right example for other namespacing refactorings. ;-)

avatar mbabker
mbabker - comment - 28 Aug 2014

As we don't already have an existing interface (here or in the Framework), one would have to be defined first.

If there was anything that we wanted to do differently, my suggestion would be to loosen the coupling to \Joomla\Registry\Registry by refactoring the code to access that object as an array as it implements the ArrayAccess interface, then developers could either continue using the Registry object or use simple arrays (or theoretically anything implementing ArrayAccess).

avatar brianteeman brianteeman - change - 28 Aug 2014
Status New Pending
avatar mbabker mbabker - reference | - 4 Sep 14
avatar dbhurley
dbhurley - comment - 4 Sep 2014

Merged into 3.4-dev.

avatar dbhurley dbhurley - change - 4 Sep 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-09-04 19:44:03
avatar dbhurley dbhurley - close - 4 Sep 2014
avatar dbhurley dbhurley - close - 4 Sep 2014
avatar roland-d roland-d - change - 16 Feb 2015
Milestone Added:
avatar mbabker mbabker - head_ref_deleted - 16 Feb 2015

Add a Comment

Login with GitHub to post a comment