seregazhuk/php-headhunter-api

View on GitHub

Showing 93 of 93 total issues

Only one argument is allowed per line in a multi-line function call
Open

            $this->getResourceUri($verb), $params
Severity: Minor
Found in src/EndPoints/Endpoint.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'POST', $uri, ['query' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'PUT', $uri, ['json' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'POST', $uri, ['multipart' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'PUT', $uri, ['json' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'PUT', $uri, ['query' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            $this->getResourceUri($verb), $params
Severity: Minor
Found in src/EndPoints/Endpoint.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            $this->getResourceUri($verb), $params
Severity: Minor
Found in src/EndPoints/Endpoint.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'POST', $uri, ['json' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            'POST', $uri, ['multipart' => $params]
Severity: Minor
Found in src/Request.php by phpcodesniffer

Only one argument is allowed per line in a multi-line function call
Open

            $this->getResourceUri($verb), $params
Severity: Minor
Found in src/EndPoints/Endpoint.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string|bool $employerId

Inline control structures are not allowed
Open

        if(!class_exists($class)) return false;

Spaces must be used to indent lines; tabs are not allowed
Open

        $this->headers = ['Authorization' => 'Bearer ' . $token];
Severity: Minor
Found in src/Request.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($token) $this->setToken($token);
Severity: Minor
Found in src/Request.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return json_decode($response->getBody(), true);
Severity: Minor
Found in src/Request.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity
Category
Status
Source
Language