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 — develop (#145)
by
unknown
09:16 queued 03:08
created
system/database/drivers/mssql/mssql_result.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,10 +111,10 @@
 block discarded – undo
111 111
 		{
112 112
 			$field = mssql_fetch_field($this->result_id, $i);
113 113
 
114
-			$retval[$i]		= new stdClass();
114
+			$retval[$i] = new stdClass();
115 115
 			$retval[$i]->name	= $field->name;
116 116
 			$retval[$i]->type	= $field->type;
117
-			$retval[$i]->max_length	= $field->max_length;
117
+			$retval[$i]->max_length = $field->max_length;
118 118
 		}
119 119
 
120 120
 		return $retval;
Please login to merge, or discard this patch.
system/database/drivers/mysql/mysql_result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 		$retval = array();
123 123
 		for ($i = 0, $c = $this->num_fields(); $i < $c; $i++)
124 124
 		{
125
-			$retval[$i]			= new stdClass();
125
+			$retval[$i] = new stdClass();
126 126
 			$retval[$i]->name		= mysql_field_name($this->result_id, $i);
127 127
 			$retval[$i]->type		= mysql_field_type($this->result_id, $i);
128 128
 			$retval[$i]->max_length		= mysql_field_len($this->result_id, $i);
Please login to merge, or discard this patch.
system/database/drivers/mysqli/mysqli_driver.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -134,9 +134,9 @@  discard block
 block discarded – undo
134 134
 		if (is_array($this->encrypt))
135 135
 		{
136 136
 			$ssl = array();
137
-			empty($this->encrypt['ssl_key'])    OR $ssl['key']    = $this->encrypt['ssl_key'];
138
-			empty($this->encrypt['ssl_cert'])   OR $ssl['cert']   = $this->encrypt['ssl_cert'];
139
-			empty($this->encrypt['ssl_ca'])     OR $ssl['ca']     = $this->encrypt['ssl_ca'];
137
+			empty($this->encrypt['ssl_key']) OR $ssl['key']    = $this->encrypt['ssl_key'];
138
+			empty($this->encrypt['ssl_cert']) OR $ssl['cert']   = $this->encrypt['ssl_cert'];
139
+			empty($this->encrypt['ssl_ca']) OR $ssl['ca']     = $this->encrypt['ssl_ca'];
140 140
 			empty($this->encrypt['ssl_capath']) OR $ssl['capath'] = $this->encrypt['ssl_capath'];
141 141
 			empty($this->encrypt['ssl_cipher']) OR $ssl['cipher'] = $this->encrypt['ssl_cipher'];
142 142
 
@@ -149,9 +149,9 @@  discard block
 block discarded – undo
149 149
 
150 150
 				$client_flags |= MYSQLI_CLIENT_SSL;
151 151
 				$mysqli->ssl_set(
152
-					isset($ssl['key'])    ? $ssl['key']    : NULL,
153
-					isset($ssl['cert'])   ? $ssl['cert']   : NULL,
154
-					isset($ssl['ca'])     ? $ssl['ca']     : NULL,
152
+					isset($ssl['key']) ? $ssl['key'] : NULL,
153
+					isset($ssl['cert']) ? $ssl['cert'] : NULL,
154
+					isset($ssl['ca']) ? $ssl['ca'] : NULL,
155 155
 					isset($ssl['capath']) ? $ssl['capath'] : NULL,
156 156
 					isset($ssl['cipher']) ? $ssl['cipher'] : NULL
157 157
 				);
@@ -430,16 +430,16 @@  discard block
 block discarded – undo
430 430
 		$retval = array();
431 431
 		for ($i = 0, $c = count($query); $i < $c; $i++)
432 432
 		{
433
-			$retval[$i]			= new stdClass();
434
-			$retval[$i]->name		= $query[$i]->Field;
433
+			$retval[$i] = new stdClass();
434
+			$retval[$i]->name = $query[$i]->Field;
435 435
 
436 436
 			sscanf($query[$i]->Type, '%[a-z](%d)',
437 437
 				$retval[$i]->type,
438 438
 				$retval[$i]->max_length
439 439
 			);
440 440
 
441
-			$retval[$i]->default		= $query[$i]->Default;
442
-			$retval[$i]->primary_key	= (int) ($query[$i]->Key === 'PRI');
441
+			$retval[$i]->default = $query[$i]->Default;
442
+			$retval[$i]->primary_key = (int) ($query[$i]->Key === 'PRI');
443 443
 		}
444 444
 
445 445
 		return $retval;
Please login to merge, or discard this patch.
system/database/drivers/mysqli/mysqli_forge.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @var	string
55 55
 	 */
56
-	protected $_create_database	= 'CREATE DATABASE %s CHARACTER SET %s COLLATE %s';
56
+	protected $_create_database = 'CREATE DATABASE %s CHARACTER SET %s COLLATE %s';
57 57
 
58 58
 	/**
59 59
 	 * CREATE TABLE keys flag
@@ -63,14 +63,14 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @var	bool
65 65
 	 */
66
-	protected $_create_table_keys	= TRUE;
66
+	protected $_create_table_keys = TRUE;
67 67
 
68 68
 	/**
69 69
 	 * UNSIGNED support
70 70
 	 *
71 71
 	 * @var	array
72 72
 	 */
73
-	protected $_unsigned		= array(
73
+	protected $_unsigned = array(
74 74
 		'TINYINT',
75 75
 		'SMALLINT',
76 76
 		'MEDIUMINT',
Please login to merge, or discard this patch.
system/database/drivers/mysqli/mysqli_result.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,12 +110,12 @@
 block discarded – undo
110 110
 		$field_data = $this->result_id->fetch_fields();
111 111
 		for ($i = 0, $c = count($field_data); $i < $c; $i++)
112 112
 		{
113
-			$retval[$i]			= new stdClass();
113
+			$retval[$i] = new stdClass();
114 114
 			$retval[$i]->name		= $field_data[$i]->name;
115 115
 			$retval[$i]->type		= $field_data[$i]->type;
116 116
 			$retval[$i]->max_length		= $field_data[$i]->max_length;
117 117
 			$retval[$i]->primary_key	= (int) ($field_data[$i]->flags & 2);
118
-			$retval[$i]->default		= $field_data[$i]->def;
118
+			$retval[$i]->default = $field_data[$i]->def;
119 119
 		}
120 120
 
121 121
 		return $retval;
Please login to merge, or discard this patch.
system/database/drivers/mysqli/mysqli_utility.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,21 +53,21 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @var	string
55 55
 	 */
56
-	protected $_list_databases	= 'SHOW DATABASES';
56
+	protected $_list_databases = 'SHOW DATABASES';
57 57
 
58 58
 	/**
59 59
 	 * OPTIMIZE TABLE statement
60 60
 	 *
61 61
 	 * @var	string
62 62
 	 */
63
-	protected $_optimize_table	= 'OPTIMIZE TABLE %s';
63
+	protected $_optimize_table = 'OPTIMIZE TABLE %s';
64 64
 
65 65
 	/**
66 66
 	 * REPAIR TABLE statement
67 67
 	 *
68 68
 	 * @var	string
69 69
 	 */
70
-	protected $_repair_table	= 'REPAIR TABLE %s';
70
+	protected $_repair_table = 'REPAIR TABLE %s';
71 71
 
72 72
 	// --------------------------------------------------------------------
73 73
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 			$output .= 'SET foreign_key_checks = 0;'.$newline;
97 97
 		}
98 98
 
99
-		foreach ( (array) $tables as $table)
99
+		foreach ((array) $tables as $table)
100 100
 		{
101 101
 			// Is the table in the "ignore" list?
102 102
 			if (in_array($table, (array) $ignore, TRUE))
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 			}
166 166
 
167 167
 			// Trim off the end comma
168
-			$field_str = preg_replace('/, $/' , '', $field_str);
168
+			$field_str = preg_replace('/, $/', '', $field_str);
169 169
 
170 170
 			// Build the insert string
171 171
 			foreach ($query->result_array() as $row)
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 				}
193 193
 
194 194
 				// Remove the comma at the end of the string
195
-				$val_str = preg_replace('/, $/' , '', $val_str);
195
+				$val_str = preg_replace('/, $/', '', $val_str);
196 196
 
197 197
 				// Build the INSERT string
198 198
 				$output .= 'INSERT INTO '.$this->db->protect_identifiers($table).' ('.$field_str.') VALUES ('.$val_str.');'.$newline;
Please login to merge, or discard this patch.
system/database/drivers/oci8/oci8_driver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
 		$retval = array();
521 521
 		for ($i = 0, $c = count($query); $i < $c; $i++)
522 522
 		{
523
-			$retval[$i]			= new stdClass();
523
+			$retval[$i] = new stdClass();
524 524
 			$retval[$i]->name		= $query[$i]->COLUMN_NAME;
525 525
 			$retval[$i]->type		= $query[$i]->DATA_TYPE;
526 526
 
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
 			{
531 531
 				$length = $query[$i]->DATA_LENGTH;
532 532
 			}
533
-			$retval[$i]->max_length		= $length;
533
+			$retval[$i]->max_length = $length;
534 534
 
535 535
 			$default = $query[$i]->DATA_DEFAULT;
536 536
 			if ($default === NULL && $query[$i]->NULLABLE === 'N')
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
 	{
632 632
 		if ($this->qb_limit)
633 633
 		{
634
-			$this->where('rownum <= ',$this->qb_limit, FALSE);
634
+			$this->where('rownum <= ', $this->qb_limit, FALSE);
635 635
 			$this->qb_limit = FALSE;
636 636
 		}
637 637
 
Please login to merge, or discard this patch.
system/database/drivers/oci8/oci8_forge.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,28 +51,28 @@
 block discarded – undo
51 51
 	 *
52 52
 	 * @var	string
53 53
 	 */
54
-	protected $_create_database	= FALSE;
54
+	protected $_create_database = FALSE;
55 55
 
56 56
 	/**
57 57
 	 * DROP DATABASE statement
58 58
 	 *
59 59
 	 * @var	string
60 60
 	 */
61
-	protected $_drop_database	= FALSE;
61
+	protected $_drop_database = FALSE;
62 62
 
63 63
 	/**
64 64
 	 * DROP TABLE IF statement
65 65
 	 *
66 66
 	 * @var	string
67 67
 	 */
68
-	protected $_drop_table_if	= FALSE;
68
+	protected $_drop_table_if = FALSE;
69 69
 
70 70
 	/**
71 71
 	 * UNSIGNED support
72 72
 	 *
73 73
 	 * @var	bool|array
74 74
 	 */
75
-	protected $_unsigned		= FALSE;
75
+	protected $_unsigned = FALSE;
76 76
 
77 77
 	// --------------------------------------------------------------------
78 78
 
Please login to merge, or discard this patch.
system/database/drivers/oci8/oci8_result.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 		$this->stmt_id = $driver_object->stmt_id;
92 92
 		$this->curs_id = $driver_object->curs_id;
93 93
 		$this->limit_used = $driver_object->limit_used;
94
-		$this->commit_mode =& $driver_object->commit_mode;
94
+		$this->commit_mode = & $driver_object->commit_mode;
95 95
 		$driver_object->stmt_id = FALSE;
96 96
 	}
97 97
 
@@ -143,10 +143,10 @@  discard block
 block discarded – undo
143 143
 		$retval = array();
144 144
 		for ($c = 1, $fieldCount = $this->num_fields(); $c <= $fieldCount; $c++)
145 145
 		{
146
-			$F		= new stdClass();
146
+			$F = new stdClass();
147 147
 			$F->name	= oci_field_name($this->stmt_id, $c);
148 148
 			$F->type	= oci_field_type($this->stmt_id, $c);
149
-			$F->max_length	= oci_field_size($this->stmt_id, $c);
149
+			$F->max_length = oci_field_size($this->stmt_id, $c);
150 150
 
151 151
 			$retval[] = $F;
152 152
 		}
Please login to merge, or discard this patch.