daily.php
File daily.php
has 317 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env php
<?php
/*
* Daily Task Checks
Avoid deeply nested control flow statements. Open
Open
if (empty($limit)) {
break;
}
Only one argument is allowed per line in a multi-line function call Open
Open
Notifications::create($title, "The daily update script (daily.sh) has failed on $poller_name."
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
Notifications::create($error_title,
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
Notifications::create($error_title,
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
Notifications::create($title, "The daily update script (daily.sh) has failed on $poller_name."
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
Notifications::create($error_title,
- Exclude checks