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

            $requestId, UrlBuilder::RESOURCE_CONTACT_REQUEST_ACCEPT
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

            ['%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

            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

            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

            UrlBuilder::RESOURCE_BLOCK_USER, ['blocked_user_id' => $userId]

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

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

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

            $username, UrlBuilder::RESOURCE_USER_LIKES, $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

            $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

            $this->getFollowersUrl(), [$this->getFollowersFor() => $for], $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

            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

            $requestOptions, $this->response->getBookmarks()

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

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