Completed
Push — master ( 595ab7...86183c )
by vincent
74:08 queued 68:38
created
src/VfacTmdb/Tmdb.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Tmdb package.
@@ -149,12 +149,12 @@  discard block
 block discarded – undo
149 149
     {
150 150
         try {
151 151
             $res = new \stdClass();
152
-            $method_name = strtolower($method).'Response';
152
+            $method_name = strtolower($method) . 'Response';
153 153
             $res = $this->http_request->$method_name($url, [], $form_params);
154 154
             $response = $this->decodeRequest($res, $method, $url, $form_params);
155 155
             return $response;
156 156
         } catch (TmdbException $e) {
157
-            $this->logger->error('sendRequest failed : '.$e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params));
157
+            $this->logger->error('sendRequest failed : ' . $e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params));
158 158
             throw $e;
159 159
         }
160 160
     }
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
                 default:
326 326
                     throw new IncorrectParamException;
327 327
             }
328
-            $return['sort_by'] = 'created_at.'.$options['sort_by'];
328
+            $return['sort_by'] = 'created_at.' . $options['sort_by'];
329 329
         }
330 330
     }
331 331
 
Please login to merge, or discard this patch.
src/VfacTmdb/Catalog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Catalogs/Genres.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Catalogs/Jobs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Tmdb package.
Please login to merge, or discard this patch.
src/VfacTmdb/Media.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Search.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     private function checkSearchItemOption(array $options) : array
95 95
     {
96
-        $params           = [];
96
+        $params = [];
97 97
         $this->tmdb->checkOptionQuery($options, $params);
98 98
         $this->tmdb->checkOptionPage($options, $params);
99 99
         $this->tmdb->checkOptionLanguage($options, $params);
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Results.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Account.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * This file is part of the Tmdb package.
4 4
  *
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             $params['media_id']   = $media_id;
110 110
             $params[$list_type]   = $add;
111 111
 
112
-            $this->tmdb->postRequest('account/'.$this->account_id.'/'.$list_type, $this->options, $params);
112
+            $this->tmdb->postRequest('account/' . $this->account_id . '/' . $list_type, $this->options, $params);
113 113
 
114 114
             return $this;
115 115
         } catch (TmdbException $e) {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $this->tmdb->checkOptionSortBy($this->options, $options);
133 133
         $this->tmdb->checkOptionPage($this->options, $options);
134 134
 
135
-        $response = $this->tmdb->getRequest('account/'.$this->account_id.'/'.$list_type.'/'.$item, $options);
135
+        $response = $this->tmdb->getRequest('account/' . $this->account_id . '/' . $list_type . '/' . $item, $options);
136 136
 
137 137
         $this->page          = (int) $response->page;
138 138
         $this->total_pages   = (int) $response->total_pages;
Please login to merge, or discard this patch.