There were some issues with coding standards, like unnecessary string concat, 2 newlines at end of file, duplicated entry for "core" in info file and no blank line after the file comment.
I created a patch to fix all issues found on coder, I also attached the coder report.

Added another patch to revert unnecessary blank line after minified JS.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Algarte created an issue. See original summary.

Algarte’s picture

Status: Needs review » Needs work

The last submitted patch, 2: coding_standards-2887356-2.patch, failed testing. View results

Algarte’s picture

mikeytown2’s picture

String concat is for better readability. Core issue is because you checked via the dev download and not git; any patch you write will fail because of that.

Algarte’s picture

Status: Needs work » Needs review
FileSize
1.06 KB
380 bytes

Thank you @mikeytown2 for clarifying those issues for me, after cloning the git version 7.x-2.x i managed to run coder again and had fewer issues.
Since I only removed the blank line after the file comment, there is no need to give any credits to me, my goal is to learn more about how to contribute to the community and also learn more about Drupal.

I attached two new files, the coder report and the new patch.

Status: Needs review » Needs work

The last submitted patch, 6: coding_standards-2887356-6.patch, failed testing. View results

mikeytown2’s picture

Status: Needs work » Needs review
FileSize
336 bytes

Thanks for the new patch! This is how the patch should look. Also https://pareview.sh/node/628 is pretty helpful for any d.o project.

  • mikeytown2 committed 1a25697 on 7.x-2.x
    Issue #2887356 by Algarte, mikeytown2: Coding Standards Issues
    
mikeytown2’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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