Review of the 8.x-1.x branch (commit d516551):

Your README.txt does not follow best practices (headings need to be uppercase). See https://www.drupal.org/node/2181737 .
The INTRODUCTION section is missing.
The REQUIREMENTS section is missing.
The INSTALLATION section is missing.
The CONFIGURATION section is missing.
Remove LICENSE.txt, it will be added by drupal.org packaging automatically.
The prevent_homepage_deletion.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
No automated test cases were found, did you consider writing PHPUnit tests? This is not a requirement but encouraged for professional software development.

This automated report was generated with PAReview.sh, your friendly project application review script.

FILE: ...00000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/README.txt
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------
5 | WARNING | Line exceeds 80 characters; contains 110 characters
6 | WARNING | Line exceeds 80 characters; contains 87 characters
9 | WARNING | Line exceeds 80 characters; contains 83 characters
10 | WARNING | Line exceeds 80 characters; contains 94 characters
--------------------------------------------------------------------------

FILE: ...dor/drupal/pareviewsh/pareview_temp/prevent_homepage_deletion.module
--------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
12 | ERROR | [x] Missing function doc comment
25 | ERROR | [x] Missing function doc comment
41 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...or/drupal/pareviewsh/pareview_temp/prevent_homepage_deletion.install
--------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
8 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "*
| | Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.html.twig.", "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
| | Implements hook_foo_BAR_ID_bar() for block templates."
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 428ms; Memory: 4Mb

Comments

ankush_03’s picture

Status: Active » Needs review
StatusFileSize
new22.26 KB
ankush_03’s picture

StatusFileSize
new22.32 KB

Adding updated patch file !

akashkumar07’s picture

Title: Maintain drupal Coding Standarad » Maintain drupal Coding Standard

Patch looks good to me. Just need to remove extra whitespace.
And, please tell me, why license.txt deleted in this patch.

Thanks

joshahubbers’s picture

StatusFileSize
new22.33 KB

Thank You.

Ik corrected some spelling mistakes and will apply your patch.

  • JoshaHubbers authored ccf77e2 on 8.x-1.x
    Issue #3108500 by ankushgautam76@gmail.com, JoshaHubbers: Maintain...
joshahubbers’s picture

Status: Needs review » Fixed

Thank you for your attribution.

Status: Fixed » Closed (fixed)

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