francis94c/ci-bulksmsnigeria

View on GitHub
libraries/BulkSMSNigeria.php

Summary

Maintainability
A
0 mins
Test Coverage

Method sendSMS has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  function sendSMS($to, string $message, ?string $senderId=null, ?int $dnd=null):bool
  {
    $senderId = $senderId ?? $this->senderId;
    $dnd = $dnd ?? $this->dnd;

Severity: Minor
Found in libraries/BulkSMSNigeria.php - About 1 hr to fix

    Method sendSMSWithViewTemplate has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

      public function sendSMSWithViewTemplate($to, string $view, ?array $args=null, ?string $senderId=null, ?int $dnd=null):bool
    Severity: Minor
    Found in libraries/BulkSMSNigeria.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status