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.
Passed
Pull Request — dev (#2644)
by
unknown
13:38
created
cli/data/populate_anidb.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 $pdo = new DB();
9 9
 
10 10
 if ($argc > 1 && $argv[1] === 'true' && isset($argv[2])) {
11
-	if($argv[2] === 'full') {
11
+	if ($argv[2] === 'full') {
12 12
 		(new AniDB(['Settings' => $pdo, 'Echo' => true]))->populateTable('full');
13
-	} elseif ($argv[2] === 'info'){
13
+	} elseif ($argv[2] === 'info') {
14 14
 		if ($argv[3] !== null && is_numeric($argv[3])) {
15 15
 			(new AniDB(['Settings' => $pdo, 'Echo' => true]))->populateTable('info', $argv[3]);
16 16
 		} else {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 if ($argc > 1 && $argv[1] === 'true' && isset($argv[2])) {
11 11
 	if($argv[2] === 'full') {
12 12
 		(new AniDB(['Settings' => $pdo, 'Echo' => true]))->populateTable('full');
13
-	} elseif ($argv[2] === 'info'){
13
+	} elseif ($argv[2] === 'info') {
14 14
 		if ($argv[3] !== null && is_numeric($argv[3])) {
15 15
 			(new AniDB(['Settings' => $pdo, 'Echo' => true]))->populateTable('info', $argv[3]);
16 16
 		} else {
Please login to merge, or discard this patch.
nzedb/Games.php 2 patches
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -643,14 +643,14 @@  discard block
 block discarded – undo
643 643
 		if (empty($game['title'])) {
644 644
 			$game['title'] = $gameInfo['title'];
645 645
 		}
646
-		if(!isset($game['releasedate'])){
646
+		if(!isset($game['releasedate'])) {
647 647
 			$game['releasedate'] = '';
648 648
 		}
649 649
 		
650 650
 		if ($game['releasedate'] === '') {
651 651
 			$game['releasedate'] = '';
652 652
 		}
653
-		if(!isset($game['review'])){
653
+		if(!isset($game['review'])) {
654 654
 			$game['review'] = 'No Review';
655 655
 		}
656 656
 		$game['classused'] = $this->_classUsed;
@@ -739,10 +739,10 @@  discard block
 block discarded – undo
739 739
 					ColorCLI::primary($this->_classUsed)
740 740
 				);
741 741
 			}
742
-			if($game['cover'] === 1){
742
+			if($game['cover'] === 1) {
743 743
 				$game['cover'] = $ri->saveImage($gamesId, $game['coverurl'], $this->imgSavePath, 250, 250);
744 744
 			}
745
-			if($game['backdrop'] === 1){
745
+			if($game['backdrop'] === 1) {
746 746
 				$game['backdrop'] = $ri->saveImage($gamesId . '-backdrop', $game['backdropurl'], $this->imgSavePath, 1920, 1024);
747 747
 			}
748 748
 		} else {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 		}
124 124
 		$this->catWhere = 'AND categories_id = ' . Category::PC_GAMES;
125 125
 		//$this->cleangames = (Settings::value('..lookupgames') == 2) ? 'AND isrenamed = 1' : '';
126
-		if($this->publicKey !== '') {
126
+		if ($this->publicKey !== '') {
127 127
 			$this->config = new Config($this->publicKey);
128 128
 			$this->giantbomb = new Client($this->config);
129 129
 		}
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
 			}
554 554
 		}
555 555
 
556
-		if($this->publicKey !== '') {
556
+		if ($this->publicKey !== '') {
557 557
 			if ($steamGameID === false || $this->_gameResults === false) {
558 558
 				$bestMatch = false;
559 559
 				$this->_classUsed = 'GiantBomb';
@@ -648,14 +648,14 @@  discard block
 block discarded – undo
648 648
 		if (empty($game['title'])) {
649 649
 			$game['title'] = $gameInfo['title'];
650 650
 		}
651
-		if(!isset($game['releasedate'])){
651
+		if (!isset($game['releasedate'])) {
652 652
 			$game['releasedate'] = '';
653 653
 		}
654 654
 
655 655
 		if ($game['releasedate'] === '') {
656 656
 			$game['releasedate'] = '';
657 657
 		}
658
-		if(!isset($game['review'])){
658
+		if (!isset($game['review'])) {
659 659
 			$game['review'] = 'No Review';
660 660
 		}
661 661
 		$game['classused'] = $this->_classUsed;
@@ -740,21 +740,21 @@  discard block
 block discarded – undo
740 740
 					ColorCLI::header('Added/updated game: ') .
741 741
 					ColorCLI::alternateOver('   Title:    ') .
742 742
 					ColorCLI::primary($game['title']) .
743
-					ColorCLI::alternateOver( '   Source:   ') .
743
+					ColorCLI::alternateOver('   Source:   ') .
744 744
 					ColorCLI::primary($this->_classUsed)
745 745
 				);
746 746
 			}
747
-			if($game['cover'] === 1){
747
+			if ($game['cover'] === 1) {
748 748
 				$game['cover'] = $ri->saveImage($gamesId, $game['coverurl'], $this->imgSavePath, 250, 250);
749 749
 			}
750
-			if($game['backdrop'] === 1){
750
+			if ($game['backdrop'] === 1) {
751 751
 				$game['backdrop'] = $ri->saveImage($gamesId . '-backdrop', $game['backdropurl'], $this->imgSavePath, 1920, 1024);
752 752
 			}
753 753
 		} else {
754 754
 			if ($this->echoOutput) {
755 755
 				ColorCLI::doEcho(
756 756
 					ColorCLI::headerOver('Nothing to update: ') .
757
-					ColorCLI::primary($game['title'] . ' (PC)' )
757
+					ColorCLI::primary($game['title'] . ' (PC)')
758 758
 				);
759 759
 			}
760 760
 		}
Please login to merge, or discard this patch.
www/pages/preinfo.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -329,19 +329,19 @@
 block discarded – undo
329 329
 		foreach ($preData as $data) {
330 330
 			echo
331 331
 				'<request',
332
-				' reqid="'      . (!empty($data['requestid'])  ? $data['requestid']  : '') . '"',
333
-				' md5="'        . (!empty($data['md5'])        ? $data['md5']        : '') . '"',
334
-				' sha1="'       . (!empty($data['sha1'])       ? $data['sha1']       : '') . '"',
335
-				' nuked="'      . (!empty($data['nuked'])      ? $data['nuked']      : '') . '"',
336
-				' category="'   . (!empty($data['category'])   ? $data['category']   : '') . '"',
337
-				' source="'     . (!empty($data['source'])     ? $data['source']     : '') . '"',
332
+				' reqid="' . (!empty($data['requestid']) ? $data['requestid'] : '') . '"',
333
+				' md5="' . (!empty($data['md5']) ? $data['md5'] : '') . '"',
334
+				' sha1="' . (!empty($data['sha1']) ? $data['sha1'] : '') . '"',
335
+				' nuked="' . (!empty($data['nuked']) ? $data['nuked'] : '') . '"',
336
+				' category="' . (!empty($data['category']) ? $data['category'] : '') . '"',
337
+				' source="' . (!empty($data['source']) ? $data['source'] : '') . '"',
338 338
 				' nukereason="' . (!empty($data['nukereason']) ? $data['nukereason'] : '') . '"',
339
-				' files="'      . (!empty($data['files'])      ? $data['files']      : '') . '"',
340
-				' name="'       . (!empty($data['title'])      ? sanitize($data['title']) : '') . '"',
341
-				' date="'       . (!empty($data['created'])    ? strtotime($data['created']) : '') . '"',
342
-				' size="'       . (!empty($data['size']) && $data['size'] != 'NULL' ? $data['size'] : '') . '"',
343
-				' group="'      . (isset($data['groupname']) && !empty($data['groupname']) ? $data['groupname'] : '' ) . '"',
344
-				' ident="'      . (isset($data['ident']) && !empty($data['ident']) ? $data['ident'] : '') . '"',
339
+				' files="' . (!empty($data['files']) ? $data['files'] : '') . '"',
340
+				' name="' . (!empty($data['title']) ? sanitize($data['title']) : '') . '"',
341
+				' date="' . (!empty($data['created']) ? strtotime($data['created']) : '') . '"',
342
+				' size="' . (!empty($data['size']) && $data['size'] != 'NULL' ? $data['size'] : '') . '"',
343
+				' group="' . (isset($data['groupname']) && !empty($data['groupname']) ? $data['groupname'] : '') . '"',
344
+				' ident="' . (isset($data['ident']) && !empty($data['ident']) ? $data['ident'] : '') . '"',
345 345
 				'/>';
346 346
 		}
347 347
 	}
Please login to merge, or discard this patch.
misc/update/nix/tmux/start.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 		sleep(5);
25 25
 	}
26 26
 } else {
27
-        exit($pdo->log->error("tmux binary not found. Aborting\n"));
27
+		exit($pdo->log->error("tmux binary not found. Aborting\n"));
28 28
 }
29 29
 
30 30
 $tmux = new Tmux();
Please login to merge, or discard this patch.
app/extensions/adapter/data/source/database/MySql.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 			$result = $this->session_tz;
112 112
 		} else if (empty($value)) {
113 113
 			$result = false;
114
-			trigger_error(__CLASS__ . '::' . __METHOD__ . ': Empty value passed for timezone setting! Check date.timezone setting is set in PHP\'s configuration file.',E_USER_WARNING);
114
+			trigger_error(__CLASS__ . '::' . __METHOD__ . ': Empty value passed for timezone setting! Check date.timezone setting is set in PHP\'s configuration file.', E_USER_WARNING);
115 115
 		} else {
116 116
 			$result = $this->connection->exec("SET time_zone = '$value'") !== false;
117 117
 			if ($result) {
Please login to merge, or discard this patch.
nzedb/processing/adult/ADM.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 			$category = explode(':', $li->plaintext);
182 182
 			if (trim($category[0]) === 'Category') {
183 183
 				$genre = explode(',', $category[1]);
184
-				foreach($genre as $g) {
184
+				foreach ($genre as $g) {
185 185
 					$genres[] = trim($g);
186 186
 				}
187 187
 				$this->_res['genres'] = $genres;
Please login to merge, or discard this patch.
nzedb/processing/adult/AEBN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 			if (false !== $key = array_search('Running Time:', $this->_res['productinfo'], false)) {
179 179
 				unset($this->_res['productinfo'][$key + 2]);
180 180
 			}
181
-			if (false !== $key = array_search('Director:' , $this->_res['productinfo'], false)) {
181
+			if (false !== $key = array_search('Director:', $this->_res['productinfo'], false)) {
182 182
 				$this->_res['director'] = $this->_res['productinfo'][$key + 1];
183 183
 				unset($this->_res['productinfo'][$key], $this->_res['productinfo'][$key + 1]);
184 184
 			}
Please login to merge, or discard this patch.
nzedb/processing/adult/Hotmovies.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,10 +230,10 @@
 block discarded – undo
230 230
 	protected function genres()
231 231
 	{
232 232
 		$genres = [];
233
-		if ($ret = $this->_html->find('div.categories',0)) {
233
+		if ($ret = $this->_html->find('div.categories', 0)) {
234 234
 			foreach ($ret->find('a') as $e) {
235 235
 				if (strpos($e->title, ' -> ') !== false) {
236
-					$e = explode(' -> ',$e->plaintext);
236
+					$e = explode(' -> ', $e->plaintext);
237 237
 					$genres[] = trim($e[1]);
238 238
 				}
239 239
 			}
Please login to merge, or discard this patch.
app/extensions/command/Usenet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 			file_put_contents($path . DS . 'headers.txt', $result . "\r\n");
97 97
 			if ($this->showHeader) {
98 98
 				$this->out("{:green}Headers{:end}");
99
-				$this->out( $result);
99
+				$this->out($result);
100 100
 			} else {
101 101
 				$this->out("{:green}Fetched headers{:end}");
102 102
 			}
Please login to merge, or discard this patch.