Out of curiosity, are there any style linters for PHP? I have been looking for one with no luck. I know that has helped JavaScript clean up some of it's style problem.
Hi for my project, I use StyleCI that automatically scan new github commits. Also you can check the PSR2 Coding style guide php-fig.org/psr/psr-2/ and php-cs-fixer, a command line tool that correct the code to comply with PSR2
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Out of curiosity, are there any style linters for PHP? I have been looking for one with no luck. I know that has helped JavaScript clean up some of it's style problem.
Hi for my project, I use StyleCI that automatically scan new github commits. Also you can check the PSR2 Coding style guide php-fig.org/psr/psr-2/ and php-cs-fixer, a command line tool that correct the code to comply with PSR2