Completed
Pull Request — master (#5)
by
unknown
06:18
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
@@ -154,10 +154,10 @@
 block discarded – undo
154 154
      */
155 155
     protected function _write($event)
156 156
     {
157
-        $message = $event['message']['errstr'];                             // From SS_Log::log()
157
+        $message = $event['message']['errstr']; // From SS_Log::log()
158 158
         // The complete compliment of these data come via the Raven_Client::xxx_context() methods
159 159
         $data = [
160
-            'timestamp' => strtotime($event['timestamp']),                  // From Zend_Log::log()
160
+            'timestamp' => strtotime($event['timestamp']), // From Zend_Log::log()
161 161
             'extra'     => isset($event['extra']) ? $event['extra'] : []    // From _config.php (Optional)
162 162
         ];
163 163
 
Please login to merge, or discard this patch.