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

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.
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/tests/src/Functional/WithOtlLogout.php
--------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
34 | ERROR | [ ] Public method name "WithOtlLogout::testOTL" is not in
| | lowerCamel format
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...l/pareviewsh/pareview_temp/tests/src/Functional/WithoutOtlLogout.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
40 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
73 | ERROR | [ ] Public method name "WithoutOtlLogout::testOTL" is not
| | in lowerCamel format
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 622ms; Memory: 4Mb

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ankush_03’s picture

Attached Patch for the same.

Ankush_03’s picture

PHP 5.5 & MySQL 5.5, D8.8.1 Composer config failure

For the above issue please create composer.json file for the same.

Ankush_03’s picture

Ankush_03’s picture

Status: Needs work » Needs review
DamienMcKenna’s picture

Status: Needs review » Needs work

The proposed changes to README.txt make the file messier than it already is, with redundant headings, unnecessary indentation, etc.

The proposed change to WithoutOtlLogout::$modules isn't correct as second commented line is commented out PHP code, not just English text, as such it should be left as valid PHP code; if anything the line could be wrapped with @code and @endcode.

abhijeet.kumar2107’s picture

Assigned: Unassigned » abhijeet.kumar2107
pavnish’s picture

pavnish’s picture

Assigned: pavnish » Unassigned
Webbeh’s picture

Title: Maintain drupal Coding Standarad » PAReview.sh recommended fixes
Suresh Prabhu Parkala’s picture

Status: Needs work » Needs review
FileSize
3.41 KB

Please review the patch.

DamienMcKenna’s picture

Status: Needs review » Fixed
Parent issue: » #3236275: Plan for OTL Logout 8.x-1.2

Committed. Well, part of it. Thank you.

Status: Fixed » Closed (fixed)

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