WordPress theme, can be PSR-2 compilant?

Hello guys,

I can’t find any information about that, can I use PSR-2 standard in WordPress theme here or I need to keep those weird spaces between “(” everywhere?

Anyone here? :slight_smile:

Hi,

I’m not sure if it will pass a review, but considering you are writing WordPress code which will then most likely be read/modified by other WordPress developer, it would be great if you would stick to the WordPress coding standards.

You could code it however you want then run the final package through a code format tool to make it WordPress compatible.