Completed
Push — master ( b33aa2...131cc8 )
by Sean
13s queued 11s
created
src/Api/SitesApi.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,10 +132,10 @@
 block discarded – undo
132 132
     }
133 133
 
134 134
         /**
135
-     * @param array $params
136
-     *
137
-     * @return array
138
-     */
135
+         * @param array $params
136
+         *
137
+         * @return array
138
+         */
139 139
     public function setStaticCacheMode($siteId)
140 140
     {
141 141
         return $this->client->send(sprintf('%s/performance/cache-mode', $this->apiUri), [
Please login to merge, or discard this patch.
src/Command/SitesListAttributeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         $this
17 17
             ->setName('sites:listattribute')
18
-            ->addOption('attribute',null,InputOption::VALUE_REQUIRED, 'json key to inspect')
18
+            ->addOption('attribute', null, InputOption::VALUE_REQUIRED, 'json key to inspect')
19 19
             ->setDescription('List a config value from all sites')
20 20
         ;
21 21
     }
Please login to merge, or discard this patch.
src/Command/SetAllCacheModeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $output->writeln("sites that were changed in this run");
34 34
         $table = new Table($output);
35
-        $table->setHeaders(['Site ID', 'Site Name','Return Message']);
35
+        $table->setHeaders(['Site ID', 'Site Name', 'Return Message']);
36 36
 
37 37
         foreach ($changes as $changed) {
38 38
             $table->addRow([
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
         foreach ($sites as $site) {
56 56
             $return_val = $this->client->sites()->setStaticCacheMode($site['site_id']);
57 57
             $mode = $site['acceleration_level'];
58
-            if ($mode==='advanced'){
59
-                array_push($changed,[
58
+            if ($mode === 'advanced') {
59
+                array_push($changed, [
60 60
                     'site_id' => $site['site_id'],
61 61
                     'domain' => $site['domain'],
62 62
                     'return' => $return_val['res_message'],
Please login to merge, or discard this patch.