Review of the 8.x-1.x branch (commit b522584):
Your README.md 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.
The hide_preview.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.
This automated report was generated with PAReview.sh, your friendly project application review script.
FILE: ...upal/pareviewsh/pareview_temp/src/tests/src/Unit/HidePreviewTest.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
11 | ERROR | [x] Tag value indented incorrectly; expected 1 space but
| | found 3
58 | ERROR | [x] Expected 1 blank line after function; 0 found
59 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...r/drupal/pareviewsh/pareview_temp/src/Form/HidePreviewConfigForm.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
137 | ERROR | [x] Expected 1 blank line after function; 0 found
138 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
Time: 552ms; Memory: 4Mb
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hide_preview-3107914-interdiff-2-3.txt | 1.74 KB | Webbeh |
| #3 | hide_preview-3107914-3.patch | 2.56 KB | Webbeh |
Issue fork hide_preview-3107914
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ankush_03Comment #3
Webbeh@ankushgautam76@gmail.com, your changes introduced some issues into the README. Adjusting - for review.
Removed the "No" under requirements and added more appropriate copy.
Converted CONFIGURATION into a numbered list.
Removed CUSTOMIZATIONS.
Comment #4
timothee.moulin commentedComment #7
timothee.moulin commentedYour patches have been applied
thanks
Comment #8
timothee.moulin commentedComment #9
timothee.moulin commented