Problem/Motivation

The module has issues with coding standards.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Yurii O. created an issue. See original summary.

yurii o.’s picture

Status: Active » Needs review
StatusFileSize
new10.7 KB

I made changes, check pls

yurii o.’s picture

yurii o.’s picture

Project: Rabbit Hole » Commerce Liqpay
Version: 2.x-dev » 8.x-1.x-dev
victoria-marina’s picture

Assigned: Unassigned » victoria-marina
Status: Needs review » Needs work
victoria-marina’s picture

Assigned: victoria-marina » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.45 KB
new11.92 KB

There were still some errors after the #2 and I've fixed them, except this one:

FILE: commerce_liqpay/commerce_liqpay.module
--------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------
  8 | WARNING | Global constants should not be used, move it to a class or interface
  9 | WARNING | Global constants should not be used, move it to a class or interface
 10 | WARNING | Global constants should not be used, move it to a class or interface
--------------------------------------------------------------------------------------------------------------
andregp’s picture

StatusFileSize
new12.86 KB
new2.29 KB

Thanks @Yurii O. an @victoria-marina for working on this. Here are the last fixes.

tmaiochi’s picture

Assigned: Unassigned » tmaiochi

I'll do the review.

tmaiochi’s picture

Assigned: tmaiochi » Unassigned
Status: Needs review » Reviewed & tested by the community

Steps performed:
(1) Installed module
(2) Reproduced the issue.
(3) Applied patch.
(4) Code review on changes.
(5) Tested again with patch, issue resolved.
The patch #7 fixed all messages from PHPCS correctly and the module is working as far as I can test.

ReINFaTe made their first commit to this issue’s fork.

reinfate’s picture

Assigned: Unassigned » reinfate
Status: Reviewed & tested by the community » Needs work

  • bohart committed a6eaf6c1 on 2.0.x authored by ReINFaTe
    Issue #3259589 by ReINFaTe, victoria-marina, andregp, Yurii O., tmaiochi...
bohart’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
Assigned: reinfate » Unassigned
Status: Needs work » Fixed
Issue tags: +Coding standards

Committed to a brand new 2.0.x branch (D10 branch).

Thanks, @all!

Status: Fixed » Closed (fixed)

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