coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

Looking for CodeIgniter 3

Open ngekoding opened this issue 2 years ago • 5 comments

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

Thanks in advance

ngekoding avatar Dec 20 '23 03:12 ngekoding

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.

kenjis avatar Dec 20 '23 03:12 kenjis

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.

paulbalandan avatar Dec 20 '23 03:12 paulbalandan

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?

ngekoding avatar Dec 20 '23 07:12 ngekoding

You may reach out to the forums for help.

We use GitHub only to track bug reports. Thanks!

paulbalandan avatar Dec 20 '23 07:12 paulbalandan

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

kenjis avatar Dec 20 '23 07:12 kenjis