PSR enabled Permanently deleted user Created May 03, 2014 15:21 HelloWhy PSR support isn;t enabled by default in phpstorm 7.1 ?For example Convert True/False constant to isn't checked and all PSR options have to be manually set.
Please try our latest EAP: http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program .
PSR support was implemented only in our latest EAP versions. See also: http://blog.jetbrains.com/phpstorm/2014/04/psr-0-psr-4-and-sourcetest-root-support-in-phpstorm-8-eap/ .
Maybe, but I rather mean PSR-1/PSR-2 . Maybe because I set up symfony project it was not set to PSR1/2 ?
Have you seen this: http://blog.jetbrains.com/webide/2012/11/more-php-formatting-options-and-bundled-code-styles-for-ps/ ?
Also code formatting can be set to PSR1/PSR2: Settings (Preferences for Mac OS) | Code Style | PHP | Set From... | Predefined Style | PSR1/PSR2 .
Yes, thanks. I will have to check it with another project if it set it by default
I'm new to PHP Storm. I have version 8.0.3. I just selected PSR1/PSR2 as style.
I have an existing codebase that I want to reformat to that style. How do I go about it?