Completed
Pull Request — master (#42)
by Hiraku
02:14
created
src/ParallelDownloader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
             // make url
94 94
             $url = $package->getDistUrl();
95
-            if (! $url) {
95
+            if (!$url) {
96 96
                 ++$this->skippedCnt;
97 97
                 continue;
98 98
             }
@@ -114,10 +114,10 @@  discard block
 block discarded – undo
114 114
             if ($pluginConfig['insecure']) {
115 115
                 $opts[CURLOPT_SSL_VERIFYPEER] = false;
116 116
             }
117
-            if (! empty($pluginConfig['userAgent'])) {
117
+            if (!empty($pluginConfig['userAgent'])) {
118 118
                 $opts[CURLOPT_USERAGENT] = $pluginConfig['userAgent'];
119 119
             }
120
-            if (! empty($pluginConfig['capath'])) {
120
+            if (!empty($pluginConfig['capath'])) {
121 121
                 $opts[CURLOPT_CAPATH] = $pluginConfig['capath'];
122 122
             }
123 123
             unset($opts[CURLOPT_ENCODING]);
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $validator = new JsonSchema\Validator;
31 31
         $validator->check((object)$config, json_decode($schema));
32 32
 
33
-        if (! $validator->isValid()) {
33
+        if (!$validator->isValid()) {
34 34
             throw new \InvalidArgumentException(var_export($validator->getErrors(), true));
35 35
         }
36 36
 
Please login to merge, or discard this patch.