https://git.drupal.org/project/social_auth_mastodon.git

Primary tabs

Review of the 8.x-2.x branch (commit de99a2c):
  • 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: ...rupal/pareviewsh/pareview_temp/src/Settings/MastodonAuthSettings.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
 27 | ERROR | [x] Doc comment short description must end with a full stop
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------


FILE: ...l/pareviewsh/pareview_temp/src/Controller/MastodonAuthController.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------
  9 | WARNING | [x] Unused use statement
 13 | WARNING | [x] Unused use statement
 21 | ERROR   | [ ] Parameter $user_authenticator is not described in
    |         |     comment
 28 | ERROR   | [ ] Doc comment for parameter $user_manager does not
    |         |     match actual variable name $data_handler
 68 | ERROR   | [x] Expected 1 space after IF keyword; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

Time: 1.13 secs; Memory: 4Mb