codemasher/php-threema

View on GitHub

Showing 2 of 2 total issues

Gateway has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class Gateway{

    protected const API_BASE = 'https://msgapi.threema.ch';

    protected const API_ERRORS = [
Severity: Minor
Found in src/Gateway.php - About 3 hrs to fix

    Method sendE2EFile has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function sendE2EFile(string $recipientThreemaID, string $senderPrivateKey, string $file, string $filename = null, string $description = null, string $thumbnail = null):string{
    Severity: Minor
    Found in src/Gateway.php - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language