Passed
Push — master ( ecfeba...960779 )
by Stephan
01:40
created
src/SimpleBatchUpload.alias.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
  * @ingroup ExtensionManager
23 23
  */
24 24
 
25
-$specialPageAliases = [];
25
+$specialPageAliases = [ ];
26 26
 
27 27
 /** English
28 28
  */
29
-$specialPageAliases['en'] = [
29
+$specialPageAliases[ 'en' ] = [
30 30
 	'BatchUpload' => [ 'BatchUpload' ],
31 31
 ];
Please login to merge, or discard this patch.
src/SimpleBatchUpload.magic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
  * @ingroup ExtensionManager
23 23
  */
24 24
 
25
-$magicWords = [];
25
+$magicWords = [ ];
26 26
 
27 27
 /** English
28 28
  */
29
-$magicWords['en'] = [
29
+$magicWords[ 'en' ] = [
30 30
 	'batchupload' => [ 0, 'batchupload' ],
31 31
 ];
32 32
\ No newline at end of file
Please login to merge, or discard this patch.
src/SimpleBatchUpload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	 */
59 59
 	public function getConfiguration() {
60 60
 
61
-		$configuration = [];
61
+		$configuration = [ ];
62 62
 
63 63
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadAlias' ] = __DIR__ . '/SimpleBatchUpload.alias.php';
64 64
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadMagic' ] = __DIR__ . '/SimpleBatchUpload.magic.php';
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
 		$configuration[ 'wgHooks' ][ 'ParserFirstCallInit' ][ 'ext.simplebatchupload' ] = [ $this, 'registerParserFunction' ];
69 69
 		$configuration[ 'wgHooks' ][ 'MakeGlobalVariablesScript' ][ 'ext.simplebatchupload' ] = [ $this, 'onMakeGlobalVariablesScript' ];
70
-		$configuration[ 'wgHooks' ][ 'SetupAfterCache' ][ 'ext.simplebatchupload' ] = [ $this, 'onSetupAfterCache'];
70
+		$configuration[ 'wgHooks' ][ 'SetupAfterCache' ][ 'ext.simplebatchupload' ] = [ $this, 'onSetupAfterCache' ];
71 71
 
72 72
 		return $configuration;
73 73
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @param \OutputPage $out
139 139
 	 */
140 140
 	public function onMakeGlobalVariablesScript( &$vars, $out ) {
141
-		$vars['simpleBatchUploadMaxFilesPerBatch'] = $this->getMaxFilesPerBatch();
141
+		$vars[ 'simpleBatchUploadMaxFilesPerBatch' ] = $this->getMaxFilesPerBatch();
142 142
 	}
143 143
 
144 144
 	public function onSetupAfterCache() {
Please login to merge, or discard this patch.