Completed
Push — develop ( 316159...00443b )
by Zack
20:22
created
vendor/symfony/console/Cursor.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,13 +16,11 @@
 block discarded – undo
16 16
 /**
17 17
  * @author Pierre du Plessis <[email protected]>
18 18
  */
19
-final class Cursor
20
-{
19
+final class Cursor {
21 20
     private $output;
22 21
     private $input;
23 22
 
24
-    public function __construct(OutputInterface $output, $input = null)
25
-    {
23
+    public function __construct(OutputInterface $output, $input = null) {
26 24
         $this->output = $output;
27 25
         $this->input = $input ?? (\defined('STDIN') ? \STDIN : fopen('php://input', 'r+'));
28 26
     }
Please login to merge, or discard this patch.
vendor/symfony/console/ConsoleEvents.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
  *
22 22
  * @author Francesco Levorato <[email protected]>
23 23
  */
24
-final class ConsoleEvents
25
-{
24
+final class ConsoleEvents {
26 25
     /**
27 26
      * The COMMAND event allows you to attach listeners before any command is
28 27
      * executed by the console. It also allows you to modify the command, input and output
Please login to merge, or discard this patch.
vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,15 +27,13 @@  discard block
 block discarded – undo
27 27
  *
28 28
  * @author Grégoire Pineau <[email protected]>
29 29
  */
30
-class AddConsoleCommandPass implements CompilerPassInterface
31
-{
30
+class AddConsoleCommandPass implements CompilerPassInterface {
32 31
     private $commandLoaderServiceId;
33 32
     private $commandTag;
34 33
     private $noPreloadTag;
35 34
     private $privateTagName;
36 35
 
37
-    public function __construct(string $commandLoaderServiceId = 'console.command_loader', string $commandTag = 'console.command', string $noPreloadTag = 'container.no_preload', string $privateTagName = 'container.private')
38
-    {
36
+    public function __construct(string $commandLoaderServiceId = 'console.command_loader', string $commandTag = 'console.command', string $noPreloadTag = 'container.no_preload', string $privateTagName = 'container.private') {
39 37
         if (0 < \func_num_args()) {
40 38
             trigger_deprecation('symfony/console', '5.3', 'Configuring "%s" is deprecated.', __CLASS__);
41 39
         }
@@ -46,8 +44,7 @@  discard block
 block discarded – undo
46 44
         $this->privateTagName = $privateTagName;
47 45
     }
48 46
 
49
-    public function process(ContainerBuilder $container)
50
-    {
47
+    public function process(ContainerBuilder $container) {
51 48
         $commandServices = $container->findTaggedServiceIds($this->commandTag, true);
52 49
         $lazyCommandMap = [];
53 50
         $lazyCommandRefs = [];
Please login to merge, or discard this patch.
vendor/symfony/console/Tester/ApplicationTester.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,16 +24,14 @@  discard block
 block discarded – undo
24 24
  *
25 25
  * @author Fabien Potencier <[email protected]>
26 26
  */
27
-class ApplicationTester
28
-{
27
+class ApplicationTester {
29 28
     use TesterTrait;
30 29
 
31 30
     private $application;
32 31
     private $input;
33 32
     private $statusCode;
34 33
 
35
-    public function __construct(Application $application)
36
-    {
34
+    public function __construct(Application $application) {
37 35
         $this->application = $application;
38 36
     }
39 37
 
@@ -49,8 +47,7 @@  discard block
 block discarded – undo
49 47
      *
50 48
      * @return int The command exit code
51 49
      */
52
-    public function run(array $input, array $options = [])
53
-    {
50
+    public function run(array $input, array $options = []) {
54 51
         $this->input = new ArrayInput($input);
55 52
         if (isset($options['interactive'])) {
56 53
             $this->input->setInteractive($options['interactive']);
Please login to merge, or discard this patch.
vendor/symfony/console/Tester/CommandTester.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,16 +20,14 @@  discard block
 block discarded – undo
20 20
  * @author Fabien Potencier <[email protected]>
21 21
  * @author Robin Chalas <[email protected]>
22 22
  */
23
-class CommandTester
24
-{
23
+class CommandTester {
25 24
     use TesterTrait;
26 25
 
27 26
     private $command;
28 27
     private $input;
29 28
     private $statusCode;
30 29
 
31
-    public function __construct(Command $command)
32
-    {
30
+    public function __construct(Command $command) {
33 31
         $this->command = $command;
34 32
     }
35 33
 
@@ -48,8 +46,7 @@  discard block
 block discarded – undo
48 46
      *
49 47
      * @return int The command exit code
50 48
      */
51
-    public function execute(array $input, array $options = [])
52
-    {
49
+    public function execute(array $input, array $options = []) {
53 50
         // set the command name automatically if the application requires
54 51
         // this argument and no command name was passed
55 52
         if (!isset($input['command'])
Please login to merge, or discard this patch.
vendor/symfony/console/Tester/TesterTrait.php 1 patch
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 /**
20 20
  * @author Amrouche Hamza <[email protected]>
21 21
  */
22
-trait TesterTrait
23
-{
22
+trait TesterTrait {
24 23
     /** @var StreamOutput */
25 24
     private $output;
26 25
     private $inputs = [];
@@ -33,8 +32,7 @@  discard block
 block discarded – undo
33 32
      *
34 33
      * @return string The display
35 34
      */
36
-    public function getDisplay(bool $normalize = false)
37
-    {
35
+    public function getDisplay(bool $normalize = false) {
38 36
         if (null === $this->output) {
39 37
             throw new \RuntimeException('Output not initialized, did you execute the command before requesting the display?');
40 38
         }
@@ -57,8 +55,7 @@  discard block
 block discarded – undo
57 55
      *
58 56
      * @return string
59 57
      */
60
-    public function getErrorOutput(bool $normalize = false)
61
-    {
58
+    public function getErrorOutput(bool $normalize = false) {
62 59
         if (!$this->captureStreamsIndependently) {
63 60
             throw new \LogicException('The error output is not available when the tester is run without "capture_stderr_separately" option set.');
64 61
         }
@@ -79,8 +76,7 @@  discard block
 block discarded – undo
79 76
      *
80 77
      * @return InputInterface The current input instance
81 78
      */
82
-    public function getInput()
83
-    {
79
+    public function getInput() {
84 80
         return $this->input;
85 81
     }
86 82
 
@@ -89,8 +85,7 @@  discard block
 block discarded – undo
89 85
      *
90 86
      * @return OutputInterface The current output instance
91 87
      */
92
-    public function getOutput()
93
-    {
88
+    public function getOutput() {
94 89
         return $this->output;
95 90
     }
96 91
 
@@ -101,8 +96,7 @@  discard block
 block discarded – undo
101 96
      *
102 97
      * @return int The status code
103 98
      */
104
-    public function getStatusCode()
105
-    {
99
+    public function getStatusCode() {
106 100
         if (null === $this->statusCode) {
107 101
             throw new \RuntimeException('Status code not initialized, did you execute the command before requesting the status code?');
108 102
         }
@@ -118,8 +112,7 @@  discard block
 block discarded – undo
118 112
      *
119 113
      * @return $this
120 114
      */
121
-    public function setInputs(array $inputs)
122
-    {
115
+    public function setInputs(array $inputs) {
123 116
         $this->inputs = $inputs;
124 117
 
125 118
         return $this;
@@ -134,8 +127,7 @@  discard block
 block discarded – undo
134 127
      *  * verbosity:                 Sets the output verbosity flag
135 128
      *  * capture_stderr_separately: Make output of stdOut and stdErr separately available
136 129
      */
137
-    private function initOutput(array $options)
138
-    {
130
+    private function initOutput(array $options) {
139 131
         $this->captureStreamsIndependently = \array_key_exists('capture_stderr_separately', $options) && $options['capture_stderr_separately'];
140 132
         if (!$this->captureStreamsIndependently) {
141 133
             $this->output = new StreamOutput(fopen('php://memory', 'w', false));
@@ -171,8 +163,7 @@  discard block
 block discarded – undo
171 163
     /**
172 164
      * @return resource
173 165
      */
174
-    private static function createStream(array $inputs)
175
-    {
166
+    private static function createStream(array $inputs) {
176 167
         $stream = fopen('php://memory', 'r+', false);
177 168
 
178 169
         foreach ($inputs as $input) {
Please login to merge, or discard this patch.
vendor/symfony/console/SingleCommandApplication.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
 /**
19 19
  * @author Grégoire Pineau <[email protected]>
20 20
  */
21
-class SingleCommandApplication extends Command
22
-{
21
+class SingleCommandApplication extends Command {
23 22
     private $version = 'UNKNOWN';
24 23
     private $autoExit = true;
25 24
     private $running = false;
Please login to merge, or discard this patch.
vendor/symfony/string/Exception/InvalidArgumentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,6 +11,5 @@
 block discarded – undo
11 11
 
12 12
 namespace Symfony\Component\String\Exception;
13 13
 
14
-class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
15
-{
14
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface {
16 15
 }
Please login to merge, or discard this patch.
vendor/symfony/string/Exception/ExceptionInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,6 +11,5 @@
 block discarded – undo
11 11
 
12 12
 namespace Symfony\Component\String\Exception;
13 13
 
14
-interface ExceptionInterface extends \Throwable
15
-{
14
+interface ExceptionInterface extends \Throwable {
16 15
 }
Please login to merge, or discard this patch.