Closed (fixed)
Project:
Scheduler
Version:
8.x-1.x-dev
Component:
Coding Standards
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2020 at 11:58 UTC
Updated:
29 Oct 2020 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pooja Ganjage commentedHi,
I am creating a patch for this issue.
Please review the patch.
Thanks.
Comment #3
Pooja Ganjage commentedComment #4
jonathan1055 commentedHi Pooja,
Thanks for the patch. This problem is not reported at Coder 8.3.9 so does not show up on drupal.org tests. Have you installed Coder 8.3.10 locally? If so, you will see that there are still errors with the lines you have fixed.
The nice thing is that you can use
phpcbfto fix the problems automatically.Comment #5
Pooja Ganjage commentedHi,
I am creating patch with using phpcs and phpbf commands of coder 8.3.10 version.
@jonathan1055, I have not found any errors in coder 8.3.10 version itself.
Please review the patch.
Thanks.
Comment #6
Pooja Ganjage commentedComment #7
jonathan1055 commentedThanks. Yes patch #5 is correct. You can see the difference - the variable has to be at the end of the declaration.
patch #2
patch #5
Comment #9
jonathan1055 commentedThank you, committed and fixed.