Test Setup Failed
Push — master ( 100141...16a0cc )
by
unknown
32:08
created
tests/phpunit/Integration/ArticleAnnotationTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 	}
89 89
 
90 90
 	public function provideData() {
91
-		$data = [];
91
+		$data = [ ];
92 92
 
93 93
 		$xmlFileProvider = new XmlFileProvider( __DIR__ . '/../Fixture/articleAnnotation' );
94 94
 		$files = $xmlFileProvider->getFiles();
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 			$testCase = [
106 106
 				0 => substr( $file, strlen( __DIR__ . '/../Fixture/articleAnnotation' ) ),
107 107
 				1 => trim( $decoded[ 'text' ] ),
108
-				2 => [],
108
+				2 => [ ],
109 109
 				3 => trim( $decoded[ 'expected' ] ) . "\n",
110 110
 			];
111 111
 
@@ -114,12 +114,12 @@  discard block
 block discarded – undo
114 114
 			}
115 115
 
116 116
 			foreach ( $decoded[ 'glossary-entry' ] as $entry ) {
117
-				$testCase[ 2 ][] = [ $entry[ 'term' ], $entry[ 'definition' ], $entry[ 'link' ], $entry[ 'style' ] ];
117
+				$testCase[ 2 ][ ] = [ $entry[ 'term' ], $entry[ 'definition' ], $entry[ 'link' ], $entry[ 'style' ] ];
118 118
 			}
119 119
 
120 120
 			\MediaWiki\restoreWarnings();
121 121
 
122
-			$data[] = $testCase;
122
+			$data[ ] = $testCase;
123 123
 		}
124 124
 
125 125
 		return $data;
Please login to merge, or discard this patch.