2 Years ago i've already asked (https://groups.google.com/forum/#!topic/joomla-dev-framework/uMzwQBaYjCI/discussion), but what's the current state ? Does Joomla! Framework want to adopt PSR-2 ? It's just an opinion, but i'm a fan of PSR-2. I've never understood why every projects wants to have its own CS.
--
Framework source code: https://github.com/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
---
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-frame...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.
Please pardon any errors, this message was sent from my iPhone.
Personally, I'd say no. It's another major change in how our files are composed (last one being in late 2011 when the current rule set basically started being enforced), and on the CMS side we're still working to adopt our style rules fully. I'd rather see Joomla as a whole stick to the rules we have now (and get in compliance fully) than implement another style that is a major change from what we have now (the brace styles and tab vs space intentions are really the big things here).
On Tuesday, April 14, 2015, Nils Rückmann <ma...@nueckman.de> wrote:
2 Years ago i've already asked (https://groups.google.com/forum/#!topic/joomla-dev-framework/uMzwQBaYjCI/discussion), but what's the current state ? Does Joomla! Framework want to adopt PSR-2 ? It's just an opinion, but i'm a fan of PSR-2. I've never understood why every projects wants to have its own CS.--
Framework source code: https://github.com/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
---
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsub...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.
I agree we should stick to the current CS unless there is a compelling reason to adopt a different standard (like adopting the standard would improve compliance with the standard).
--
Framework source code: https://github.com/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
---
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-frame...@googlegroups.com.
<!-- Include some additional sniffs from the PSR2 standard -->
Well, AFAIK the framework is independent from the CMS, so why do we have to bother about it ? I mean, i've always seen the framework as an opportunity to move forward (especially within a major release). At some point we have to change something, but if we wait until the framework has really been used to build something like a future CMS, the effort would be so high that Joomla will stick to it's own CS forever.
--
Does a PSR-2 adoption not improve compliance with the standard?