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.
Test Setup Failed
Push — master ( 56d675...807e0e )
by
unknown
34:34
created
src/LingoParser.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 				} else {
156 156
 
157 157
 					wfDebug( "Cache miss: Lingo tree not found in cache.\n" );
158
-					$this->mLingoTree =& $this->buildLingo();
158
+					$this->mLingoTree = & $this->buildLingo();
159 159
 					wfDebug( "Cached lingo tree.\n" );
160 160
 				}
161 161
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
 			} else {
168 168
 				wfDebug( "Caching of lingo tree disabled.\n" );
169
-				$this->mLingoTree =& $this->buildLingo();
169
+				$this->mLingoTree = & $this->buildLingo();
170 170
 			}
171 171
 
172 172
 		}
@@ -202,10 +202,10 @@  discard block
 block discarded – undo
202 202
 		// Parse text identical to options used in includes/api/ApiParse.php
203 203
 		$params = $this->mApiParams;
204 204
 		$text = is_null( $params ) ? $parser->getOutput()->getText() : $parser->getOutput()->getText( [
205
-			'allowTOC' => !$params['disabletoc'],
206
-			'enableSectionEditLinks' => !$params['disableeditsection'],
207
-			'wrapperDivClass' => $params['wrapoutputclass'],
208
-			'deduplicateStyles' => !$params['disablestylededuplication'],
205
+			'allowTOC' => !$params[ 'disabletoc' ],
206
+			'enableSectionEditLinks' => !$params[ 'disableeditsection' ],
207
+			'wrapperDivClass' => $params[ 'wrapoutputclass' ],
208
+			'deduplicateStyles' => !$params[ 'disablestylededuplication' ],
209 209
 		] );
210 210
 
211 211
 		if ( $text === null || $text === '' ) {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 		// Iterate all HTML text matches
237 237
 		$numberOfTextElements = $textElements->length;
238 238
 
239
-		$definitions = [];
239
+		$definitions = [ ];
240 240
 
241 241
 		for ( $textElementIndex = 0; $textElementIndex < $numberOfTextElements; $textElementIndex++ ) {
242 242
 			$textElement = $textElements->item( $textElementIndex );
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 				continue;
246 246
 			}
247 247
 
248
-			$matches = [];
248
+			$matches = [ ];
249 249
 			preg_match_all(
250 250
 				$this->regex,
251 251
 				$textElement->nodeValue,
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
 	protected function shouldParse( &$parser ) {
407 407
 		global $wgexLingoUseNamespaces;
408 408
 
409
-		if ( !( $parser instanceof Parser || $parser instanceof StubObject) ) {
409
+		if ( !( $parser instanceof Parser || $parser instanceof StubObject ) ) {
410 410
 			return false;
411 411
 		}
412 412
 
Please login to merge, or discard this patch.