seregazhuk/php-pinterest-bot

View on GitHub

Showing 67 of 67 total issues

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

            $username, UrlBuilder::RESOURCE_USER_PINS, $limit

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

            UrlBuilder::RESOURCE_BOARDS_INVITES, ['board_id' => (string) $boardId], $limit

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

            $email, $password, $name, $country, $age
Severity: Minor
Found in src/Api/Providers/Auth.php by phpcodesniffer

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

            UrlBuilder::RESOURCE_GET_CONVERSATION_MESSAGES, ['conversation_id' => (string)$conversationId], $limit
Severity: Minor
Found in src/Api/Providers/Inbox.php by phpcodesniffer

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

            $username, UrlBuilder::RESOURCE_USER_LIKES, $limit

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

            $this->getFollowersUrl(), [$this->getFollowersFor() => $for], $limit

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

            UrlBuilder::RESOURCE_GET_CONVERSATION_MESSAGES, ['conversation_id' => (string)$conversationId], $limit
Severity: Minor
Found in src/Api/Providers/Inbox.php by phpcodesniffer

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

            $username, UrlBuilder::RESOURCE_USER_PINS, $limit

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

            $email, $password, $name, $country, $age
Severity: Minor
Found in src/Api/Providers/Auth.php by phpcodesniffer

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

            UrlBuilder::RESOURCE_GET_BOARD_FEED, ['board_id' => $boardId], $limit
Severity: Minor
Found in src/Api/Providers/Boards.php by phpcodesniffer

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

            $this->getFollowersUrl(), [$this->getFollowersFor() => $for], $limit

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

            $requestId, UrlBuilder::RESOURCE_CONTACT_REQUEST_IGNORE
Severity: Minor
Found in src/Api/Providers/Inbox.php by phpcodesniffer

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

            UrlBuilder::RESOURCE_GET_BOARD_FEED, ['board_id' => $boardId], $limit
Severity: Minor
Found in src/Api/Providers/Boards.php by phpcodesniffer

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

            ['%28', '%29', '%7E'], ['(', ')', '~'], $str
Severity: Minor
Found in src/Helpers/UrlBuilder.php by phpcodesniffer

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

            $username, UrlBuilder::RESOURCE_USER_LIKES, $limit

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

            UrlBuilder::RESOURCE_TRY_PIN_DELETE, ['user_did_it_data_id' => $tryItRecordId]
Severity: Minor
Found in src/Api/Traits/TryIt.php by phpcodesniffer

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

            ['%28', '%29', '%7E'], ['(', ')', '~'], $str
Severity: Minor
Found in src/Helpers/UrlBuilder.php by phpcodesniffer

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

            $email, $password, $name, $country, $age
Severity: Minor
Found in src/Api/Providers/Auth.php by phpcodesniffer

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

            UrlBuilder::RESOURCE_BOARDS_INVITES, ['board_id' => (string) $boardId], $limit

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