Unix Time Conversion module needs to be converted to use short array syntax as per new coding standard.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
Status: Active » Needs review
FileSize
11.24 KB
dhruveshdtripathi’s picture

Fixed whitespace warnings.

amit.drupal’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
110.75 KB

Thanks @dhruveshdtripathi for patch

Patch applied cleanly. All the arrays converted to short array syntax. Checked it manually.
it is working fine. Moving to RTBC

kunalkursija’s picture

Status: Reviewed & tested by the community » Needs work

Hi @Munavijayalakshmi @dhruveshdtripathi

I have created a new branch called 8.x-2.x, Where few other patches are applied as well and this branch will be used to create a 8.x-2.0 release.

So i tried to apply the patch there, But it failed.

Changing Status to `Needs Work`.

kunalkursija’s picture

Just an update: Both #2 & #3 did not work for me on 8.x-2.x.

dhruveshdtripathi’s picture

Assigned: Unassigned » dhruveshdtripathi
dhruveshdtripathi’s picture

Assigned: dhruveshdtripathi » Unassigned
Status: Needs work » Needs review
FileSize
13.75 KB

Hi Kunal

I clone 8.x-2.x branch and created following patch based on that. Please apply the following patch on 8.x-2.x branch. I made following changes:

  • Converted all the array() function to short array syntax
  • Removed few extra spaces
  • Added required new lines at the end of some files

kunalkursija’s picture

Have committed to 8.x-2.x branch.
Thanks for #8 @dhruveshdtripathi.

kunalkursija’s picture

Status: Needs review » Fixed

Changing Status.

Status: Fixed » Closed (fixed)

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