• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what code formatting tool does CodeIgniter use to style/format its code?

what code formatting tool does CodeIgniter use to style/format its code?

Or do the developers manually maintain the code format on the fly?

I'm not a member of Ellislab, so I don't know what are the formatting tools or syntax checkers used within the company.

I'm used to check my code with PHP_CodeSniffer [1] for several months. I started developing CodeIgniter Style Guide [2] for PHP_CodeSniffer, since I had not found any implementation though there are implementations for PEAR and Zend among few others.

I would like to share my implementation with CodeIgniter Community. How should I do so ?

I also heart about phpCodeBeautifier [3], but I have never used it. I cannot tell what the pros and cons are...

[1] http://pear.php.net/manual/en/package.ph...niffer.php
[2] http://ellislab.com/codeigniter/user-gui...guide.html
[3] http://www.waterproof.fr/products/phpCodeBeautifier/

I'm very interested in seeing/stealing your sniffer for the CodeIgniter style guide. With CI now being hosted on BitBucket, I'd recommend putting it up there and then linking to it from this thread and also from the wiki.

I already put my code at GitHub [1] few days ago.
I don't know BitBucket, but if you point me to some documentation, I could share it on BitBucket too. However, you need to know that code (repository) duplication is none of my habits.

I open a new thread [2] in category "Ignited Code" to respect forum classification. Please post on this new thread [2], if you want to talk about improving or using this tool.

I guess we should wait a more stable version, before putting a link in the wiki. Nonetheless, I didn't think about it, thank you for the idea.


[1] https://github.com/thomas-ernest/CodeIgn...odeSniffer
[2] http://ellislab.com/forums/viewthread/180084/

Yeah, with it on GitHub already there's no reason to put it on BitBucket too.

Looks like a great start, I'll be playing around with it this weekend, maybe look into helping you knock out some of the todo items in the code.

Thanks for sharing!

Right. I read a bit more about BitBucket. I hope GitHub will be enough.

It may always remain some errors in my code. Feel free to ask for help or for details about weird behaviours (I don't know it may happen). I'll try to give you my email via CodeIgniter forum emailing service.

Have a nice week-end Wink

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.