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 (#1814)
by
unknown
11:57
created
classes/db/queryparts/expression/ClickCountExpression.class.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	{
28 28
 		parent::SelectExpression($column_name, $alias);
29 29
 
30
-		if(!is_bool($click_count))
30
+		if (!is_bool($click_count))
31 31
 		{
32 32
 			// error_log("Click_count value for $column_name was not boolean", 0);
33 33
 			$this->click_count = false;
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	function getExpression()
48 48
 	{
49 49
 		$db_type = Context::getDBType();
50
-		if($db_type == 'cubrid')
50
+		if ($db_type == 'cubrid')
51 51
 		{
52 52
 			return "INCR($this->column_name)";
53 53
 		}
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
111 111
 		if($this->limit)
112 112
 		{
113 113
 			return $this->limit->toString();
114
-		}
115
-		else
114
+		} else
116 115
 		{
117 116
 			return "";
118 117
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/expression/DeleteExpression.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	function getValue()
43 43
 	{
44 44
 		// TODO Escape value according to column type instead of variable type
45
-		if(!is_numeric($this->value))
45
+		if (!is_numeric($this->value))
46 46
 		{
47 47
 			return "'" . $this->value . "'";
48 48
 		}
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
 	function show()
53 53
 	{
54
-		if(!$this->value)
54
+		if (!$this->value)
55 55
 		{
56 56
 			return false;
57 57
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/expression/InsertExpression.class.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
 	function getValue($with_values = true)
33 33
 	{
34
-		if($with_values)
34
+		if ($with_values)
35 35
 		{
36 36
 			return $this->argument->getValue();
37 37
 		}
@@ -40,12 +40,12 @@  discard block
 block discarded – undo
40 40
 
41 41
 	function show()
42 42
 	{
43
-		if(!$this->argument)
43
+		if (!$this->argument)
44 44
 		{
45 45
 			return false;
46 46
 		}
47 47
 		$value = $this->argument->getValue();
48
-		if(!isset($value))
48
+		if (!isset($value))
49 49
 		{
50 50
 			return false;
51 51
 		}
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
 	function getArguments()
61 61
 	{
62
-		if($this->argument)
62
+		if ($this->argument)
63 63
 		{
64 64
 			return array($this->argument);
65 65
 		}
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
111 111
 		if($this->limit)
112 112
 		{
113 113
 			return $this->limit->toString();
114
-		}
115
-		else
114
+		} else
116 115
 		{
117 116
 			return "";
118 117
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/expression/UpdateExpressionWithoutArgument.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	{
39 39
 		// TODO Escape value according to column type instead of variable type
40 40
 		$value = $this->argument;
41
-		if(!is_numeric($value))
41
+		if (!is_numeric($value))
42 42
 		{
43 43
 			return "'" . $value . "'";
44 44
 		}
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
 
48 48
 	function show()
49 49
 	{
50
-		if(!$this->argument)
50
+		if (!$this->argument)
51 51
 		{
52 52
 			return false;
53 53
 		}
54 54
 		$value = $this->argument;
55
-		if(!isset($value))
55
+		if (!isset($value))
56 56
 		{
57 57
 			return false;
58 58
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/limit/Limit.class.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	function Limit($list_count, $page = NULL, $page_count = NULL)
44 44
 	{
45 45
 		$this->list_count = $list_count;
46
-		if($page)
46
+		if ($page)
47 47
 		{
48 48
 			$list_count_value = $list_count->getValue();
49 49
 			$page_value = $page->getValue();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 */
60 60
 	function isPageHandler()
61 61
 	{
62
-		if($this->page)
62
+		if ($this->page)
63 63
 		{
64 64
 			return true;
65 65
 		}
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
 	function toString()
83 83
 	{
84
-		if($this->page)
84
+		if ($this->page)
85 85
 		{
86 86
 			return $this->start . ' , ' . $this->list_count->getValue();
87 87
 		}
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@  discard block
 block discarded – undo
85 85
 		if(strpos($name, '.') === FALSE)
86 86
 		{
87 87
 			$this->column_name = $name;
88
-		}
89
-		else
88
+		} else
90 89
 		{
91 90
 			list($prefix, $name) = explode('.', $name);
92 91
 			$this->column_name = $name;
@@ -159,8 +158,7 @@  discard block
 block discarded – undo
159 158
 					, $this->argument_name
160 159
 					, $this->argument_name
161 160
 			);
162
-		}
163
-		else
161
+		} else
164 162
 		{
165 163
 			$arg = sprintf("\n" . '${\'%s_argument\'} = new Argument(\'%s\', %s);' . "\n"
166 164
 					, $this->argument_name
Please login to merge, or discard this patch.
classes/db/queryparts/order/OrderByColumn.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
59 59
 	function getArguments()
60 60
 	{
61 61
 		$args = array();
62
-		if(is_a($this->column_name, 'Argument'))
62
+		if (is_a($this->column_name, 'Argument'))
63 63
 		{
64 64
 			$args[] = $this->column_name;
65 65
 		}
66
-		if(is_a($this->sort_order, 'Argument'))
66
+		if (is_a($this->sort_order, 'Argument'))
67 67
 		{
68 68
 			$args[] = $this->sort_order;
69 69
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/table/CubridTableWithHint.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@
 block discarded – undo
52 52
 		$db_info = Context::getDBInfo();
53 53
 		$prefix = $db_info->master_db["db_table_prefix"];
54 54
 
55
-		foreach($this->index_hints_list as $index_hint)
55
+		foreach ($this->index_hints_list as $index_hint)
56 56
 		{
57 57
 			$index_hint_type = $index_hint->getIndexHintType();
58
-			if($index_hint_type !== 'IGNORE')
58
+			if ($index_hint_type !== 'IGNORE')
59 59
 			{
60 60
 				$result .= $this->alias . '.'
61 61
 						. '"' . $prefix . substr($index_hint->getIndexName(), 1)
Please login to merge, or discard this patch.
classes/db/queryparts/table/JoinTable.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 		$part = $this->join_type . ' ' . $this->name;
45 45
 		$part .= $this->alias ? ' as ' . $this->alias : '';
46 46
 		$part .= ' on ';
47
-		foreach($this->conditions as $conditionGroup)
47
+		foreach ($this->conditions as $conditionGroup)
48 48
 		{
49 49
 			$part .= $conditionGroup->toString($with_value);
50 50
 		}
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	function getArguments()
60 60
 	{
61 61
 		$args = array();
62
-		foreach($this->conditions as $conditionGroup)
62
+		foreach ($this->conditions as $conditionGroup)
63 63
 		{
64 64
 			$args = array_merge($args, $conditionGroup->getArguments());
65 65
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/table/MssqlTableWithHint.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,15 +46,15 @@
 block discarded – undo
46 46
 
47 47
 		$index_hint_string = '';
48 48
 		$indexTypeList = array('USE' => 1, 'FORCE' => 1);
49
-		foreach($this->index_hints_list as $index_hint)
49
+		foreach ($this->index_hints_list as $index_hint)
50 50
 		{
51 51
 			$index_hint_type = $index_hint->getIndexHintType();
52
-			if(isset($indexTypeList[$index_hint_type]))
52
+			if (isset($indexTypeList[$index_hint_type]))
53 53
 			{
54 54
 				$index_hint_string .= 'INDEX(' . $index_hint->getIndexName() . '), ';
55 55
 			}
56 56
 		}
57
-		if($index_hint_string != '')
57
+		if ($index_hint_string != '')
58 58
 		{
59 59
 			$result .= ' WITH(' . substr($index_hint_string, 0, -2) . ') ';
60 60
 		}
Please login to merge, or discard this patch.