Merge "Add a class to interlanguage links"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiPHPUnitCommand.php
index 387107b..cc49fde 100644 (file)
@@ -21,15 +21,15 @@ class MediaWikiPHPUnitCommand extends PHPUnit_TextUI_Command {
                }
        }
 
-       protected function handleArguments(array $argv) {
+       protected function handleArguments( array $argv ) {
                parent::handleArguments( $argv );
 
                if ( !isset( $this->arguments['listeners'] ) ) {
                        $this->arguments['listeners'] = array();
                }
 
-               foreach ($this->options[0] as $option) {
-                       switch ($option[0]) {
+               foreach ( $this->options[0] as $option ) {
+                       switch ( $option[0] ) {
                                case '--debug-tests':
                                        $this->arguments['listeners'][] = new MediaWikiPHPUnitTestListener( 'PHPUnitCommand' );
                                        break;
@@ -100,17 +100,14 @@ class MediaWikiPHPUnitCommand extends PHPUnit_TextUI_Command {
                print <<<EOT
 
 ParserTest-specific options:
-
   --regex="<regex>"        Only run parser tests that match the given regex
   --file="<filename>"      File describing parser tests
   --keep-uploads           Re-use the same upload directory for each test, don't delete it
 
-
 Database options:
   --use-normal-tables      Use normal DB tables.
   --reuse-db               Init DB only if tables are missing and keep after finish.
 
-
 Debugging options:
   --debug-tests            Log testing activity to the PHPUnitCommand log channel.