condorrocks/condor

View on GitHub

Showing 200 of 200 total issues

Line exceeds 120 characters; contains 125 characters
Open

     * @param string $HTTPPassword   optional (in order to remove any previously added password, simply send the value empty)

Line exceeds 120 characters; contains 126 characters
Open

     * @param bool  $responseTimes              optional    Defines if the response time data of each monitor will be returned

Line exceeds 120 characters; contains 221 characters
Open

    public function newMonitor($friendlyName, $URL, $type, $subType = null, $port = null, $keywordType = null, $keywordValue = null, $HTTPUsername = null, $HTTPPassword = null, $alertContacts = null, $monitorInterval = 5)

Line exceeds 120 characters; contains 181 characters
Open

        logger()->debug("Snapshot Status Changed from:{$event->snapshot->last_status} to:{$event->snapshot->status} hash:{$event->snapshot->hash} issues:{$event->issues->count()}");

Line exceeds 120 characters; contains 183 characters
Open

     * @param bool  $responseTimesAverage       optional    By default, response time value of each check is returned. The API can return average values in given minutes. Default is 0

Line exceeds 120 characters; contains 122 characters
Open

        $url = $this->base_uri.'/newMonitor?monitorFriendlyName='.$friendlyName.'&monitorURL='.$URL.'&monitorType='.$type;

Line exceeds 120 characters; contains 293 characters
Open

        $this->assertNotEquals(null, $this->object->editMonitor($monitorId = static::$newMonitorId, $monitorStatus = 0, $friendlyName = 'Edit 1', $URL = 'http://google.com', $subType = null, $port = null, $keywordType = null, $keywordValue = null, $HTTPUsername = null, $HTTPPassword = null));

Line exceeds 120 characters; contains 124 characters
Open

     * @param bool  $showMonitorAlertContacts   optional    Defines if the alert contacts set for the monitor to be returned

Line exceeds 120 characters; contains 218 characters
Open

    public function getMonitors($monitors = null, $customUptimeRatio = null, $logs = 0, $responseTimes = 0, $responseTimesAverage = 0, $alertContacts = 0, $showMonitorAlertContacts = 0, $showTimezone = 0, $search = '')

Line exceeds 120 characters; contains 124 characters
Open

                logger()->error("FEED GOT DISABLED BOARD:{$this->board->id} ASPECT:{$this->aspect->id} FEED:{$feed->name}");
Severity: Minor
Found in app/Jobs/RunFeed.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

     * @param array|int  $alertContacts  optional   The alert contacts to be notified Multiple alertContactIDs can be sent

Line exceeds 120 characters; contains 145 characters
Open

     *                                              (in order to remove any previously added alert contacts, simply send the value empty like '')

Line exceeds 120 characters; contains 255 characters
Open

        $this->assertNotEquals(null, $this->object->getMonitors($monitors = static::$newMonitorId, $customUptimeRatio = null, $logs = 1, $responseTimes = 1, $responseTimesAverage = 1, $alertContacts = 1, $showMonitorAlertContacts = 1, $showTimezone = 1));

Line exceeds 120 characters; contains 128 characters
Open

     *                                                      Else, it is possible to define any number of monitors with their IDs

Line exceeds 120 characters; contains 161 characters
Open

     * @param string $search                    optional    a keyword of your choice to search within monitorURL and monitorFriendlyName and get filtered results

Line exceeds 120 characters; contains 230 characters
Open

        $url .= '?logs='.$logs.'&responseTimes='.$responseTimes.'&responseTimesAverage='.$responseTimesAverage.'&alertContacts='.$alertContacts.'&showMonitorAlertContacts='.$showMonitorAlertContacts.'&showTimezone='.$showTimezone;

Opening parenthesis of a multi-line function call must be the last content on the line
Open

Route::group([
Severity: Minor
Found in routes/web.php by phpcodesniffer

Whitespace found at end of line
Open

 * 

Whitespace found at end of line
Open

            \App\Listeners\SendSnapshotChangeAlert::class,  

Expected 1 newline at end of file; 0 found
Open

];
Severity
Category
Status
Source
Language