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.
Passed
Push — master ( 7eba59...66bf08 )
by
unknown
71:31 queued 36:31
created
src/BasicBackend.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	public function next() {
74 74
 		static $term = null;
75
-		static $definitions = [];
76
-		static $ret = [];
75
+		static $definitions = [ ];
76
+		static $ret = [ ];
77 77
 
78 78
 		$this->collectDictionaryLines();
79 79
 
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
 
110 110
 			// wipe the data if it's a totally new term definition
111 111
 			if ( !empty( $term ) && count( $definitions ) > 0 ) {
112
-				$definitions = [];
112
+				$definitions = [ ];
113 113
 				$term = null;
114 114
 			}
115 115
 
116
-			$definitions[] = trim( $chunks[ 1 ] );
116
+			$definitions[ ] = trim( $chunks[ 1 ] );
117 117
 		}
118 118
 
119 119
 		// found a new term?
@@ -130,10 +130,10 @@  discard block
 block discarded – undo
130 130
 	 * @return array
131 131
 	 */
132 132
 	protected function queueDefinitions( $definitions, $term ) {
133
-		$ret = [];
133
+		$ret = [ ];
134 134
 
135 135
 		foreach ( $definitions as $definition ) {
136
-			$ret[] = [
136
+			$ret[ ] = [
137 137
 				Element::ELEMENT_TERM       => $term,
138 138
 				Element::ELEMENT_DEFINITION => $definition,
139 139
 				Element::ELEMENT_LINK       => null,
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 			if ( $content instanceof TextContent ) {
213 213
 
214 214
 				// FIXME: getNativeData() is deprecated for MW 1.33+. Use getText().
215
-				if ( ! method_exists( $content, 'getText')) {
215
+				if ( !method_exists( $content, 'getText' ) ) {
216 216
 					return $content->getNativeData();
217 217
 				}
218 218
 
Please login to merge, or discard this patch.