-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phpcbf: fix all at once #1450
phpcbf: fix all at once #1450
Conversation
Interesting. DId you have any issues similar to what I described, with nested arrays messing phpcbf up? |
hmmm - judging from the travis run, it looks like phpcbf created a few problems :-/ |
Yes. I thought that was a type hint check. |
Some errors could not be fixed. First I removed the ThirdParty from system (I do not found a way to ignore it) and run:
The put the ThirdParty in the place. |
|
I think that we should disable phpcbf until either the coding-standard gets upgraded, or the phpcbf issues (if the fault lies there) get addressed :( This is looking ridiculous! |
14056bc
to
015d7b0
Compare
35195f7
to
7587bfa
Compare
Good job! maybe we don't need to disable phpcbf?? |
I do not know. I like the pre-commit hook. When I use SublimeText, I reformat the code using this package https://github.com/Ennosuke/PHP-Codebeautifier with this settings: {
"path": "~/.config/composer/vendor/bin/phpcbf",
//"level": "PSR12",
"level": "CodeIgniter4",
"patch": "true",
"encoding": "UTF-8",
"on_save": false,
"on_load": false,
"syntaxes": [
"Packages/PHP/PHP.tmLanguage",
"Packages/PHP/PHP.sublime-syntax"
],
"suffix": "",
"sniffs": [],
"tab_width": ""
} With PhpStorm, I created rules according with the CodeIgnite4 Standard. Netbeans is buggy here. |
Sorry - some of the changes I had in progress broke some of the work you were doing. |
Description
This avoids the amount of changes in the next revisions.
Checklist: