Completed
Push — master ( 36276c...d25796 )
by Sebastian
14s queued 12s
created
src/Backup/Sync/LaravelStorage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             $storage->makeDirectory($this->path);
67 67
         }
68 68
         $storage->getDriver()->writeStream(
69
-            $this->path . '/' . $target->getFilename(),
69
+            $this->path.'/'.$target->getFilename(),
70 70
             fopen($target->getPathname(), 'r+')
71 71
         );
72 72
     }
@@ -80,8 +80,8 @@  discard block
 block discarded – undo
80 80
     public function simulate(Target $target, Result $result)
81 81
     {
82 82
         $result->debug(
83
-            'sync backup to ' . $this->filesystem . PHP_EOL
84
-            . ' target path: ' . $this->path
83
+            'sync backup to '.$this->filesystem.PHP_EOL
84
+            . ' target path: '.$this->path
85 85
         );
86 86
     }
87 87
 }
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function boot()
29 29
     {
30 30
         $this->publishes(
31
-            [__DIR__ . '/phpbu.php' => config_path('phpbu.php')]
31
+            [__DIR__.'/phpbu.php' => config_path('phpbu.php')]
32 32
         );
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/Cmd/Backup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,8 @@
 block discarded – undo
121 121
             ]
122 122
         )) {
123 123
             throw new Configuration\Exception(
124
-                'invalid configuration' . PHP_EOL .
125
-                'please use the \'phpbu.php\' configuration file provided by \'phpbu-laravel\'' . PHP_EOL .
124
+                'invalid configuration'.PHP_EOL.
125
+                'please use the \'phpbu.php\' configuration file provided by \'phpbu-laravel\''.PHP_EOL.
126 126
                 'for details visit phpbu.de'
127 127
             );
128 128
         }
Please login to merge, or discard this patch.
src/Configuration/Proxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             foreach ($keys as $k) {
80 80
                 $path .= $k;
81 81
                 if (!array_key_exists($k, $conf)) {
82
-                    throw new Exception('invalid configuration key ' . $key . ' at ' . $path);
82
+                    throw new Exception('invalid configuration key '.$key.' at '.$path);
83 83
                 }
84 84
                 $conf = $conf[$k];
85 85
             }
Please login to merge, or discard this patch.
src/Configuration/Translator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             $options = array_merge($options, $db['source']['options']);
137 137
         }
138 138
 
139
-        $backup = new Configuration\Backup('db-' . $db['source']['connection'], false);
139
+        $backup = new Configuration\Backup('db-'.$db['source']['connection'], false);
140 140
         $type   = $this->getDatabaseSourceType($connection['driver']);
141 141
         $backup->setSource(new Configuration\Backup\Source($type, $options));
142 142
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     {
155 155
         $connections = $this->proxy->get('database.connections');
156 156
         if (!isset($connections[$connection])) {
157
-            throw new Exception('Unknown database connection: ' . $connection);
157
+            throw new Exception('Unknown database connection: '.$connection);
158 158
         }
159 159
         $config = $connections[$connection];
160 160
         if (!in_array($config['driver'], ['mysql', 'pgsql'])) {
Please login to merge, or discard this patch.
src/Cmd/Printer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function writeWithColor($color, $buffer): void
44 44
     {
45
-        $this->write($buffer . PHP_EOL);
45
+        $this->write($buffer.PHP_EOL);
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.