zoonman/linkedin-api-php-client

View on GitHub

Showing 3 of 3 total issues

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
        Severity
        Category
        Status
        Source
        Language