Closed slavvka closed 4 years ago
I would say we need to use https://github.com/magento/magento-coding-standard, but if there was a specific requirement to use PSR12 - I'm ok with this.
@lenaorobei There's no requirements to use PSR12. I just took it as the latest actual and by my own initiative. Is https://github.com/magento/magento-coding-standard applicable to non-Magento code? Because it is a standalone library which has nothing common with Magento
@slavvka yes, there are some specific Magento checks but PSR2 is included. PRS12 is in progress right now, so probably you're right, if only code style is needed PSR12 is the best option.
Description (*)
Contribution checklist (*)