Completed
Push — develop ( d12426...aff1bc )
by Zack
18:32
created
vendor/symfony/console/Exception/InvalidArgumentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,6 +14,5 @@
 block discarded – undo
14 14
 /**
15 15
  * @author Jérôme Tamarelle <[email protected]>
16 16
  */
17
-class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
18
-{
17
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface {
19 18
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/ExceptionInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Jérôme Tamarelle <[email protected]>
18 18
  */
19
-interface ExceptionInterface extends \Throwable
20
-{
19
+interface ExceptionInterface extends \Throwable {
21 20
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/MissingInputException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Gabriel Ostrolucký <[email protected]>
18 18
  */
19
-class MissingInputException extends RuntimeException implements ExceptionInterface
20
-{
19
+class MissingInputException extends RuntimeException implements ExceptionInterface {
21 20
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/InvalidOptionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Jérôme Tamarelle <[email protected]>
18 18
  */
19
-class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface
20
-{
19
+class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface {
21 20
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/CommandNotFoundException.php 3 patches
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -18,26 +18,26 @@
 block discarded – undo
18 18
  */
19 19
 class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface
20 20
 {
21
-    private $alternatives;
21
+	private $alternatives;
22 22
 
23
-    /**
24
-     * @param string          $message      Exception message to throw
25
-     * @param string[]        $alternatives List of similar defined names
26
-     * @param int             $code         Exception code
27
-     * @param \Throwable|null $previous     Previous exception used for the exception chaining
28
-     */
29
-    public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
30
-    {
31
-        parent::__construct($message, $code, $previous);
23
+	/**
24
+	 * @param string          $message      Exception message to throw
25
+	 * @param string[]        $alternatives List of similar defined names
26
+	 * @param int             $code         Exception code
27
+	 * @param \Throwable|null $previous     Previous exception used for the exception chaining
28
+	 */
29
+	public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
30
+	{
31
+		parent::__construct($message, $code, $previous);
32 32
 
33
-        $this->alternatives = $alternatives;
34
-    }
33
+		$this->alternatives = $alternatives;
34
+	}
35 35
 
36
-    /**
37
-     * @return string[] A list of similar defined names
38
-     */
39
-    public function getAlternatives()
40
-    {
41
-        return $this->alternatives;
42
-    }
36
+	/**
37
+	 * @return string[] A list of similar defined names
38
+	 */
39
+	public function getAlternatives()
40
+	{
41
+		return $this->alternatives;
42
+	}
43 43
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
      * @param int             $code         Exception code
27 27
      * @param \Throwable|null $previous     Previous exception used for the exception chaining
28 28
      */
29
-    public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
29
+    public function __construct( string $message, array $alternatives = [ ], int $code = 0, \Throwable $previous = null )
30 30
     {
31
-        parent::__construct($message, $code, $previous);
31
+        parent::__construct( $message, $code, $previous );
32 32
 
33 33
         $this->alternatives = $alternatives;
34 34
     }
Please login to merge, or discard this patch.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@  discard block
 block discarded – undo
16 16
  *
17 17
  * @author Jérôme Tamarelle <[email protected]>
18 18
  */
19
-class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface
20
-{
19
+class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface {
21 20
     private $alternatives;
22 21
 
23 22
     /**
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param int             $code         Exception code
27 26
      * @param \Throwable|null $previous     Previous exception used for the exception chaining
28 27
      */
29
-    public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
30
-    {
28
+    public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null) {
31 29
         parent::__construct($message, $code, $previous);
32 30
 
33 31
         $this->alternatives = $alternatives;
@@ -36,8 +34,7 @@  discard block
 block discarded – undo
36 34
     /**
37 35
      * @return string[] A list of similar defined names
38 36
      */
39
-    public function getAlternatives()
40
-    {
37
+    public function getAlternatives() {
41 38
         return $this->alternatives;
42 39
     }
43 40
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/RuntimeException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,6 +14,5 @@
 block discarded – undo
14 14
 /**
15 15
  * @author Jérôme Tamarelle <[email protected]>
16 16
  */
17
-class RuntimeException extends \RuntimeException implements ExceptionInterface
18
-{
17
+class RuntimeException extends \RuntimeException implements ExceptionInterface {
19 18
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/LogicException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,6 +14,5 @@
 block discarded – undo
14 14
 /**
15 15
  * @author Jérôme Tamarelle <[email protected]>
16 16
  */
17
-class LogicException extends \LogicException implements ExceptionInterface
18
-{
17
+class LogicException extends \LogicException implements ExceptionInterface {
19 18
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Exception/NamespaceNotFoundException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,5 @@
 block discarded – undo
16 16
  *
17 17
  * @author Pierre du Plessis <[email protected]>
18 18
  */
19
-class NamespaceNotFoundException extends CommandNotFoundException
20
-{
19
+class NamespaceNotFoundException extends CommandNotFoundException {
21 20
 }
Please login to merge, or discard this patch.
vendor/symfony/console/Command/HelpCommand.php 4 patches
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -24,24 +24,24 @@  discard block
 block discarded – undo
24 24
  */
25 25
 class HelpCommand extends Command
26 26
 {
27
-    private $command;
27
+	private $command;
28 28
 
29
-    /**
30
-     * {@inheritdoc}
31
-     */
32
-    protected function configure()
33
-    {
34
-        $this->ignoreValidationErrors();
29
+	/**
30
+	 * {@inheritdoc}
31
+	 */
32
+	protected function configure()
33
+	{
34
+		$this->ignoreValidationErrors();
35 35
 
36
-        $this
37
-            ->setName('help')
38
-            ->setDefinition([
39
-                new InputArgument('command_name', InputArgument::OPTIONAL, 'The command name', 'help'),
40
-                new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'),
41
-                new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'),
42
-            ])
43
-            ->setDescription('Display help for a command')
44
-            ->setHelp(<<<'EOF'
36
+		$this
37
+			->setName('help')
38
+			->setDefinition([
39
+				new InputArgument('command_name', InputArgument::OPTIONAL, 'The command name', 'help'),
40
+				new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'),
41
+				new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'),
42
+			])
43
+			->setDescription('Display help for a command')
44
+			->setHelp(<<<'EOF'
45 45
 The <info>%command.name%</info> command displays help for a given command:
46 46
 
47 47
   <info>%command.full_name% list</info>
@@ -52,32 +52,32 @@  discard block
 block discarded – undo
52 52
 
53 53
 To display the list of available commands, please use the <info>list</info> command.
54 54
 EOF
55
-            )
56
-        ;
57
-    }
55
+			)
56
+		;
57
+	}
58 58
 
59
-    public function setCommand(Command $command)
60
-    {
61
-        $this->command = $command;
62
-    }
59
+	public function setCommand(Command $command)
60
+	{
61
+		$this->command = $command;
62
+	}
63 63
 
64
-    /**
65
-     * {@inheritdoc}
66
-     */
67
-    protected function execute(InputInterface $input, OutputInterface $output)
68
-    {
69
-        if (null === $this->command) {
70
-            $this->command = $this->getApplication()->find($input->getArgument('command_name'));
71
-        }
64
+	/**
65
+	 * {@inheritdoc}
66
+	 */
67
+	protected function execute(InputInterface $input, OutputInterface $output)
68
+	{
69
+		if (null === $this->command) {
70
+			$this->command = $this->getApplication()->find($input->getArgument('command_name'));
71
+		}
72 72
 
73
-        $helper = new DescriptorHelper();
74
-        $helper->describe($output, $this->command, [
75
-            'format' => $input->getOption('format'),
76
-            'raw_text' => $input->getOption('raw'),
77
-        ]);
73
+		$helper = new DescriptorHelper();
74
+		$helper->describe($output, $this->command, [
75
+			'format' => $input->getOption('format'),
76
+			'raw_text' => $input->getOption('raw'),
77
+		]);
78 78
 
79
-        $this->command = null;
79
+		$this->command = null;
80 80
 
81
-        return 0;
82
-    }
81
+		return 0;
82
+	}
83 83
 }
Please login to merge, or discard this patch.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
         $this->ignoreValidationErrors();
35 35
 
36 36
         $this
37
-            ->setName('help')
38
-            ->setDefinition([
39
-                new InputArgument('command_name', InputArgument::OPTIONAL, 'The command name', 'help'),
40
-                new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'),
41
-                new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'),
42
-            ])
43
-            ->setDescription('Display help for a command')
44
-            ->setHelp(<<<'EOF'
37
+            ->setName( 'help' )
38
+            ->setDefinition( [
39
+                new InputArgument( 'command_name', InputArgument::OPTIONAL, 'The command name', 'help' ),
40
+                new InputOption( 'format', null, InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt' ),
41
+                new InputOption( 'raw', null, InputOption::VALUE_NONE, 'To output raw command help' ),
42
+            ] )
43
+            ->setDescription( 'Display help for a command' )
44
+            ->setHelp( <<<'EOF'
45 45
 The <info>%command.name%</info> command displays help for a given command:
46 46
 
47 47
   <info>%command.full_name% list</info>
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         ;
57 57
     }
58 58
 
59
-    public function setCommand(Command $command)
59
+    public function setCommand( Command $command )
60 60
     {
61 61
         $this->command = $command;
62 62
     }
@@ -64,17 +64,17 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * {@inheritdoc}
66 66
      */
67
-    protected function execute(InputInterface $input, OutputInterface $output)
67
+    protected function execute( InputInterface $input, OutputInterface $output )
68 68
     {
69
-        if (null === $this->command) {
70
-            $this->command = $this->getApplication()->find($input->getArgument('command_name'));
69
+        if ( null === $this->command ) {
70
+            $this->command = $this->getApplication()->find( $input->getArgument( 'command_name' ) );
71 71
         }
72 72
 
73 73
         $helper = new DescriptorHelper();
74
-        $helper->describe($output, $this->command, [
75
-            'format' => $input->getOption('format'),
76
-            'raw_text' => $input->getOption('raw'),
77
-        ]);
74
+        $helper->describe( $output, $this->command, [
75
+            'format' => $input->getOption( 'format' ),
76
+            'raw_text' => $input->getOption( 'raw' ),
77
+        ] );
78 78
 
79 79
         $this->command = null;
80 80
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,15 +22,13 @@  discard block
 block discarded – undo
22 22
  *
23 23
  * @author Fabien Potencier <[email protected]>
24 24
  */
25
-class HelpCommand extends Command
26
-{
25
+class HelpCommand extends Command {
27 26
     private $command;
28 27
 
29 28
     /**
30 29
      * {@inheritdoc}
31 30
      */
32
-    protected function configure()
33
-    {
31
+    protected function configure() {
34 32
         $this->ignoreValidationErrors();
35 33
 
36 34
         $this
@@ -56,16 +54,14 @@  discard block
 block discarded – undo
56 54
         ;
57 55
     }
58 56
 
59
-    public function setCommand(Command $command)
60
-    {
57
+    public function setCommand(Command $command) {
61 58
         $this->command = $command;
62 59
     }
63 60
 
64 61
     /**
65 62
      * {@inheritdoc}
66 63
      */
67
-    protected function execute(InputInterface $input, OutputInterface $output)
68
-    {
64
+    protected function execute(InputInterface $input, OutputInterface $output) {
69 65
         if (null === $this->command) {
70 66
             $this->command = $this->getApplication()->find($input->getArgument('command_name'));
71 67
         }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
   <info>%command.full_name% --format=xml list</info>
52 52
 
53 53
 To display the list of available commands, please use the <info>list</info> command.
54
-EOF
54
+eof
55 55
             )
56 56
         ;
57 57
     }
Please login to merge, or discard this patch.