There were some issues with coding standards, so I created a patch to fix some issues found on coder. Left some issues like "Type hint 'array' missing" and "Missing parameter type". If you find those issues to be critical, just change this Issue to "needs work".

Pareview Coder Issues

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Algarte created an issue. See original summary.

Algarte’s picture

Algarte’s picture

Assigned: Algarte » Unassigned
Algarte’s picture

Status: Active » Needs review
Yago Elias’s picture

Hi @algaerte! Just some small fixes!

Algarte’s picture

Status: Needs review » Reviewed & tested by the community

Thank you @Yago Elias for pointing out those issues. I realized that i don't need to fix all warnings and errors.

Some of them are false positives or does not make sense to fix.
I tested your patch and it worked fine.

Thanks once again.

pjcdawkins’s picture

Category: Bug report » Task
Priority: Normal » Minor
Status: Reviewed & tested by the community » Postponed

I can run some clean-up before the next release, but it's not going to be following an automatic checker.

  1. +++ b/includes/OpenIDConnectClientInterface.class.php
    @@ -5,6 +5,9 @@
    +/**
    + * Interface OpenIDConnectClientInterface.
    + */
     interface OpenIDConnectClientInterface {
    

    This docblock might be following the letter of a coding standard, but it's not an improvement.

  2. +++ b/includes/OpenIDConnectClientInterface.class.php
    @@ -98,7 +101,7 @@ interface OpenIDConnectClientInterface {
    +   * @return array|false
    

    In Drupal's coding standards, "constants" including TRUE, FALSE and NULL should be in uppercase, so this fix is invalid (see https://www.drupal.org/docs/develop/standards/coding-standards).

jcnventura’s picture

Status: Postponed » Active

Found this issue after fixing the code standards for Drupal 7.

  • jcnventura authored 6680eaf on 7.x-1.x
    Issue #2888112 by Yago Elias, Algarte, jcnventura: Coding Standards
    
jcnventura’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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