- Issue created by @noorulshameera
- Status changed to Needs review
almost 2 years ago 2:23pm 8 February 2023 - Assigned to samit.310@gmail.com
- 🇮🇳India samit.310@gmail.com
I will review patch #2 📌 Fix coding standard issue | PHPCS Fixed
- Status changed to Needs work
almost 2 years ago 3:38am 14 February 2023 - 🇮🇳India samit.310@gmail.com
Hi @noorulshameera, following errors are still exists after applying #2 📌 Fix coding standard issue | PHPCS Fixed Patch.
FILE: /var/www/html/modules/contrib/node_keep/node_keep.module
-----------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------
160 | WARNING | Only string literals should be passed to t() where possible
-----------------------------------------------------------------------------FILE: /var/www/html/modules/contrib/node_keep/node_keep_token/node_keep_token.module
------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------
141 | WARNING | Unused variable $nid.
145 | WARNING | Only string literals should be passed to t() where possible
149 | WARNING | Only string literals should be passed to t() where possible
153 | WARNING | Only string literals should be passed to t() where possible
------------------------------------------------------------------------------------FILE: /var/www/html/modules/contrib/node_keep/node_keep_token/src/NodeKeepTokenService.php
----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------
190 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------Time: 3.11 secs; Memory: 6MB
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 3:40am 14 February 2023 - 🇮🇳India samit.310@gmail.com
New patch to fix above errors.
interdiff with #2 📌 Fix coding standard issue | PHPCS Fixed
- Status changed to RTBC
almost 2 years ago 5:44am 14 February 2023 - 🇮🇳India mrinalini9 New Delhi
Reviewed patch #5, looks good to me. It applied cleanly and fixed all PHPCS errors and warnings.
So, moving this to RTBC.Thanks & Regards,
Mrinalini - First commit to issue fork.
- 🇮🇳India urvashi_vora Madhya Pradesh, India
Reviewed and tested patch #5
urvasi@urvasi-Inspiron-15-3552:/var/www/html/contribution/drupal/web/modules/contrib/node_keep-3340281$ git apply -v 3340281-5.patch Checking patch node_keep.module... Checking patch node_keep_token/node_keep_token.module... Checking patch node_keep_token/node_keep_token.services.yml... Checking patch node_keep_token/src/NodeKeepTokenService.php... Applied patch node_keep.module cleanly. Applied patch node_keep_token/node_keep_token.module cleanly. Applied patch node_keep_token/node_keep_token.services.yml cleanly. Applied patch node_keep_token/src/NodeKeepTokenService.php cleanly.
It was applied smoothly.
RTBC++
Committing the changes to help the maintainers.
- @urvashi_vora opened merge request.
-
samit.310@gmail.com →
authored cd8c5dc0 on 2.x
Issue #3340281: Fix coding standard issue | PHPCS
-
samit.310@gmail.com →
authored cd8c5dc0 on 2.x
- Status changed to Fixed
over 1 year ago 11:08am 24 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.