CodeIgniter / coding-standard

Official Coding Standards for CodeIgniter
MIT License
66 stars 9 forks source link

Looking for CodeIgniter 3 #14

Closed ngekoding closed 11 months ago

ngekoding commented 11 months ago

Hi, I just found this coding-standard for CodeIgniter 4 only. How about for CodeIgniter 3?

Thanks in advance

kenjis commented 11 months ago

Probably you can use this with CI3. But if you don't like this style, you can use and configure php-cs-fixer directly or customize this package. This package uses it.

paulbalandan commented 11 months ago

You may use this on your CI3 projects but there are rules changed between CI3 and CI4, such as tabs to spaces, alignment of { }, etc. If you want to retain those styles, you can add overrides.

ngekoding commented 11 months ago

I thought there are already configured rules to apply to CodeIgniter 3.

I don't really know what must to configure to follow the CodeIgniter 3 Style Guide.

Do you have any suggestions?

paulbalandan commented 11 months ago

You may reach out to the forums for help.

We use GitHub only to track bug reports. Thanks!

kenjis commented 11 months ago

You don't need to follow CodeIgniter 3 Style unless you send pull requests to CodeIginter3.