Passed
Branch master (631cc3)
by Stephan
33:03
created
tests/phpunit/Unit/LingoI18NTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@  discard block
 block discarded – undo
36 36
  */
37 37
 class LingoI18NTest extends \PHPUnit\Framework\TestCase {
38 38
 
39
-	public function testJsonSchemaValidatorExists(){
39
+	public function testJsonSchemaValidatorExists() {
40 40
 		$this->assertTrue( class_exists( '\JsonSchema\Validator' ) );
41
-		$this->assertTrue( method_exists('\JsonSchema\Validator', 'check' ) );
41
+		$this->assertTrue( method_exists( '\JsonSchema\Validator', 'check' ) );
42 42
 	}
43 43
 
44 44
 	public function testMagicWordsLoaded() {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 		// format error message
62 62
 		$errors = implode( '', array_map(
63
-			function ( $error ) {
63
+			function( $error ) {
64 64
 				return "* [{$error[ 'property' ]}] {$error[ 'message' ]}\n";
65 65
 			},
66 66
 			$validator->getErrors()
Please login to merge, or discard this patch.
tests/phpunit/Unit/ElementTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 		$this->assertInstanceOf(
52 52
 			'\Lingo\Element',
53
-			new \Lingo\Element($term, $description)
53
+			new \Lingo\Element( $term, $description )
54 54
 		);
55 55
 	}
56 56
 
Please login to merge, or discard this patch.
tests/phpunit/Unit/BasicBackendTest.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 <<<'TESTTEXT'
199 199
 ;CIP:Common image point
200 200
 ;CMP:Common midpoint
201
-TESTTEXT
201
+testtext
202 202
 			,
203 203
 				array(
204 204
 					array( 'CMP', 'Common midpoint', null, null ),
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 :Common image point
214 214
 ;CMP
215 215
 :Common midpoint
216
-TESTTEXT
216
+testtext
217 217
 			,
218 218
 				array(
219 219
 					array( 'CMP', 'Common midpoint', null, null ),
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 ;CIP
228 228
 ;CMP
229 229
 :Common midpoint
230
-TESTTEXT
230
+testtext
231 231
 			,
232 232
 				array(
233 233
 					array( 'CMP', 'Common midpoint', null, null ),
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 ;CIP
242 242
 :Common image point
243 243
 :Common midpoint
244
-TESTTEXT
244
+testtext
245 245
 			,
246 246
 				array(
247 247
 					array( 'CIP', 'Common image point', null, null ),
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 ;CMP
257 257
 :Common image point
258 258
 :Common midpoint
259
-TESTTEXT
259
+testtext
260 260
 			,
261 261
 				array(
262 262
 					array( 'CMP', 'Common image point', null, null ),
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 Sed ut perspiciatis unde; omnis iste natus error: sit voluptatem accusantium...
281 281
 
282 282
 ;NMO:Normal move-out
283
-TESTTEXT
283
+testtext
284 284
 			,
285 285
 				array(
286 286
 					array( 'NMO', 'Normal move-out', null, null ),
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	if ( is_readable( $localVendorPath ) ) {
65 65
 		$autoLoader = registerAutoloaderPath( 'local', $localVendorPath );
66 66
 	} elseif ( is_readable( $mwVendorPath ) ) {
67
-		$autoLoader = registerAutoloaderPath( 'MediaWiki', $mwVendorPath  );
67
+		$autoLoader = registerAutoloaderPath( 'MediaWiki', $mwVendorPath );
68 68
 	}
69 69
 
70 70
 	if ( !$autoLoader instanceof \Composer\Autoload\ClassLoader ) {
Please login to merge, or discard this patch.