Passed
Pull Request — master (#26)
by Jesse
15:18
created
src/AbstractClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $clientOptions = ['timeout', 'proxy'];
72 72
 
73 73
         // Only allow turning off ssl verification is it's for a proxy
74
-        if (! empty($options['proxy'])) {
74
+        if (!empty($options['proxy'])) {
75 75
             $clientOptions[] = 'verify';
76 76
         }
77 77
 
Please login to merge, or discard this patch.
src/Console/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function getHelp()
36 36
     {
37
-        return self::$logo . parent::getHelp();
37
+        return self::$logo.parent::getHelp();
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/Util/UrlHelpersTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace PCextreme\Cloudstack\Util;
2 2
 
3 3
 use InvalidArgumentException;
4
-use PCextreme\Cloudstack\Exception\ClientException;
5 4
 
6 5
 trait UrlHelpersTrait
7 6
 {
Please login to merge, or discard this patch.
src/Console/ApiListCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     protected function askApiKey(InputInterface $input, OutputInterface $output)
92 92
     {
93 93
         $question = (new Question('Enter API key: '))
94
-            ->setValidator(function ($answer) {
94
+            ->setValidator(function($answer) {
95 95
                 if (is_null($answer)) {
96 96
                     throw new \InvalidArgumentException("API key can't be null.");
97 97
                 }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     protected function askSecretKey(InputInterface $input, OutputInterface $output)
114 114
     {
115 115
         $question = (new Question('Enter secret key: '))
116
-            ->setValidator(function ($answer) {
116
+            ->setValidator(function($answer) {
117 117
                 if (is_null($answer)) {
118 118
                     throw new \InvalidArgumentException("Secret key can't be null.");
119 119
                 }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         $listFile .= "// api_list.php @generated by api:list command\n\n";
175 175
         $listFile .= "return ".var_export($commands, true).";\n";
176 176
 
177
-        file_put_contents(__DIR__ . '/../../cache/api_list.php', $listFile);
177
+        file_put_contents(__DIR__.'/../../cache/api_list.php', $listFile);
178 178
 
179 179
         $progress->finish();
180 180
     }
Please login to merge, or discard this patch.