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 — master ( 093cd2...cb534e )
by Robert
14:05
created
controller/topic.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -93,16 +93,16 @@  discard block
 block discarded – undo
93 93
 		}
94 94
 		$this->forum_id = (int) $this->topic_row['forum_id'];
95 95
 
96
-		$this->view_topic_url_params = 'f=' . $this->forum_id . '&t=' . $this->topic_id;
97
-		$this->view_topic_url	= append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params);
98
-		$this->newest_post_url	= append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params . '&view=unread') . '#unread';
99
-		$this->last_post_url	= append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params . '&p=' . $topic_row['topic_last_post_id']) . '#p' . $topic_row['topic_last_post_id'];
96
+		$this->view_topic_url_params = 'f='.$this->forum_id.'&t='.$this->topic_id;
97
+		$this->view_topic_url = append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params);
98
+		$this->newest_post_url = append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params.'&view=unread').'#unread';
99
+		$this->last_post_url = append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", $this->view_topic_url_params.'&p='.$topic_row['topic_last_post_id']).'#p'.$topic_row['topic_last_post_id'];
100 100
 
101 101
 		$this->replies = $phpbb_content_visibility->get_count('topic_posts', $topic_row, $this->forum_id) - 1;
102 102
 
103 103
 		if (!function_exists('topic_status'))
104 104
 		{
105
-			include ($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
105
+			include ($this->phpbb_root_path.'includes/functions_display.'.$this->php_ext);
106 106
 		}
107 107
 		// Get folder img, topic status/type related information
108 108
 		topic_status($topic_row, $this->replies, $this->unread_topic(), $this->folder_img, $this->folder_alt, $this->topic_type);
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
 
267 267
 	public function mcp_report()
268 268
 	{
269
-		return append_sid("{$this->phpbb_root_path}mcp.{$this->php_ext}", 'i=reports&mode=reports&f=' . $this->forum_id . '&t=' . $this->topic_id, true, $this->user->session_id);
269
+		return append_sid("{$this->phpbb_root_path}mcp.{$this->php_ext}", 'i=reports&mode=reports&f='.$this->forum_id.'&t='.$this->topic_id, true, $this->user->session_id);
270 270
 	}
271 271
 
272 272
 	public function forum_name()
@@ -323,6 +323,6 @@  discard block
 block discarded – undo
323 323
 	{
324 324
 		$s_type_switch = 0;
325 325
 		$s_type_switch_test = ($this->topic_row['topic_type'] == POST_ANNOUNCE || $this->topic_row['topic_type'] == POST_GLOBAL) ? 1 : 0;
326
-		return ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test;
326
+		return ($s_type_switch == $s_type_switch_test) ? - 1 : $s_type_switch_test;
327 327
 	}
328 328
 }
Please login to merge, or discard this patch.
controller/main.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 */
98 98
 	public function show()
99 99
 	{
100
-		$this->tagcloud_manager->assign_tagcloud_to_template(-1);
100
+		$this->tagcloud_manager->assign_tagcloud_to_template(- 1);
101 101
 		return $this->helper->render('tags.html', $this->user->lang('RH_TOPICTAGS'));
102 102
 	}
103 103
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 		$tags = $all_tags['valid'];
130 130
 		$tags_string = join(', ', $tags);
131 131
 		$this->template->assign_var('RH_TOPICTAGS_SEARCH_HEADER',
132
-			$this->user->lang('RH_TOPICTAGS_SEARCH_HEADER_' . $mode, $tags_string)
132
+			$this->user->lang('RH_TOPICTAGS_SEARCH_HEADER_'.$mode, $tags_string)
133 133
 		);
134 134
 		if (empty($tags))
135 135
 		{
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 			return $this->helper->render('show_tag.html', $this->user->lang('RH_TOPICTAGS_TAG_SEARCH'));
139 139
 		}
140 140
 
141
-		$topics_count	= $this->tags_manager->count_topics_by_tags($tags, $mode, $casesensitive);
141
+		$topics_count = $this->tags_manager->count_topics_by_tags($tags, $mode, $casesensitive);
142 142
 		if ($topics_count <= 0)
143 143
 		{
144 144
 			$this->template->assign_var('NO_TOPICS_FOR_TAG', $this->user->lang('RH_TOPICTAGS_NO_TOPICS_FOR_TAG_'.$mode,
@@ -146,14 +146,14 @@  discard block
 block discarded – undo
146 146
 		}
147 147
 		else
148 148
 		{
149
-			$pagination		= $this->pagination;
149
+			$pagination = $this->pagination;
150 150
 
151 151
 			$start			= $this->request->variable('start', 0);
152 152
 			$limit			= $this->config['topics_per_page'];
153 153
 
154 154
 			$start			= $pagination->validate_start($start, $limit, $topics_count);
155 155
 
156
-			$topics			= $this->tags_manager->get_topics_by_tags($tags, $start, $limit, $mode, $casesensitive);
156
+			$topics = $this->tags_manager->get_topics_by_tags($tags, $start, $limit, $mode, $casesensitive);
157 157
 
158 158
 			$base_url		= $this->helper->route('robertheim_topictags_show_tag_controller', array(
159 159
 				'tags'	=> urlencode($tags_string),
@@ -288,6 +288,6 @@  discard block
 block discarded – undo
288 288
 			$json_response->send($tags);
289 289
 		}
290 290
 		// fake a 404
291
-		return $this->helper->error($this->user->lang('RH_TOPICTAGS_TAG_SUGGEST_TAG_ROUTE_ERROR', $this->helper->get_current_url()) , 404);
291
+		return $this->helper->error($this->user->lang('RH_TOPICTAGS_TAG_SUGGEST_TAG_ROUTE_ERROR', $this->helper->get_current_url()), 404);
292 292
 	}
293 293
 }
Please login to merge, or discard this patch.