CodeIgniter Forums

Full Version: About Code Style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I'm using PhpStorm. PhpStorm has a support for PSR1/PSR2 with Codeigniter 3. What about CI 4 ? Do we have ? Or how can we make one ?  I'm using this page for editing my IDE code formats, https://www.codeigniter.com/userguide3/g...guide.html

Can any one share if already build it?
I've attached my current one here. I don't know that covers all of it, but should cover most of it.
Thank you. I will try  Angel
(08-11-2017, 12:09 PM)kilishan Wrote: [ -> ]I've attached my current one here. I don't know that covers all of it, but should cover most of it.

Could we make an exception for this in source control?
(08-14-2017, 01:13 PM)EpicKris Wrote: [ -> ]
(08-11-2017, 12:09 PM)kilishan Wrote: [ -> ]I've attached my current one here. I don't know that covers all of it, but should cover most of it.

Could we make an exception for this in source control?

I'm not sure I follow. Once imported, it shouldn't be in the project anymore, just the IDE, right?
Hasn't been tested much yet and is subject to change but I've created this PHPCS Standard https://github.com/louisl/CodeIgniter4-Standard.

I don't use PHPStorm but here's a guide I found on how to install other standards https://confluence.jetbrains.com/display...n+PhpStorm.