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 — develop ( 7b8120...7d455c )
by Lonnie
22:54 queued 17:12
created
themes/foundation5/fragments/topbar.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
         <!-- Right Nav Section -->
12 12
         <ul class="right">
13 13
             <li>
14
-                <?php if (! empty($_SESSION['logged_in']) ) : ?>
15
-                    <a href="<?= site_url( \Myth\Route::named('logout') ) ?>">Logout</a>
14
+                <?php if ( ! empty($_SESSION['logged_in'])) : ?>
15
+                    <a href="<?= site_url(\Myth\Route::named('logout')) ?>">Logout</a>
16 16
                 <?php else : ?>
17
-                    <a href="<?= site_url( \Myth\Route::named('login') ) ?>">Login</a>
17
+                    <a href="<?= site_url(\Myth\Route::named('login')) ?>">Login</a>
18 18
                 <?php endif; ?>
19 19
             </li>
20 20
         </ul>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,12 @@
 block discarded – undo
13 13
             <li>
14 14
                 <?php if (! empty($_SESSION['logged_in']) ) : ?>
15 15
                     <a href="<?= site_url( \Myth\Route::named('logout') ) ?>">Logout</a>
16
-                <?php else : ?>
16
+                <?php else {
17
+	: ?>
17 18
                     <a href="<?= site_url( \Myth\Route::named('login') ) ?>">Login</a>
18
-                <?php endif; ?>
19
+                <?php endif;
20
+}
21
+?>
19 22
             </li>
20 23
         </ul>
21 24
 
Please login to merge, or discard this patch.
themes/foundation5/notice.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,11 @@
 block discarded – undo
4 4
         <a href="#" class="close">&times;</a>
5 5
     </div>
6 6
 
7
-<?php else: ?>
7
+<?php else {
8
+	: ?>
8 9
 
9 10
     <div id="notice"></div>
10 11
 
11
-<?php endif; ?>
12 12
\ No newline at end of file
13
+<?php endif;
14
+}
15
+?>
13 16
\ No newline at end of file
Please login to merge, or discard this patch.
system/database/drivers/pdo/subdrivers/pdo_ibm_driver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 	 * @param	mixed	alias name or array of alias->field_id pairs
62 62
 	 * @param	string	field_id if alias name was passed in
63 63
 	 * @param	bool
64
-	 * @return	array
64
+	 * @return	string
65 65
 	 */
66 66
 	function smiley_js($alias = '', $field_id = '', $inline = TRUE)
67 67
 	{
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -115,8 +115,7 @@  discard block
 block discarded – undo
115 115
 				if (isset($this->DSN))
116 116
 				{
117 117
 					$this->dsn .= 'DSN='.$this->DSN;
118
-				}
119
-				elseif ( ! empty($this->database))
118
+				} elseif ( ! empty($this->database))
120 119
 				{
121 120
 					$this->dsn .= 'DSN='.$this->database;
122 121
 				}
@@ -130,8 +129,7 @@  discard block
 block discarded – undo
130 129
 			if (isset($this->DATABASE))
131 130
 			{
132 131
 				$this->dsn .= 'DATABASE='.$this->DATABASE.';';
133
-			}
134
-			elseif ( ! empty($this->database))
132
+			} elseif ( ! empty($this->database))
135 133
 			{
136 134
 				$this->dsn .= 'DATABASE='.$this->database.';';
137 135
 			}
@@ -139,8 +137,7 @@  discard block
 block discarded – undo
139 137
 			if (isset($this->HOSTNAME))
140 138
 			{
141 139
 				$this->dsn .= 'HOSTNAME='.$this->HOSTNAME.';';
142
-			}
143
-			else
140
+			} else
144 141
 			{
145 142
 				$this->dsn .= 'HOSTNAME='.(empty($this->hostname) ? '127.0.0.1;' : $this->hostname.';');
146 143
 			}
@@ -148,8 +145,7 @@  discard block
 block discarded – undo
148 145
 			if (isset($this->PORT))
149 146
 			{
150 147
 				$this->dsn .= 'PORT='.$this->port.';';
151
-			}
152
-			elseif ( ! empty($this->port))
148
+			} elseif ( ! empty($this->port))
153 149
 			{
154 150
 				$this->dsn .= ';PORT='.$this->port.';';
155 151
 			}
Please login to merge, or discard this patch.
themes/bootstrap3/notice.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,11 @@
 block discarded – undo
4 4
         <a href="#" class="close">&times;</a>
5 5
     </div>
6 6
 
7
-<?php else: ?>
7
+<?php else {
8
+	: ?>
8 9
 
9 10
     <div id="notice"></div>
10 11
 
11
-<?php endif; ?>
12 12
\ No newline at end of file
13
+<?php endif;
14
+}
15
+?>
13 16
\ No newline at end of file
Please login to merge, or discard this patch.
system/core/compat/mbstring.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -1,40 +1,40 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * CodeIgniter
4
- *
5
- * An open source application development framework for PHP
6
- *
7
- * This content is released under the MIT License (MIT)
8
- *
9
- * Copyright (c) 2014 - 2015, British Columbia Institute of Technology
10
- *
11
- * Permission is hereby granted, free of charge, to any person obtaining a copy
12
- * of this software and associated documentation files (the "Software"), to deal
13
- * in the Software without restriction, including without limitation the rights
14
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- * copies of the Software, and to permit persons to whom the Software is
16
- * furnished to do so, subject to the following conditions:
17
- *
18
- * The above copyright notice and this permission notice shall be included in
19
- * all copies or substantial portions of the Software.
20
- *
21
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
- * THE SOFTWARE.
28
- *
29
- * @package	CodeIgniter
30
- * @author	EllisLab Dev Team
31
- * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
32
- * @copyright	Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/)
33
- * @license	http://opensource.org/licenses/MIT	MIT License
34
- * @link	http://codeigniter.com
35
- * @since	Version 3.0.0
36
- * @filesource
37
- */
3
+	 * CodeIgniter
4
+	 *
5
+	 * An open source application development framework for PHP
6
+	 *
7
+	 * This content is released under the MIT License (MIT)
8
+	 *
9
+	 * Copyright (c) 2014 - 2015, British Columbia Institute of Technology
10
+	 *
11
+	 * Permission is hereby granted, free of charge, to any person obtaining a copy
12
+	 * of this software and associated documentation files (the "Software"), to deal
13
+	 * in the Software without restriction, including without limitation the rights
14
+	 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+	 * copies of the Software, and to permit persons to whom the Software is
16
+	 * furnished to do so, subject to the following conditions:
17
+	 *
18
+	 * The above copyright notice and this permission notice shall be included in
19
+	 * all copies or substantial portions of the Software.
20
+	 *
21
+	 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+	 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+	 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+	 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+	 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+	 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+	 * THE SOFTWARE.
28
+	 *
29
+	 * @package	CodeIgniter
30
+	 * @author	EllisLab Dev Team
31
+	 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
32
+	 * @copyright	Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/)
33
+	 * @license	http://opensource.org/licenses/MIT	MIT License
34
+	 * @link	http://codeigniter.com
35
+	 * @since	Version 3.0.0
36
+	 * @filesource
37
+	 */
38 38
 defined('BASEPATH') OR exit('No direct script access allowed');
39 39
 
40 40
 /**
Please login to merge, or discard this patch.
system/database/drivers/mssql/mssql_utility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@
 block discarded – undo
51 51
 	 *
52 52
 	 * @var	string
53 53
 	 */
54
-	protected $_list_databases	= 'EXEC sp_helpdb'; // Can also be: EXEC sp_databases
54
+	protected $_list_databases = 'EXEC sp_helpdb'; // Can also be: EXEC sp_databases
55 55
 
56 56
 	/**
57 57
 	 * OPTIMIZE TABLE statement
58 58
 	 *
59 59
 	 * @var	string
60 60
 	 */
61
-	protected $_optimize_table	= 'ALTER INDEX all ON %s REORGANIZE';
61
+	protected $_optimize_table = 'ALTER INDEX all ON %s REORGANIZE';
62 62
 
63 63
 	// --------------------------------------------------------------------
64 64
 
Please login to merge, or discard this patch.
system/database/drivers/mssql/mssql_forge.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,21 +51,21 @@
 block discarded – undo
51 51
 	 *
52 52
 	 * @var	string
53 53
 	 */
54
-	protected $_create_table_if	= "IF NOT EXISTS (SELECT * FROM sysobjects WHERE ID = object_id(N'%s') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)\nCREATE TABLE";
54
+	protected $_create_table_if = "IF NOT EXISTS (SELECT * FROM sysobjects WHERE ID = object_id(N'%s') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)\nCREATE TABLE";
55 55
 
56 56
 	/**
57 57
 	 * DROP TABLE IF statement
58 58
 	 *
59 59
 	 * @var	string
60 60
 	 */
61
-	protected $_drop_table_if	= "IF EXISTS (SELECT * FROM sysobjects WHERE ID = object_id(N'%s') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)\nDROP TABLE";
61
+	protected $_drop_table_if = "IF EXISTS (SELECT * FROM sysobjects WHERE ID = object_id(N'%s') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)\nDROP TABLE";
62 62
 
63 63
 	/**
64 64
 	 * UNSIGNED support
65 65
 	 *
66 66
 	 * @var	array
67 67
 	 */
68
-	protected $_unsigned		= array(
68
+	protected $_unsigned = array(
69 69
 		'TINYINT'	=> 'SMALLINT',
70 70
 		'SMALLINT'	=> 'INT',
71 71
 		'INT'		=> 'BIGINT',
Please login to merge, or discard this patch.
system/database/drivers/mysql/mysql_forge.php 2 patches
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.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -162,14 +162,12 @@  discard block
 block discarded – undo
162 162
 				$field[$i] = ($alter_type === 'ADD')
163 163
 						? "\n\tADD ".$field[$i]['_literal']
164 164
 						: "\n\tMODIFY ".$field[$i]['_literal'];
165
-			}
166
-			else
165
+			} else
167 166
 			{
168 167
 				if ($alter_type === 'ADD')
169 168
 				{
170 169
 					$field[$i]['_literal'] = "\n\tADD ";
171
-				}
172
-				else
170
+				} else
173 171
 				{
174 172
 					$field[$i]['_literal'] = empty($field[$i]['new_name']) ? "\n\tMODIFY " : "\n\tCHANGE ";
175 173
 				}
@@ -235,8 +233,7 @@  discard block
 block discarded – undo
235 233
 						continue;
236 234
 					}
237 235
 				}
238
-			}
239
-			elseif ( ! isset($this->fields[$this->keys[$i]]))
236
+			} elseif ( ! isset($this->fields[$this->keys[$i]]))
240 237
 			{
241 238
 				unset($this->keys[$i]);
242 239
 				continue;
Please login to merge, or discard this patch.
system/database/drivers/mysql/mysql_utility.php 2 patches
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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,8 +179,7 @@
 block discarded – undo
179 179
 					if ($v === NULL)
180 180
 					{
181 181
 						$val_str .= 'NULL';
182
-					}
183
-					else
182
+					} else
184 183
 					{
185 184
 						// Escape the data if it's not an integer
186 185
 						$val_str .= ($is_int[$i] === FALSE) ? $this->db->escape($v) : $v;
Please login to merge, or discard this patch.