seregazhuk/php-pinterest-bot

View on GitHub

Showing 67 of 67 total issues

Line exceeds 120 characters; contains 125 characters
Open

        return function_exists('mb_strtolower') ? mb_strtolower($nameWithRemovedSpaces) : strtolower($nameWithRemovedSpaces);
Severity: Minor
Found in src/Api/Providers/Boards.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

        $data .= 'Content-Disposition: form-data; name="img"; filename="' . basename($this->filePathToUpload) . '"' . "\r\n";
Severity: Minor
Found in src/Api/Request.php by phpcodesniffer

Arguments with default values must be at the end of the argument list
Open

function get_array_data($key = '', $data, $default = null)
Severity: Minor
Found in src/Helpers/functions.php by phpcodesniffer

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

Arguments with default values must be at the end of the argument list
Open

    abstract protected function getAggregatedActivity($pinId, array $additionalData = [], $limit);
Severity: Minor
Found in src/Api/Traits/TryIt.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 0
Open

];
Severity: Minor
Found in src/Api/Request.php by phpcodesniffer

Multi-line function call not indented correctly; expected 12 spaces but found 11
Open

           UrlBuilder::RESOURCE_UPDATE_REGISTRATION_TRACK,
Severity
Category
Status
Source
Language