looking for a guide of coding style |
[eluser]Unknown[/eluser]
We will start a new proyect based in CI. To facilitate the work of the team, I am looking for an standard to use in our Coding conventions and Documentation. What guide of coding style is recomended to programing with CodeIgniter?
[eluser]Unknown[/eluser]
Thanks for your recomendations. I think than we will follow Derek's doc
[eluser]thomas.ernest[/eluser]
It's better to have a tool to automatically check if your files match the requirements of a coding convention. I use PHP_CodeSniffer [phpcs] for that. However, it doesn't support Code Igniter style guide [ci-style] natively. So, I've developed something. It doesn't check all standard requirements, but already more than nothing. Feel free to give a try and share your feedbacks. [phpcs] http://pear.php.net/package/PHP_CodeSniffer/ [ci-style] http://ellislab.com/codeigniter/user-gui...guide.html [ci4php-cs] https://github.com/thomas-ernest/CodeIgn...odeSniffer |
Welcome Guest, Not a member yet? Register Sign In |