diff --git a/AlertHandler.php b/AlertHandler.php index da200cf..4c33995 100644 --- a/AlertHandler.php +++ b/AlertHandler.php @@ -37,9 +37,9 @@ public static function sendAlertMail(Exception $e) { if ($mailer->send($message)) { - echo "Alert mail sent\n"; + echo 'Alert mail sent' . PHP_EOL; } else { - echo "Failed to send alert mail\n"; + echo 'Failed to send alert mail' . PHP_EOL; } } protected static function generateBody(Exception $e) diff --git a/cron.php b/cron.php index bc19484..7d8d719 100644 --- a/cron.php +++ b/cron.php @@ -1,7 +1,7 @@