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
nzedb/processing/tv/TvRage.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,27 +17,27 @@
 block discarded – undo
17 17
 	/**
18 18
 	 * @var string
19 19
 	 */
20
-	public $showInfoUrl         = 'http://www.tvrage.com/shows/id-';
20
+	public $showInfoUrl = 'http://www.tvrage.com/shows/id-';
21 21
 
22 22
 	/**
23 23
 	 * @var string
24 24
 	 */
25
-	public $showQuickInfoURL    = 'http://services.tvrage.com/tools/quickinfo.php?show=';
25
+	public $showQuickInfoURL = 'http://services.tvrage.com/tools/quickinfo.php?show=';
26 26
 
27 27
 	/**
28 28
 	 * @var string
29 29
 	 */
30
-	public $xmlFullSearchUrl    = 'http://services.tvrage.com/feeds/full_search.php?show=';
30
+	public $xmlFullSearchUrl = 'http://services.tvrage.com/feeds/full_search.php?show=';
31 31
 
32 32
 	/**
33 33
 	 * @var string
34 34
 	 */
35
-	public $xmlShowInfoUrl      = 'http://services.tvrage.com/feeds/showinfo.php?sid=';
35
+	public $xmlShowInfoUrl = 'http://services.tvrage.com/feeds/showinfo.php?sid=';
36 36
 
37 37
 	/**
38 38
 	 * @var string
39 39
 	 */
40
-	public $xmlFullShowInfoUrl  = 'http://services.tvrage.com/feeds/full_show_info.php?sid=';
40
+	public $xmlFullShowInfoUrl = 'http://services.tvrage.com/feeds/full_show_info.php?sid=';
41 41
 
42 42
 	/**
43 43
 	 * @var string
Please login to merge, or discard this patch.
nzedb/processing/ProcessReleases.php 3 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 				if ($this->echoCLI) {
201 201
 					$this->pdo->log->doEcho($this->pdo->log->header("Process Releases -> Request ID Threaded lookup."));
202 202
 				}
203
-				passthru("${DIR}update/nix/multiprocessing/requestid.php");
203
+				passthru("${dir}update/nix/multiprocessing/requestid.php");
204 204
 				if ($this->echoCLI) {
205 205
 					$this->pdo->log->doEcho(
206 206
 						$this->pdo->log->primary(
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
 						$returnCount++;
640 640
 
641 641
 						if ($this->echoCLI) {
642
-							echo "Added $returnCount releases.\r";
642
+							echo "added $returnCount releases.\r";
643 643
 						}
644 644
 					}
645 645
 				} else {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 
21 21
 class ProcessReleases
22 22
 {
23
-	const COLLFC_DEFAULT  =  0; // Collection has default filecheck status
24
-	const COLLFC_COMPCOLL =  1; // Collection is a complete collection
25
-	const COLLFC_COMPPART =  2; // Collection is a complete collection and has all parts available
26
-	const COLLFC_SIZED    =  3; // Collection has been calculated for total size
27
-	const COLLFC_INSERTED =  4; // Collection has been inserted into releases
28
-	const COLLFC_DELETE   =  5; // Collection is ready for deletion
23
+	const COLLFC_DEFAULT  = 0; // Collection has default filecheck status
24
+	const COLLFC_COMPCOLL = 1; // Collection is a complete collection
25
+	const COLLFC_COMPPART = 2; // Collection is a complete collection and has all parts available
26
+	const COLLFC_SIZED    = 3; // Collection has been calculated for total size
27
+	const COLLFC_INSERTED = 4; // Collection has been inserted into releases
28
+	const COLLFC_DELETE   = 5; // Collection is ready for deletion
29 29
 	const COLLFC_TEMPCOMP = 15; // Collection is complete and being checked for complete parts
30 30
 	const COLLFC_ZEROPART = 16; // Collection has a 00/0XX designator (temporary)
31 31
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
 			// This loops as long as the number of releases or nzbs added was >= the limit (meaning there are more waiting to be created)
239 239
 		} while (
240
-			($releasesCount['added'] + $releasesCount['dupes'])	>= $this->releaseCreationLimit
240
+			($releasesCount['added'] + $releasesCount['dupes']) >= $this->releaseCreationLimit
241 241
 				|| $nzbFilesAdded >= $this->releaseCreationLimit
242 242
 		);
243 243
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -820,8 +820,7 @@
 block discarded – undo
820 820
 			$total = $releases->rowCount();
821 821
 			// Init vars for writing the NZB's.
822 822
 			$this->nzb->initiateForWrite($groupID);
823
-			foreach ($releases as $release)
824
-			{
823
+			foreach ($releases as $release) {
825 824
 				if ($this->nzb->writeNZBforReleaseId($release['id'], $release['guid'], $release['name'], $release['title']) === true) {
826 825
 					$nzbCount++;
827 826
 					if ($this->echoCLI) {
Please login to merge, or discard this patch.
app/extensions/console/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
 		'gray'			=> "\033[37m",
310 310
 		'grey'			=> "\033[37m",
311 311
 		'hidden'		=> "\033[8m",
312
-		'info'			=> "\033[35m",	// replace with updated version of:
312
+		'info'			=> "\033[35m", // replace with updated version of:
313 313
 		// "\033[" . self::coloursForeground['purple'] . "mInfo: $text\033[0m"
314 314
 		// when we switch to PHP 5.6
315 315
 		'normal'		=> "\033[0m",
Please login to merge, or discard this patch.
www/pages/sendtocouch.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use nzedb\CouchPotato;
4 4
 
5
-if (!$page->users->isLoggedIn()){
5
+if (!$page->users->isLoggedIn()) {
6 6
 	$page->show403();
7 7
 }
8 8
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use nzedb\CouchPotato;
4 4
 
5
-if (!$page->users->isLoggedIn()){
5
+if (!$page->users->isLoggedIn()) {
6 6
 	$page->show403();
7 7
 }
8 8
 
Please login to merge, or discard this patch.
nzedb/ReleaseExtra.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 							$overallbitrate = $track['Overall_bit_rate'];
111 111
 						}
112 112
 						if (isset($track['Unique_ID'])) {
113
-							if(preg_match('/\(0x(?P<hash>[0-9a-f]{32})\)/i', $track['Unique_ID'], $matches)){
113
+							if (preg_match('/\(0x(?P<hash>[0-9a-f]{32})\)/i', $track['Unique_ID'], $matches)) {
114 114
 								$uniqueid = $matches['hash'];
115 115
 								$this->addUID($releaseID, $uniqueid);
116 116
 							}
Please login to merge, or discard this patch.
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -167,15 +167,18 @@  discard block
 block discarded – undo
167 167
 
168 168
 				if ($audio->get('language') !== null) {
169 169
 					$audioLanguage = $audio->get('language');
170
-					if (\is_array($audioLanguage)) { // If we have an array
171
-						foreach ($audioLanguage as $language) { // search through the list
170
+					if (\is_array($audioLanguage)) {
171
+// If we have an array
172
+						foreach ($audioLanguage as $language) {
173
+// search through the list
172 174
 							if (\strlen($language) === 2) {
173 175
 								$audioLanguage = $language; // and use the first two letter code.
174 176
 								break;
175 177
 							}
176 178
 						}
177 179
 
178
-						if (\is_array($audioLanguage)) { // If it is still an array...
180
+						if (\is_array($audioLanguage)) {
181
+// If it is still an array...
179 182
 							$audioLanguage = \implode(', ', $audioLanguage); // collapse it.
180 183
 						}
181 184
 					}
@@ -304,7 +307,7 @@  discard block
 block discarded – undo
304 307
 							$overallbitrate = $track['Overall_bit_rate'];
305 308
 						}
306 309
 						if (isset($track['Unique_ID'])) {
307
-							if(preg_match('/\(0x(?P<hash>[0-9a-f]{32})\)/i', $track['Unique_ID'], $matches)){
310
+							if(preg_match('/\(0x(?P<hash>[0-9a-f]{32})\)/i', $track['Unique_ID'], $matches)) {
308 311
 								$uniqueid = $matches['hash'];
309 312
 								$this->addUID($releaseID, $uniqueid);
310 313
 							}
Please login to merge, or discard this patch.
nzedb/http/RSS.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  *
13 13
  * @package nzedb
14 14
  */
15
-Class RSS extends Capabilities
15
+class RSS extends Capabilities
16 16
 {
17 17
 	/** Releases class
18 18
 	 * @var Releases
Please login to merge, or discard this patch.
nzedb/TmuxOutput.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 		$version = $this->_vers->versions->git->tag;
121 121
 
122 122
 		$buffer .= sprintf($this->tmpMasks[2],
123
-			"Monitor $state v$version [" . $this->runVar['constants']['sqlpatch'] . "]: ",
123
+			"monitor $state v$version [" . $this->runVar['constants']['sqlpatch'] . "]: ",
124 124
 			$this->relativeTime($this->runVar['timers']['timer1'])
125 125
 		);
126 126
 
Please login to merge, or discard this patch.
www/pages/ajax_resetusergrabs-admin.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
9 9
 $id = (isset($_REQUEST['id'])) ? $_REQUEST['id'] : '';
10 10
 
11
-switch($action)
11
+switch ($action)
12 12
 {
13 13
 	case 'grabs':
14 14
 		$u->delDownloadRequests($id);
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
9 9
 $id = (isset($_REQUEST['id'])) ? $_REQUEST['id'] : '';
10 10
 
11
-switch($action)
12
-{
11
+switch($action) {
13 12
 	case 'grabs':
14 13
 		$u->delDownloadRequests($id);
15 14
 	break;
Please login to merge, or discard this patch.
nzedb/constants.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 define('nZEDb_SMARTY_CACHE', nZEDb_RES . 'smarty' . DS . 'cache/');
46 46
 
47 47
 // Smarty's configuration files.
48
-define('nZEDb_SMARTY_CONFIGS', nZEDb_RES .'smarty' . DS . 'configs/');
48
+define('nZEDb_SMARTY_CONFIGS', nZEDb_RES . 'smarty' . DS . 'configs/');
49 49
 
50 50
 // Smarty's compiled template cache.
51 51
 define('nZEDb_SMARTY_TEMPLATES', nZEDb_RES . 'smarty' . DS . 'templates_c/');
Please login to merge, or discard this patch.