seregazhuk/php-pinterest-bot

View on GitHub
src/Api/CurlHttpClient.php

Summary

Maintainability
A
2 hrs
Test Coverage

CurlHttpClient has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class CurlHttpClient implements HttpClient
{
    /**
     * Custom CURL options for requests.
     *
Severity: Minor
Found in src/Api/CurlHttpClient.php - About 2 hrs to fix

    Line exceeds 120 characters; contains 151 characters
    Open

            CURLOPT_USERAGENT => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36'
    Severity: Minor
    Found in src/Api/CurlHttpClient.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status