zoonman/linkedin-api-php-client

View on GitHub
src/Client.php

Summary

Maintainability
C
7 hrs
Test Coverage

Client has 30 functions (exceeds 20 allowed). Consider refactoring.
Open

class Client
{

    /**
     * Grant type
Severity: Minor
Found in src/Client.php - About 3 hrs to fix

    File Client.php has 285 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * linkedin-client
     * Client.php
     *
    Severity: Minor
    Found in src/Client.php - About 2 hrs to fix

      Method upload has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function upload($path)
          {
              $headers = $this->getApiHeaders();
              unset($headers['Content-Type']);
              if (!$this->isUsingTokenParam()) {
      Severity: Minor
      Found in src/Client.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status