Passed
Push — master ( 8e8992...c32dfe )
by Aleksei
16:30 queued 05:40
created
src/Framework/Console/Confirmation/ApplicationInProduction.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,18 +21,18 @@  discard block
 block discarded – undo
21 21
         private readonly AppEnvironment $appEnv,
22 22
         InputInterface $input,
23 23
         OutputInterface $output,
24
-    ) {
24
+    ){
25 25
         $this->input = $input;
26 26
         $this->output = $output instanceof SymfonyStyle ? $output : new SymfonyStyle($input, $output);
27 27
     }
28 28
 
29 29
     public function confirmToProceed(string $message = 'Application in production.'): bool
30 30
     {
31
-        if (!$this->appEnv->isProduction()) {
31
+        if (!$this->appEnv->isProduction()){
32 32
             return true;
33 33
         }
34 34
 
35
-        if ($this->hasOption('force') && $this->option('force')) {
35
+        if ($this->hasOption('force') && $this->option('force')){
36 36
             return true;
37 37
         }
38 38
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
         $confirmed = $this->confirm('Do you really wish to run command?');
42 42
 
43
-        if (!$confirmed) {
43
+        if (!$confirmed){
44 44
             $this->comment('Command Canceled!');
45 45
 
46 46
             return false;
Please login to merge, or discard this patch.
src/Console/tests/SignatureTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
   -o, --id[=ID]         Id option description. (multiple values allowed)
151 151
   -Q, --quit            Quit option description.
152 152
       --naf[=NAF]       Naf option description. [default: "default"]
153
-HELP
153
+help
154 154
             ,
155 155
             $core->run(command: 'help', input: ['command_name' => 'foo:bar'])->getOutput()->fetch()
156 156
         );
Please login to merge, or discard this patch.