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 ( 39a71a...c9ce46 )
by gyeong-won
14:51 queued 06:29
created
classes/xml/xmlquery/tags/navigation/LimitTag.class.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
 	 */
49 49
 	function LimitTag($index)
50 50
 	{
51
-		if($index->page && $index->page->attrs && $index->page_count && $index->page_count->attrs)
51
+		if ($index->page && $index->page->attrs && $index->page_count && $index->page_count->attrs)
52 52
 		{
53
-			if(!isset($index->page->attrs->default))
53
+			if (!isset($index->page->attrs->default))
54 54
 				$index->page->attrs->default = 1;
55
-			if(!isset($index->page_count->attrs->default))
55
+			if (!isset($index->page_count->attrs->default))
56 56
 				$index->page_count->attrs->default = 10;
57 57
 			$this->page = new QueryArgument($index->page);
58 58
 			$this->page_count = new QueryArgument($index->page_count);
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
 			$this->arguments[] = $this->page_count;
61 61
 		}
62 62
 
63
-		if(!isset($index->list_count->attrs->default))
63
+		if (!isset($index->list_count->attrs->default))
64 64
 			$index->list_count->attrs->default = 0;
65 65
 		$this->list_count = new QueryArgument($index->list_count);
66 66
 		$this->arguments[] = $this->list_count;
67 67
 		
68
-		if(isset($index->offset) && isset($index->offset->attrs))
68
+		if (isset($index->offset) && isset($index->offset->attrs))
69 69
 		{
70 70
 			$this->offset = new QueryArgument($index->offset);
71 71
 			$this->arguments[] = $this->offset;
@@ -74,11 +74,11 @@  discard block
 block discarded – undo
74 74
 
75 75
 	function toString()
76 76
 	{
77
-		if($this->page)
77
+		if ($this->page)
78 78
 		{
79 79
 			return sprintf('new Limit(${\'%s_argument\'}, ${\'%s_argument\'}, ${\'%s_argument\'})', $this->list_count->getArgumentName(), $this->page->getArgumentName(), $this->page_count->getArgumentName());
80 80
 		}
81
-		elseif($this->offset)
81
+		elseif ($this->offset)
82 82
 		{
83 83
 			return sprintf('new Limit(${\'%s_argument\'}, NULL, NULL, ${\'%s_argument\'})', $this->list_count->getArgumentName(), $this->offset->getArgumentName());
84 84
 		}
Please login to merge, or discard this patch.
Braces   +11 added lines, -10 removed lines patch added patch discarded remove patch
@@ -50,18 +50,21 @@  discard block
 block discarded – undo
50 50
 	{
51 51
 		if($index->page && $index->page->attrs && $index->page_count && $index->page_count->attrs)
52 52
 		{
53
-			if(!isset($index->page->attrs->default))
54
-				$index->page->attrs->default = 1;
55
-			if(!isset($index->page_count->attrs->default))
56
-				$index->page_count->attrs->default = 10;
53
+			if(!isset($index->page->attrs->default)) {
54
+							$index->page->attrs->default = 1;
55
+			}
56
+			if(!isset($index->page_count->attrs->default)) {
57
+							$index->page_count->attrs->default = 10;
58
+			}
57 59
 			$this->page = new QueryArgument($index->page);
58 60
 			$this->page_count = new QueryArgument($index->page_count);
59 61
 			$this->arguments[] = $this->page;
60 62
 			$this->arguments[] = $this->page_count;
61 63
 		}
62 64
 
63
-		if(!isset($index->list_count->attrs->default))
64
-			$index->list_count->attrs->default = 0;
65
+		if(!isset($index->list_count->attrs->default)) {
66
+					$index->list_count->attrs->default = 0;
67
+		}
65 68
 		$this->list_count = new QueryArgument($index->list_count);
66 69
 		$this->arguments[] = $this->list_count;
67 70
 		
@@ -77,12 +80,10 @@  discard block
 block discarded – undo
77 80
 		if($this->page)
78 81
 		{
79 82
 			return sprintf('new Limit(${\'%s_argument\'}, ${\'%s_argument\'}, ${\'%s_argument\'})', $this->list_count->getArgumentName(), $this->page->getArgumentName(), $this->page_count->getArgumentName());
80
-		}
81
-		elseif($this->offset)
83
+		} elseif($this->offset)
82 84
 		{
83 85
 			return sprintf('new Limit(${\'%s_argument\'}, NULL, NULL, ${\'%s_argument\'})', $this->list_count->getArgumentName(), $this->offset->getArgumentName());
84
-		}
85
-		else
86
+		} else
86 87
 		{
87 88
 			return sprintf('new Limit(${\'%s_argument\'})', $this->list_count->getArgumentName());
88 89
 		}
Please login to merge, or discard this patch.
classes/db/queryparts/limit/Limit.class.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	function Limit($list_count, $page = NULL, $page_count = NULL, $offset = NULL)
45 45
 	{
46 46
 		$this->list_count = $list_count;
47
-		if($page)
47
+		if ($page)
48 48
 		{
49 49
 			$list_count_value = $list_count->getValue();
50 50
 			$page_value = $page->getValue();
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 			$this->page_count = $page_count;
53 53
 			$this->page = $page;
54 54
 		}
55
-		elseif($offset)
55
+		elseif ($offset)
56 56
 		{
57 57
 			$this->start = $offset->getValue();
58 58
 		}
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 	 */
65 65
 	function isPageHandler()
66 66
 	{
67
-		if($this->page)
67
+		if ($this->page)
68 68
 		{
69 69
 			return true;
70 70
 		}
@@ -86,9 +86,9 @@  discard block
 block discarded – undo
86 86
 
87 87
 	function toString()
88 88
 	{
89
-		if($this->page || $this->start)
89
+		if ($this->page || $this->start)
90 90
 		{
91
-			return $this->start . ' , ' . $this->list_count->getValue();
91
+			return $this->start.' , '.$this->list_count->getValue();
92 92
 		}
93 93
 		else
94 94
 		{
Please login to merge, or discard this patch.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@  discard block
 block discarded – undo
51 51
 			$this->start = ($page_value - 1) * $list_count_value;
52 52
 			$this->page_count = $page_count;
53 53
 			$this->page = $page;
54
-		}
55
-		elseif($offset)
54
+		} elseif($offset)
56 55
 		{
57 56
 			$this->start = $offset->getValue();
58 57
 		}
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
 		if($this->page)
68 67
 		{
69 68
 			return true;
70
-		}
71
-		else
69
+		} else
72 70
 		{
73 71
 			return false;
74 72
 		}
@@ -89,8 +87,7 @@  discard block
 block discarded – undo
89 87
 		if($this->page || $this->start)
90 88
 		{
91 89
 			return $this->start . ' , ' . $this->list_count->getValue();
92
-		}
93
-		else
90
+		} else
94 91
 		{
95 92
 			return $this->list_count->getValue();
96 93
 		}
Please login to merge, or discard this patch.