Test Failed
Push — master ( c769c9...acf200 )
by CodexShaper
02:04
created
src/Dumper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 {
11 11
     use DumperTrait;
12 12
 
13
-    public function __construct(array $options = [])
13
+    public function __construct(array $options = [ ])
14 14
     {
15 15
         foreach ($options as $option => $value) {
16 16
             if (property_exists($this, $option)) {
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @return $this
23 23
      */
24
-    public static function create(array $options = [])
24
+    public static function create(array $options = [ ])
25 25
     {
26 26
         return new static($options);
27 27
     }
Please login to merge, or discard this patch.
src/Traits/DumperTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     /*@var int*/
22 22
     protected $timeout = 0;
23 23
     /*@var array*/
24
-    protected $tables = [];
24
+    protected $tables = [ ];
25 25
     /*@var array*/
26
-    protected $ignoreTables = [];
26
+    protected $ignoreTables = [ ];
27 27
     /*@var string*/
28 28
     protected $destinationPath = 'dump.sql';
29 29
     /*@var string*/
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         }
102 102
 
103 103
         if (is_string($tables)) {
104
-            $tables = [$tables];
104
+            $tables = [ $tables ];
105 105
         }
106 106
 
107 107
         if (!is_array($tables)) {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         }
125 125
 
126 126
         if (is_string($tables)) {
127
-            $tables = [$tables];
127
+            $tables = [ $tables ];
128 128
         }
129 129
 
130 130
         if (!is_array($tables)) {
Please login to merge, or discard this patch.
src/Drivers/MysqlDumper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@
 block discarded – undo
71 71
         $includeTables    = (count($this->tables) > 0) ? implode(' ', $this->tables) : "";
72 72
         $includeTablesArg = !empty($includeTables) ? '--tables ' . escapeshellarg($includeTables) : '';
73 73
 
74
-        $ignoreTablesArgs = [];
74
+        $ignoreTablesArgs = [ ];
75 75
         foreach ($this->ignoreTables as $tableName) {
76
-            $ignoreTablesArgs[] = "--ignore-table=" . $databaseArg . "." . escapeshellarg($tableName);
76
+            $ignoreTablesArgs[ ] = "--ignore-table=" . $databaseArg . "." . escapeshellarg($tableName);
77 77
         }
78 78
         $ignoreTablesArg = (count($ignoreTablesArgs) > 0) ? implode(' ', $ignoreTablesArgs) : '';
79 79
 
Please login to merge, or discard this patch.