Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Views Infinite Scroll module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#10 | 2930654-10.patch | 2.42 KB | valthebald |
| |||
#8 | 2930654-convert-module_after-patch-8.PNG | 14.89 KB | Akanksha92 |
#6 | interdiff_3-6.txt | 2.71 KB | deepanker_bhalla |
#6 | 2930654-convert-module-6.patch | 3.73 KB | deepanker_bhalla |
| |||
#3 | short_array_syntax-2930654-3.patch | 702 bytes | Venkatesh Rajan.J |
|
Comments
Comment #2
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commentedComment #3
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commentedComment #4
s.messaris CreditAttribution: s.messaris commentedThis looks good to go, it fixes the only remaining use of the long array syntax.
Comment #5
deepanker_bhalla CreditAttribution: deepanker_bhalla as a volunteer and at Srijan | A Material+ Company commented@Venkatesh Rajan.J Good work. I can confirm the patch #3 is applying cleanly. Here is the output:
/modules/git/views_infinite_scroll$ git apply -v short_array_syntax-2930654-3.patch
Checking patch views_infinite_scroll.module...
Applied patch views_infinite_scroll.module cleanly.
_________________________________________________________________________________________________________
But after checking with phpcs --standard=Drupal views_infinite_scroll/....... I am getting some more issues i.e.
Comment #6
deepanker_bhalla CreditAttribution: deepanker_bhalla as a volunteer and at Srijan | A Material+ Company commentedThus updating the patch with resolved issues. Kindly review.
Comment #7
BramDriesenLooks good to me :)
Comment #8
Akanksha92 CreditAttribution: Akanksha92 commented@deepanker_bhalla the patch looks good. The patch applied to the module successfully. Please find the attached screenshot for the same.
Comment #9
Honza Pobořil CreditAttribution: Honza Pobořil as a volunteer commentedNeeds reroll.
Comment #10
valthebaldHere's the rerolled patch. Not producing interdiff, since HEAD has changed significantly since the last check
`phpcs --standard=Drupal` now only reports long lines in README.txt
Comment #11
Neslee Canil PintoThis issue is fixed. Thanks
Comment #12
Neslee Canil Pinto