Uh oh!
There was an error while loading. Please reload this page.
Revised coding standards - #4763
Conversation
MGatner
commented
Jun 1, 2021
I've been following your work this morning on NexusPHP CS Config. I like the project and the approach, but is there any way we can integrate this with |
MGatner
commented
Jun 1, 2021
For this PR it appears that some spacing rules have been applied. I like your plan of keeping rules separated - could this PR just be the change to the utility, without applying it at all? |
paulbalandan
commented
Jun 1, 2021
Actually, I have talked this with Louis before (some time in late last year) and he's not in favor of integrating this as involved are two different cs tools. He believes changing CS on a major version bump would make users "caught off guard" and suggested opening a new repo instead in the |
paulbalandan
commented
Jun 1, 2021
The spacing changes happened for the array contents. our current cs maintains a 0.75 tab space and aligns the array closing brace with the nearest element.
Sorry, I do not understand this. 😅 |
MGatner
commented
Jun 1, 2021
Okay that sounds great. I'm not so much after keeping it on the current repo as having it a part of the CodeIgniter organization so we can publish the expectation that all projects use it as the official styler.
Oops! I just meant: can this PR update the workflows, Composer, config files, etc without changing any code in system/ or tests/? |
Uh oh!
There was an error while loading. Please reload this page.
paulbalandan
commented
Jun 2, 2021
So should the changes be in a separate PR? |
MGatner
commented
Jun 2, 2021
@paulbalandan Can you come weigh in on the PSR conversation at |
paulbalandan
commented
Jun 3, 2021
I'll break the actual code changes in a separate PR. |
4718005 to
cb4021fComparecb4021f to
8fbba76Comparepaulbalandan
commented
Jun 3, 2021
OK. I don't know what happened. 😂 |
Description
This is yet another attempt to migrate to
php-cs-fixeras our cs tool.utils/PHPCSFixer/CodeIgniter4.phpcontains the rules, while.php-cs-fixer.dist.phpis the configuration file as per v3.0 ofphp-cs-fixerI have not yet added all available rules as diffs will become astronomically large. My goal is to add the rules in batches until we can move this in its own repo so that other repos (like the
translationsetc.) can benefit from the same ruleset.Checklist: