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

Primary tabs

Review of the 8.x-1.x branch (commit 0022a84):
  • The nextpre.module does not implement hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .
  • Bad line endings were found, always use unix style terminators. See https://www.drupal.org/coding-standards#indenting
    ./.gitignore:                             ASCII text, with no line terminators
    
    
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...upal/pareviewsh/pareview_temp/src/Plugin/Block/NextPreviousBlock.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     86 | WARNING | NodeType::loadMultiple calls should be avoided in
        |         | classes, use dependency injection instead
    --------------------------------------------------------------------------
    
    Time: 245ms; Memory: 4Mb
    
  • DrupalSecure has found some issues with your code (please check the Writing secure core handbook).
    
    
    FILE: ...0/site1101/web/vendor/drupal/pareviewsh/pareview_temp/nextpre.module
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are
       |         | not allowed by this install of PHP. This file may be using
       |         | short open tags but PHP does not allow them.
    --------------------------------------------------------------------------
    
    Time: 125ms; Memory: 4Mb
    
  • 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.