Comments

denisveg created an issue. See original summary.

vdenis’s picture

Issue summary: View changes
StatusFileSize
new148.33 KB
deepanker_bhalla’s picture

Status: Active » Needs work
StatusFileSize
new1.29 KB

Fixed some of the coding standard issues.

msankhala’s picture

Status: Needs work » Reviewed & tested by the community

@deepanker_bhalla Good work. I can confirm the patch #3 is applying cleanly and fixing all the coding standard reported by the PHPCS. Here is the output:

❯ eu-cookie-compliance 8.x-1.x* git apply -v 3001177-coding-standard-2_0.patch
Checking patch eu_cookie_compliance.module...
Checking patch src/Plugin/ConsentStorage/BasicConsentStorage.php...
Applied patch eu_cookie_compliance.module cleanly.
Applied patch src/Plugin/ConsentStorage/BasicConsentStorage.php cleanly.

❯ eu-cookie-compliance 8.x-1.x* phpcs --standard=Drupal .

❯ eu-cookie-compliance 8.x-1.x*

PHPCS is reporting no coding standard warning after applying the patch #3.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 3001177-coding-standard-2.patch, failed testing. View results

msankhala’s picture

Status: Needs work » Reviewed & tested by the community

Its a test bot hickup. The build was successful.

svenryen’s picture

Thanks for the patch. Would anybody be interested in doing a similar job for D7?

svenryen’s picture

Drupal 7 patch

svenryen’s picture

StatusFileSize
new10.91 KB

Updated patch, since array type hints are available in PHP5.

  • svenryen committed e535c77 on 7.x-1.x
    Issue #3001177 by svenryen, deepanker_bhalla, denisveg: Coding standard
    
svenryen’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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