Give module needs to be converted to use short array syntax as per new coding standard.

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
Status: Active » Needs review
StatusFileSize
new37.76 KB
dhruveshdtripathi’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new141.58 KB

Patch applied cleanly. Arrays in the module converted to short array syntax. Few t() functions also converted to $this->t().

Excellent work!

mlncn’s picture

Status: Reviewed & tested by the community » Needs work

Sorry, needs re-roll after David's work was brought in on May 1.

mlncn@t420:give [8.x-1.x]$ git apply short_array_syntax-2872236-2.patch
error: patch failed: src/Form/Donation/DonationEditForm.php:56
error: src/Form/Donation/DonationEditForm.php: patch does not apply
error: patch failed: src/Form/Donation/DonationForm.php:144
error: src/Form/Donation/DonationForm.php: patch does not apply
error: patch failed: src/Form/Donation/PaymentForm.php:97
error: src/Form/Donation/PaymentForm.php: patch does not apply

dhruveshdtripathi’s picture

Assigned: Unassigned » dhruveshdtripathi
dhruveshdtripathi’s picture

Status: Needs work » Needs review
StatusFileSize
new34.42 KB

Updated patch

zalak.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new35.4 KB
new244.25 KB

@dhruveshdtripathi, Thanks for your patch it works as expected, I Checked it manually by applying your patch in module file. I have also verified your changes according to pareview.sh result. PFA

gnuget’s picture

I rerolled your patch and commited it.

Thanks!!!

gnuget’s picture

Status: Reviewed & tested by the community » Fixed
mlncn’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.