Completed
Push — master ( 8994f7...3cdc9b )
by Russell
01:50
created
code/adaptor/RavenClient.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function setData($field, $data)
82 82
     {
83
-        switch($field) {
83
+        switch ($field) {
84 84
         case 'env':
85 85
             $this->client->setEnvironment($data);
86 86
             break;
@@ -105,8 +105,7 @@  discard block
 block discarded – undo
105 105
     public function getLevel($level)
106 106
     {
107 107
         return isset($this->client->logLevels[$level]) ?
108
-            $this->client->logLevels[$level] : 
109
-            $this->client->logLevels[self::$default_error_level];
108
+            $this->client->logLevels[$level] : $this->client->logLevels[self::$default_error_level];
110 109
     }
111 110
     
112 111
     /**
Please login to merge, or discard this patch.
code/SentryLogWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,10 +158,10 @@
 block discarded – undo
158 158
      */
159 159
     protected function _write($event)
160 160
     {
161
-        $message = $event['message']['errstr'];                             // From SS_Log::log()
161
+        $message = $event['message']['errstr']; // From SS_Log::log()
162 162
         // The complete compliment of these data come via the Raven_Client::xxx_context() methods
163 163
         $data = [
164
-            'timestamp' => strtotime($event['timestamp']),                  // From Zend_Log::log()
164
+            'timestamp' => strtotime($event['timestamp']), // From Zend_Log::log()
165 165
             'extra'     => isset($event['extra']) ? $event['extra'] : []    // From _config.php (Optional)
166 166
         ];
167 167
         $trace = \SS_Backtrace::filter_backtrace(debug_backtrace(), ['SentryLogWriter->_write']);
Please login to merge, or discard this patch.