Review of the 8.x-3.x branch :

There some issues with code standards.
Should be fixed.

FILE: environment_indicator/environment_indicator.module
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------------------------------
25 | WARNING | Avoid backslash escaping in translatable strings when possible, use "" quotes instead
30 | WARNING | Avoid backslash escaping in translatable strings when possible, use "" quotes instead
39 | WARNING | Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
40 | WARNING | Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
41 | WARNING | Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders
43 | WARNING | Avoid backslash escaping in translatable strings when possible, use "" quotes instead
--------------------------------------------------------------------------------------------------------------------------------------------
FILE: environment_indicator/src/EnvironmentIndicatorPermissions.php
------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------
24 | WARNING | Unused variable $machine.

CommentFileSizeAuthor
#3 codingstandard-3154202-3.patch5.49 KBshetpooja04

Comments

shetpooja04 created an issue. See original summary.

shetpooja04’s picture

Assigned: Unassigned » shetpooja04
shetpooja04’s picture

Assigned: shetpooja04 » Unassigned
Status: Active » Needs review
StatusFileSize
new5.49 KB

I have fixed the coding standards as mentioned in the description

pratik_kamble’s picture

Assigned: Unassigned » pratik_kamble
deepalij’s picture

Assigned: pratik_kamble » deepalij
deepalij’s picture

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

Verified and tested patch #3. Patch applied successfully and looks good to me.

Testing Steps:
1. Check for the warnings by running the 'phpcs' command --> $ phpcs ./ --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml
2. Check the Warnings/Error found
3. Apply the patch
4. Again run the 'phpcs' command --> phpcs ./ --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,yml
5. Check the warnings/errors if found

Testing Result:
Warnings/errors were not fond after applying the patch and it is as per the coding standards.

Can be move to RTBC.

e0ipso’s picture

Thanks for the contribution!

  • e0ipso committed 6bc58cb on 4.x authored by shetpooja04
    Issue #3154202 by shetpooja04, DeepaliJ, pratik_kamble, e0ipso: Drupal...
e0ipso’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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