Problem/Motivation
Let's try to get rid of those phpcs warnings, once and for all 🤞
Issue fork pathauto-3571880
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
berdirThere are 3 RTBC issues that resolve a subset of phpcs issues each, connected to an existing meta issue. Why start a new one?
Comment #4
mably commentedComment #5
mably commentedI tried to work on the original ones, but the rebases were too fastidious to process.
It was a lot quicker to do it from scratch.
These are globally pretty basic fixes, nothing fancy.
Comment #6
mably commentedComment #7
mably commentedComment #8
berdirI only checked the comment one, that only had fairly minor conflicts on the two .module files I think.
I had a quick look at the changes, I noticed some minor things such as a return void that I would just drop. There's also the large chunk of commented out code, as I think I commented in the existing issue there, I'd prefer just dropping that instead of formatting it in a weird way to make phpcs happy, it's been there forever I don't think there's any real issue with how things look now, also on other entity types. Didn't do a full review.
If we go ahead with this and close the other issue then I think we should at least make sure to credit the people who worked on those issues, as some invested quite a bit of time into my requirement there to split things up.
Comment #9
mably commentedI have removed the commented code and the useless
@return void.Comment #10
berdirLooks fine I think, didn't read all the docs changes too carefully, but didn't spot anything wrong.
Comment #12
mably commented