Completed
Push — master ( 7c1895...8e1ae8 )
by
unknown
02:48
created
WikibaseQualityExternalValidation.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) {
4
-	require_once __DIR__ . '/vendor/autoload.php';
3
+if (is_readable(__DIR__.'/vendor/autoload.php')) {
4
+	require_once __DIR__.'/vendor/autoload.php';
5 5
 }
6 6
 
7
-call_user_func( function () {
7
+call_user_func(function() {
8 8
 	// Set credits
9 9
 	$GLOBALS['wgExtensionCredits']['wikibase'][] = array(
10 10
 		'path' => __FILE__,
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 	);
18 18
 
19 19
 	// Initialize localization and aliases
20
-	$GLOBALS['wgMessagesDirs']['WikibaseQualityExternalValidation'] = __DIR__ . '/i18n';
21
-	$GLOBALS['wgExtensionMessagesFiles']['WikibaseQualityExternalValidationAlias'] = __DIR__ . '/WikibaseQualityExternalValidation.alias.php';
20
+	$GLOBALS['wgMessagesDirs']['WikibaseQualityExternalValidation'] = __DIR__.'/i18n';
21
+	$GLOBALS['wgExtensionMessagesFiles']['WikibaseQualityExternalValidationAlias'] = __DIR__.'/WikibaseQualityExternalValidation.alias.php';
22 22
 
23 23
 	// Initalize hooks for creating database tables
24 24
 	$GLOBALS['wgHooks']['LoadExtensionSchemaUpdates'][] =
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
 	// Define API modules
38 38
 	$GLOBALS['wgAPIModules']['wbqevcrosscheck'] = array(
39 39
 		'class' => WikibaseQuality\ExternalValidation\Api\RunCrossCheck::class,
40
-		'factory' => function( ApiMain $main, $action ) {
41
-			return WikibaseQuality\ExternalValidation\Api\RunCrossCheck::newFromGlobalState( $main, $action );
40
+		'factory' => function(ApiMain $main, $action) {
41
+			return WikibaseQuality\ExternalValidation\Api\RunCrossCheck::newFromGlobalState($main, $action);
42 42
 		}
43 43
 	);
44 44
 
Please login to merge, or discard this patch.