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 ( 61678f...12d99c )
by Adam
06:51 queued 03:37
created
Category
src/ControlFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
 	public function __construct(array $config = NULL)
19 19
 	{
20
-		if($config !== NULL){
20
+		if ($config !== NULL) {
21 21
 			$this->setConfig($config);
22
-			if(isset($config['basePath'])){
22
+			if (isset($config['basePath'])) {
23 23
 				$this->setBasePath($config['basePath']);
24 24
 			}
25 25
 		}
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
 
53 53
 	public function createCssControl($section)
54 54
 	{
55
-		if(!isset($this->config[$section])){
55
+		if (!isset($this->config[$section])) {
56 56
 			throw new \InvalidArgumentException("Section $section not found. Did you set it in config?");
57 57
 		}
58 58
 		$control = new CssControl();
59
-		if(isset($this->config[$section]['css'])){
59
+		if (isset($this->config[$section]['css'])) {
60 60
 			$control->setFiles($this->config[$section]['css']);
61 61
 		}
62 62
 		$control->setBasePath($this->basePath);
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
 
67 67
 	public function createJsControl($section)
68 68
 	{
69
-		if(!isset($this->config[$section])){
69
+		if (!isset($this->config[$section])) {
70 70
 			throw new \InvalidArgumentException("Section $section not found. Did you set it in config?");
71 71
 		}
72 72
 		$control = new JsControl();
73
-		if(isset($this->config[$section]['js'])) {
73
+		if (isset($this->config[$section]['js'])) {
74 74
 			$control->setFiles($this->config[$section]['js']);
75 75
 		}
76 76
 		$control->setBasePath($this->basePath);
Please login to merge, or discard this patch.
src/BaseControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 	protected function formatFileUrl($file)
55 55
 	{
56 56
 		$appendix = '';
57
-		if(is_file($this->basePath . '/' . $file)){
57
+		if (is_file($this->basePath . '/' . $file)) {
58 58
 			$appendix = '?' . md5(filemtime($this->basePath . '/' . $file));
59 59
 		}
60 60
 
Please login to merge, or discard this patch.