Completed
Push — master ( c2003f...738567 )
by Yaro
25s
created
src/Drivers/Telegram.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
         foreach ($this->config['chats'] as $idUser) {
43 43
             $url = 'https://api.telegram.org/'. $this->config['token'] .'/sendMessage?disable_web_page_preview=true&chat_id='. $idUser
44
-                 . '&parse_mode=HTML&text=';
44
+                    . '&parse_mode=HTML&text=';
45 45
                  
46 46
             @file_get_contents($url . $text);
47 47
         }
Please login to merge, or discard this patch.
src/Drivers/Slack.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
 
49 49
 
50 50
         $url = 'https://slack.com/api/chat.postMessage?'
51
-             . 'token='. $this->config['token']
52
-             . '&channel='. urlencode($this->config['channel'])
53
-             . '&text='. urlencode($text)
54
-             . '&username='. urlencode($this->config['username']) 
55
-             . '&as_user=false&icon_url=http%3A%2F%2Fcherry-pie.co%2Fimg%2Flog-envelope.png&mrkdwn=1&pretty=1&attachments='. urlencode(json_encode([$attachments]));
51
+                . 'token='. $this->config['token']
52
+                . '&channel='. urlencode($this->config['channel'])
53
+                . '&text='. urlencode($text)
54
+                . '&username='. urlencode($this->config['username']) 
55
+                . '&as_user=false&icon_url=http%3A%2F%2Fcherry-pie.co%2Fimg%2Flog-envelope.png&mrkdwn=1&pretty=1&attachments='. urlencode(json_encode([$attachments]));
56 56
         
57 57
         @file_get_contents($url);
58 58
     } // end send
Please login to merge, or discard this patch.
src/Drivers/Mail.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         MailFacade::queue('log-envelope::main', $data, function($message) use ($data, $config) {
37 37
             $subject = sprintf('[%s] @ %s: %s', $data['class'], $data['host'], $data['exception']);
38 38
             
39
-             // to protect from gmail's anchors automatic generation
39
+                // to protect from gmail's anchors automatic generation
40 40
             $message->setBody(
41 41
                 preg_replace(
42 42
                     ['~\.~', '~http~'],
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
                 )
46 46
             );
47 47
             
48
-             $message->to($config['to'])
49
-                     ->from($config['from_email'], $config['from_name'])
50
-                     ->subject($subject);
48
+                $message->to($config['to'])
49
+                        ->from($config['from_email'], $config['from_name'])
50
+                        ->subject($subject);
51 51
         });
52 52
     } // end send
53 53
     
Please login to merge, or discard this patch.