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/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.