- Issue created by @sidharth_soman
- @sidharth_soman opened merge request.
- 🇮🇳India sidharth_soman Bangalore
Created an MR for the same. Please review.
- Issue was unassigned.
- 🇵🇭Philippines paraderojether
Hi sidharth_soman
I reviewed MR!1 and the previous issues are fixed. However, I'm getting new errors and warnings shown below:
FILE: /Users/studenttrainees/New/drupalorgsite/docroot/modules/contrib/node_protector/node_protector.module
-----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------
17 | WARNING | There must be no blank line following an inline comment
-----------------------------------------------------------------------------------------------------------FILE: ...enttrainees/New/drupalorgsite/docroot/modules/contrib/node_protector/src/Form/NodeProtectorSettingsForm.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
96 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for
| | variables
96 | ERROR | Concatenating translatable strings is not allowed, use placeholders instead and only one string
| | literal
-----------------------------------------------------------------------------------------------------------------FILE: ...rainees/New/drupalorgsite/docroot/modules/contrib/node_protector/src/Controller/NodeProtectorController.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
8 | ERROR | Doc comment short description must be on a single line, further text should be a separate paragraph
-----------------------------------------------------------------------------------------------------------------Time: 304ms; Memory: 10MB
Please check.
Thank You. - First commit to issue fork.
- Status changed to Needs review
almost 2 years ago 4:48am 28 April 2023 - Status changed to RTBC
almost 2 years ago 5:00am 28 April 2023 - 🇮🇳India Anmol_Specbee
The patch is working as expected, Moving to RTBC.
- Status changed to Needs work
almost 2 years ago 3:25pm 20 May 2023 - First commit to issue fork.
- Status changed to Needs review
almost 2 years ago 5:36pm 20 May 2023 - Status changed to Fixed
almost 2 years ago 2:17am 21 May 2023 - 🇮🇩Indonesia drupalnesia
All errors related to PHPCS fixed on 1.0.4 today, thanks all.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Needs review
almost 2 years ago 9:55am 4 June 2023 - 🇮🇹Italy apaderno Brescia, 🇮🇹
This was not fixed. In fact, the node_protector.info.yml file contains the following lines.
name: Node Protector description: Protect node from Delete. package: Administration type: module core_version_requirement: ^8 || ^9 || ^10 dependencies: version: '1.0.2' project: 'node_protector'
That is its content in either the 1.0.x branch or the 1.0.4 tag.
- Status changed to Fixed
over 1 year ago 7:02am 6 January 2024 - 🇮🇩Indonesia drupalnesia
name: Node Protector description: Protect node from Delete. package: Administration type: module core_version_requirement: ^8 || ^9 || ^10 dependencies: # version: '1.0.2' # project: 'node_protector' # Information added by Drupal.org packaging script on 2023-05-21 version: '1.0.4' project: 'node_protector' datestamp: 1684635367
- 🇮🇹Italy apaderno Brescia, 🇮🇹
1 | WARNING | Remove "project" from the info file, it will be added by drupal.org packaging automatically 1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
Those lines have not been removed from the node_protector.info.yml file.
name: Node Protector description: Protect node from Delete. package: Administration type: module core_version_requirement: ^8 || ^9 || ^10 dependencies: version: '1.0.2' project: 'node_protector'
Automatically closed - issue fixed for 2 weeks with no activity.