• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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: 24)
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply

#3
Thank you. I will try  Angel
Reply

#4
(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?
Kristian Matthews
Apple Certified Associate Mac Integration & Management 10.10
epickris.com
Reply

#5
(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?
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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