Completed
Push — master ( 7b985e...816b25 )
by Stanislav
05:26
created
src/Command/TorrentRemove.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         if (count($notExistsIds)) {
62 62
             foreach ($notExistsIds as $notExistsId) {
63
-                $output->writeln($notExistsId . ' not exists');
63
+                $output->writeln($notExistsId.' not exists');
64 64
             }
65 65
             return 1;
66 66
         }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             }
78 78
         }
79 79
 
80
-        $this->dryRun($input, $output, function () use ($config, $torrentList, $client, $input, $output) {
80
+        $this->dryRun($input, $output, function() use ($config, $torrentList, $client, $input, $output) {
81 81
             try {
82 82
                 $influxDbClient = $this->getApplication()->getInfluxDbClient(
83 83
                     $config->get('influxdb-host'),
Please login to merge, or discard this patch.
src/Command/TorrentRemoveDuplicates.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             }
61 61
         }
62 62
 
63
-        $this->dryRun($input, $output, function () use ($client, $obsoleteList, $config, $input, $output) {
63
+        $this->dryRun($input, $output, function() use ($client, $obsoleteList, $config, $input, $output) {
64 64
             try {
65 65
                 $influxDbClient = $this->getApplication()->getInfluxDbClient(
66 66
                     $config->get('influxdb-host'),
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
 
78 78
             $client->removeTorrents($obsoleteList);
79 79
             $names = TorrentListUtils::getArrayField($obsoleteList, Torrent\Get::NAME);
80
-            $output->writeln('Removed torrents:' . implode(', ', $names));
80
+            $output->writeln('Removed torrents:'.implode(', ', $names));
81 81
         }, 'dry-run, don\'t really remove');
82 82
 
83
-        $output->writeln('Found and deleted ' . count($obsoleteList) . ' obsolete torrents from transmission.');
83
+        $output->writeln('Found and deleted '.count($obsoleteList).' obsolete torrents from transmission.');
84 84
         return 0;
85 85
     }
86 86
 }
Please login to merge, or discard this patch.