https://git.drupal.org/project/image_approval.git 7.x-1.x

Primary tabs

Review of the 7.x-1.x branch (commit a7e2942):
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards).
    
    FILE: ...101/web/vendor/drupal/pareviewsh/pareview_temp/image_approval.module
    --------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    --------------------------------------------------------------------------
     156 | ERROR | Type hint "Object" missing for $upload
     180 | ERROR | Type hint "Object" missing for $awaiting
    --------------------------------------------------------------------------
    
    
    FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/image_approval.pages.inc
    --------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 1 LINE
    --------------------------------------------------------------------------
     101 | ERROR | Type hint "array" missing for $form
     101 | ERROR | Type hint "array" missing for $form_state
    --------------------------------------------------------------------------
    
    Time: 1.09 secs; Memory: 6Mb
    
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: .../web/vendor/drupal/pareviewsh/pareview_temp/image_approval.pages.inc
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     246 | WARNING | Unused variable $key.
    --------------------------------------------------------------------------
    
    Time: 664ms; Memory: 4Mb
    
  • No automated test cases were found, did you consider writing Simpletests or 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.