Welcome Guest, Not a member yet? Register   Sign In
About Code Style
#1

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?
Reply
#2

I've attached my current one here. I don't know that covers all of it, but should cover most of it.

Attached Files
.zip   CodeIgniter4.xml.zip (Size: 1.32 KB / Downloads: 72)
Reply
#3

Thank you. I will try  Angel
Reply
#4

(08-11-2017, 11:09 AM)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?
Kristian Matthews
Apple Certified Associate Mac Integration & Management 10.10
epickris.com
Reply
#5

(08-14-2017, 12:13 PM)EpicKris Wrote:
(08-11-2017, 11:09 AM)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?
Reply
#6

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB