Showing 3 of 13 total issues
Method testAlertsPostSuccessAfterHours
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testAlertsPostSuccessAfterHours()
{
$emails = [];
$names = [];
$emails[] = "admin@alientronics.com.br";
Method create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function create(Request $request)
{
try {
$data = $request->all();
Method sendFakeEmail
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function sendFakeEmail($email, $option)
{
try {
$alarm = new \stdClass();
$alarm->vehicle_fleet = 'vehicle_fleet';