Completed
Push — master ( 6a6fc8...07e153 )
by Stanislav
02:24
created
src/Application.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace Popstas\Transmission\Console;
4 4
 
5 5
 use GuzzleHttp;
6
-use GuzzleHttp\Exception\ConnectException;
7 6
 use InfluxDB;
8 7
 use Popstas\Transmission\Console\Command;
9 8
 use Psr\Log\LoggerInterface;
10 9
 use Stecman\Component\Symfony\Console\BashCompletion;
11 10
 use Symfony\Component\Console\Application as BaseApplication;
12
-use Symfony\Component\Console\Input\InputInterface;
13 11
 
14 12
 class Application extends BaseApplication
15 13
 {
Please login to merge, or discard this patch.
src/InfluxDbClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@
 block discarded – undo
111 111
         );
112 112
     }
113 113
 
114
+    /**
115
+     * @param string $transmissionHost
116
+     */
114 117
     public function getLastPoint(array $torrent, $transmissionHost)
115 118
     {
116 119
         $this->connectDatabase();
Please login to merge, or discard this patch.
src/Command/StatsSend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
                 }
71 71
             }
72 72
 
73
-            $this->dryRun($input, $output, function () use ($influxDbClient, $points, $logger) {
73
+            $this->dryRun($input, $output, function() use ($influxDbClient, $points, $logger) {
74 74
                 $isSuccess = $influxDbClient->writePoints($points);
75 75
                 $logger->info('InfluxDB write ' . ($isSuccess ? 'success' : 'failed'));
76 76
             }, 'dry-run, don\'t really send points');
Please login to merge, or discard this patch.