8000 fixed CS · dirkaholic/symfony@a086cdc · GitHub
[go: up one dir, main page]

Skip to content

Commit a086cdc

Browse files
committed
fixed CS
1 parent 6c20643 commit a086cdc

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -509,64 +509,64 @@ public function getAddingAlreadySetDefinitionElementData()
509509
array(new InputOption('query', 'q', InputOption::VALUE_NONE)),
510510
);
511511
}
512-
512+
513513
public function testGetDefaultHelperSetReturnsDefaultValues()
514514
{
515515
$application = new Application();
516516
$application->setAutoExit(false);
517517
$application->setCatchExceptions(false);
518-
518+
519519
$helperSet = $application->getHelperSet();
520-
520+
521521
$this->assertTrue($helperSet->has('formatter'));
522522
$this->assertTrue($helperSet->has('dialog'));
523523
$this->assertTrue($helperSet->has('progress'));
524524
}
525-
525+
526526
public function testAddingSingleHelperSetOverwritesDefaultValues()
527527
{
528528
$application = new Application();
529529
$application->setAutoExit(false);
530530
$application->setCatchExceptions(false);
531-
531+
532532
$application->setHelperSet(new HelperSet(array(new FormatterHelper())));
533-
533+
534534
$helperSet = $application->getHelperSet();
535-
535+
536536
$this->assertTrue($helperSet->has('formatter'));
537-
537+
538538
// no other default helper set should be returned
539539
$this->assertFalse($helperSet->has('dialog'));
540540
$this->assertFalse($helperSet->has('progress'));
541541
}
542-
542+
543543
public function testOverwritingDefaultHelperSetOverwritesDefaultValues()
544544
{
545545
$application = new CustomApplication();
546546
$application->setAutoExit(false);
547547
$application->setCatchExceptions(false);
548-
548+
549549
$application->setHelperSet(new HelperSet(array(new FormatterHelper())));
550-
550+
551551
$helperSet = $application->getHelperSet();
552-
552+
553553
$this->assertTrue($helperSet->has('formatter'));
554-
554+
555555
// no other default helper set should be returned
556556
$this->assertFalse($helperSet->has('dialog'));
557557
$this->assertFalse($helperSet->has('progress'));
558558
}
559-
559+
560560
public function testGetDefaultInputDefinitionReturnsDefaultValues()
561561
{
562562
$application = new Application();
563563
$application->setAutoExit(false);
564564
$application->setCatchExceptions(false);
565-
565+
566566
$inputDefinition = $application->getDefinition();
567567

568568
$this->assertTrue($inputDefinition->hasArgument('command'));
569-
569+
570570
$this->assertTrue($inputDefinition->hasOption('help'));
571571
$this->assertTrue($inputDefinition->hasOption('quiet'));
572572
$this->assertTrue($inputDefinition->hasOption('verbose'));
@@ -575,26 +575,26 @@ public function testGetDefaultInputDefinitionReturnsDefaultValues()
575575
$this->assertTrue($inputDefinition->hasOption('no-ansi'));
576576
$this->assertTrue($inputDefinition->hasOption('no-interaction'));
577577
}
578-
578+
579579
public function testOverwritingDefaultInputDefinitionOverwritesDefaultValues()
580580
{
581581
$application = new CustomApplication();
582582
$application->setAutoExit(false);
583583
$application->setCatchExceptions(false);
584-
584+
585585
$inputDefinition = $application->getDefinition();
586586

587587
// check wether the default arguments and options are not returned any more
588588
$this->assertFalse($inputDefinition->hasArgument('command'));
589-
589+
590590
$this->assertFalse($inputDefinition->hasOption('help'));
591591
$this->assertFalse($inputDefinition->hasOption('quiet'));
592592
$this->assertFalse($inputDefinition->hasOption('verbose'));
593593
$this->assertFalse($inputDefinition->hasOption('version'));
594594
$this->assertFalse($inputDefinition->hasOption('ansi'));
595595
$this->assertFalse($inputDefinition->hasOption('no-ansi'));
596596
$this->assertFalse($inputDefinition->hasOption('no-interaction'));
597-
597+
598598
$this->assertTrue($inputDefinition->hasOption('custom'));
599599
}
600600
}
@@ -610,7 +610,7 @@ protected function getDefaultInputDefinition()
610610
{
611611
return new InputDefinition(array(new InputOption('--custom', '-c', InputOption::VALUE_NONE, 'Set the custom input definition.')));
612612
}
613-
613+
614614
/**
615615
* Gets the default helper set with the helpers that should always be available.
616616
*

0 commit comments

Comments
 (0)
0