Closed (fixed)
Project:
jQuery Update
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2014 at 12:07 UTC
Updated:
7 Nov 2022 at 13:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
trogels commentedComment #2
trogels commentedComment #3
markhalliwellA general phpcs coder review should happen on this project.
Comment #4
markhalliwellComment #5
markhalliwellComment #6
anoopsingh92Hi,
I am checking this.
Thanks
Comment #7
mcdruid commentedAny changes will be in the 7.x-4.x branch.
Comment #8
anoopsingh92I was trying to apply patch #1. That was not working now That's why I am working on it.
Getting this error.
Thanks
Comment #9
anoopsingh92Hello,
I have fixed some issues and uploaded a patch.
please review this patch.
These issues are still pending.
Thanks
Comment #10
anoopsingh92Comment #11
atul_ghate commentedI will review this patch.
Comment #12
solideogloria commentedThe status should remain "Needs Work" until all the pending issues have been resolved.
Comment #13
mulambo commentedI've updated patch 9 to fix remaining problems.
Comment #14
mcdruid commentedIf we want to do this to 7.x-4.x we'll need a new patch and preferably as soon as possible as we're hoping to create a stable release from this branch, after which I don't anticipate many significant changes.
Comment #15
mcdruid commentedHere's the result of running:
...against 7.x-4.x today.
The output was:
Let's check if these changes look sane and ensure there's no problem with tests (keeping in mind that test coverage is pretty minimal still).
Comment #16
mcdruid commentedThe CBF changes mostly look okay, but here are a couple of manual tweaks; I mostly didn't like what had been done to the
t()'s arrays in form API definitions.Running CBF again confirms "No fixable errors were found".
I think we could commit these and then look at the remaining issues that require manual fixes.
Comment #18
mcdruid commentedManual fixes required to get the following to pass (/ run) with no output:
I wasn't sure about adding the type hinting for arrays, but I've checked manually in PHP 5.3 and everything seems to work okay.
Let's check that tests still pass.
Comment #20
mcdruid commentedHopefully that's everything for now.
Will try to review any future changes with phpcs too.
Thanks everybody that contributed!