Merge "resourceloader: Add unit tests for ResourceLoaderImage"
[lhc/web/wiklou.git] / includes / export / DumpPipeOutput.php
index b4ad672..ce899ed 100644 (file)
@@ -4,7 +4,7 @@
  * Even if compression is available in a library, using a separate
  * program can allow us to make use of a multi-processor system.
  *
- * Copyright © 2003, 2005, 2006 Brion Vibber <brion@pobox.com>
+ * Copyright Â© 2003, 2005, 2006 Brion Vibber <brion@pobox.com>
  * https://www.mediawiki.org/
  *
  * This program is free software; you can redistribute it and/or modify
@@ -61,10 +61,10 @@ class DumpPipeOutput extends DumpFileOutput {
         * @param string $command
         */
        function startCommand( $command ) {
-               $spec = array(
-                       0 => array( "pipe", "r" ),
-               );
-               $pipes = array();
+               $spec = [
+                       0 => [ "pipe", "r" ],
+               ];
+               $pipes = [];
                $this->procOpenResource = proc_open( $command, $spec, $pipes );
                $this->handle = $pipes[0];
        }