GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#7)
by
unknown
07:01
created
src/Mail.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -173,11 +173,11 @@  discard block
 block discarded – undo
173 173
 		/**
174 174
 		 * Convert class name to underscore and set latte file extension
175 175
 		 */
176
-		$this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function ($m) {
177
-			return '_' . strtolower($m[1]);
176
+		$this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function($m) {
177
+			return '_'.strtolower($m[1]);
178 178
 		}, $class_name));
179 179
 
180
-		$template_name = $this->underscore_name . '.latte';
180
+		$template_name = $this->underscore_name.'.latte';
181 181
 		$this->log_type = $this->underscore_name;
182 182
 
183 183
 		if ($this->template_file) {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 				 * In case mail logging is turned on, log failed email message
242 242
 				 */
243 243
 				if ($this->config === self::CONFIG_BOTH) {
244
-					$this->logger->log($this->log_type . '_failed', $this->message);
244
+					$this->logger->log($this->log_type.'_failed', $this->message);
245 245
 				}
246 246
 				
247 247
 				throw $e;
Please login to merge, or discard this patch.