Completed
Push — master ( 203a51...80ccd5 )
by Christian
37s
created
src/N98/Magento/Command/Database/Compressor/Zstandard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
      */
20 20
     public function __construct(?InputInterface $input = null)
21 21
     {
22
-        $this->compressionLevel = $input ? (int)$input->getOption('zstd-level') : 10;
23
-        $this->extraArgs = $input ? (string)$input->getOption('zstd-extra-args') : '';
22
+        $this->compressionLevel = $input ? (int) $input->getOption('zstd-level') : 10;
23
+        $this->extraArgs = $input ? (string) $input->getOption('zstd-extra-args') : '';
24 24
 
25 25
         parent::__construct($input);
26 26
     }
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Admin/User/ListCommandTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,10 +84,10 @@  discard block
 block discarded – undo
84 84
     public function additionalColumnsProvider()
85 85
     {
86 86
         return [
87
-            'single_column' => [ ['firstname'], ['firstname'] ],
87
+            'single_column' => [['firstname'], ['firstname']],
88 88
             'multiple_columns' => [
89 89
                 ['firstname', 'lastname', 'email'],
90
-                ['firstname', 'lastname', 'email'] ],
90
+                ['firstname', 'lastname', 'email']],
91 91
             'all_columns' => [
92 92
                 [
93 93
                     'user_id', 'firstname', 'lastname', 'email', 'username', 'password', 'created', 'modified',
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
                     'interface_locale', 'failures_num', 'first_failure', 'lock_expires'
101 101
                 ]
102 102
             ],
103
-            'mixed_case_columns' => [ ['FirstName', 'LastName'], ['firstname', 'lastname'] ],
103
+            'mixed_case_columns' => [['FirstName', 'LastName'], ['firstname', 'lastname']],
104 104
         ];
105 105
     }
106 106
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/DumpCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
         $mysqlClientToolConnectionString = $database->getMysqlClientToolConnectionString();
398 398
 
399 399
         $excludeTablesUserInput = $this->excludeTables($input, $output); // Unprefixed
400
-        $stripTablesUserInput = $this->stripTables($input, $output);     // Unprefixed
400
+        $stripTablesUserInput = $this->stripTables($input, $output); // Unprefixed
401 401
 
402 402
         // Structure dump part (for stripped tables)
403 403
         $tablesForStructureDump = $stripTablesUserInput;
Please login to merge, or discard this patch.
tests/N98/Util/Console/Helper/DatabaseHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@
 block discarded – undo
379 379
                 [$this->equalTo('SET FOREIGN_KEY_CHECKS = 1;')]
380 380
             )
381 381
             ->willReturnOnConsecutiveCalls(
382
-                $this->returnValue(1),                            // SET FOREIGN_KEY_CHECKS = 0;
382
+                $this->returnValue(1), // SET FOREIGN_KEY_CHECKS = 0;
383 383
                 $this->throwException(new PDOException('Drop failed')), // DROP VIEW problem_view
384 384
                 $this->returnValue(1)                             // SET FOREIGN_KEY_CHECKS = 1;
385 385
             );
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                 list($host, $port) = explode(':', $this->dbSettings['host'], 2);
160 160
                 $this->dbSettings['host'] = $host;
161 161
                 if (is_numeric($port)) {
162
-                    $this->dbSettings['port'] = (int)$port;
162
+                    $this->dbSettings['port'] = (int) $port;
163 163
                 }
164 164
             }
165 165
         }
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                 list($host, $port) = explode(':', $this->dbSettings['host'], 2);
207 207
                 $this->dbSettings['host'] = $host;
208 208
                 if (is_numeric($port)) {
209
-                    $this->dbSettings['port'] = (int)$port;
209
+                    $this->dbSettings['port'] = (int) $port;
210 210
                 }
211 211
             }
212 212
         }
@@ -451,7 +451,7 @@  discard block
 block discarded – undo
451 451
             . ' '
452 452
             . '-u' . escapeshellarg($this->dbSettings['username'])
453 453
             . ' '
454
-            . (isset($this->dbSettings['port']) && is_numeric($this->dbSettings['port']) && (int)$this->dbSettings['port'] > 0
454
+            . (isset($this->dbSettings['port']) && is_numeric($this->dbSettings['port']) && (int) $this->dbSettings['port'] > 0
455 455
                 ? '-P' . escapeshellarg($this->dbSettings['port']) . ' ' : '')
456 456
             . (strlen($this->dbSettings['password'])
457 457
                 ? '--password=' . escapeshellarg($this->dbSettings['password']) . ' ' : '')
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/KeepCalmCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -325,8 +325,8 @@
 block discarded – undo
325 325
 
326 326
         if ($isError) {
327 327
             $message = "<error>
Please login to merge, or discard this patch.