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

Primary tabs

Review of the 8.x-1.x branch (commit 0d62248):
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards).
    
    FILE: ...e1101/web/vendor/drupal/pareviewsh/pareview_temp/src/GoogleNLAPI.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     231 | WARNING | Only string literals should be passed to t() where
         |         | possible
    --------------------------------------------------------------------------
    
    Time: 397ms; Memory: 4Mb
    
  • DrupalPractice has found some issues with your code, but could be false positives.
    
    FILE: ...web/vendor/drupal/pareviewsh/pareview_temp/google_nl_api.routing.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------
     7 | WARNING | The administration page callback should probably use
       |         | "administer site configuration" - which implies the user
       |         | can change something - rather than "access administration
       |         | pages" which is about viewing but not changing
       |         | configurations.
    --------------------------------------------------------------------------
    
    Time: 187ms; 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.