seregazhuk/php-pinterest-bot

View on GitHub

Showing 67 of 67 total issues

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 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

    protected function getAggregatedActivity($pinId, $additionalData = [], $limit)
Severity: Minor
Found in src/Api/Providers/Pins.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

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

           UrlBuilder::RESOURCE_UPDATE_REGISTRATION_TRACK,

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

];
Severity: Minor
Found in src/Api/Request.php by phpcodesniffer
Severity
Category
Status
Source
Language