We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon Code Styles for PhpStorm (and IDEA)

Dear Phalcon-team!

If someone of you uses PhpStorm or IDEA, can you share CodeStyle?



10

External libraries phalcon-devtools/ide/1.2.4/Phalcon

No, this is lib for comfortable work with framework (code completion, etc.). I mean styles of code formatting. It can be jar-file with exported settings or CodeSniffer coding standard.



7.4k
Accepted
answer

Framework is written in C so there is no CodeSniffer but you can use PSR-2 Standard for PHP CS because currentlly Phalcon Framework is part of PHP-FIG. More info about it here: http://forum.phalcon.io/discussion/1405/php-fig-representative

Exactly what i want. Thanks.