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
Push — master ( 8f51d7...548392 )
by Dmitry
03:31
created
src/HSAL/HSAL.php 1 patch
Braces   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,8 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
 		if (!empty($options))
36 36
 		{
37
-			if (isset($options['driver']))
38
-				$driver = $options['driver'];
37
+			if (isset($options['driver'])) {
38
+							$driver = $options['driver'];
39
+			}
39 40
 		}
40 41
 
41 42
 		if ($driver == self::DRIVER_AUTO)
@@ -43,8 +44,7 @@  discard block
 block discarded – undo
43 44
 			if (extension_loaded('handlersocketi'))
44 45
 			{
45 46
 				$driver = self::DRIVER_HANDLERSOCKETI;
46
-			}
47
-			else if (class_exists('\\HSPHP\\ReadSocket'))
47
+			} else if (class_exists('\\HSPHP\\ReadSocket'))
48 48
 			{
49 49
 				$driver = self::DRIVER_HSPHP;
50 50
 			}
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
 		if ($driver == self::DRIVER_HANDLERSOCKETI)
54 54
 		{
55 55
 			$this->hs = new \HSAL\Driver\Handlersocketi($host, $database, $options);
56
-		}
57
-		else if ($driver == self::DRIVER_HSPHP)
56
+		} else if ($driver == self::DRIVER_HSPHP)
58 57
 		{
59 58
 			$this->hs = new \HSAL\Driver\HSPHP($host, $database, $options);
60 59
 		}
Please login to merge, or discard this patch.