Test Failed
Branch release/1.5.0 (5e38ec)
by vincent
02:28
created
src/Items/Movie.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     public function getCollectionId()
149 149
     {
150
-        if ( ! empty($this->data->belongs_to_collection))
150
+        if (!empty($this->data->belongs_to_collection))
151 151
         {
152 152
             return (int) $this->data->belongs_to_collection->id;
153 153
         }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
     public function getProductionCompanies()
178 178
     {
179
-        if ( ! empty($this->data->production_companies))
179
+        if (!empty($this->data->production_companies))
180 180
         {
181 181
             foreach ($this->data->production_companies as $p)
182 182
             {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
     public function getProductionCountries()
193 193
     {
194
-        if ( ! empty($this->data->production_countries))
194
+        if (!empty($this->data->production_countries))
195 195
         {
196 196
             foreach ($this->data->production_countries as $c)
197 197
             {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
     public function getBackdrops()
208 208
     {
209
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/movie/'.(int) $this->id.'/images', null, $this->params);
209
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/movie/' . (int) $this->id . '/images', null, $this->params);
210 210
 
211 211
         foreach ($data->backdrops as $b)
212 212
         {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
     public function getPosters()
219 219
     {
220
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/movie/'.(int) $this->id.'/images', null, $this->params);
220
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/movie/' . (int) $this->id . '/images', null, $this->params);
221 221
 
222 222
         foreach ($data->posters as $b)
223 223
         {
Please login to merge, or discard this patch.
src/Items/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     public function getBackdrops()
74 74
     {
75
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/'.(int) $this->id.'/images', null, $this->params);
75
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/' . (int) $this->id . '/images', null, $this->params);
76 76
 
77 77
         foreach ($data->backdrops as $b)
78 78
         {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     public function getPosters()
85 85
     {
86
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/'.(int) $this->id.'/images', null, $this->params);
86
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/' . (int) $this->id . '/images', null, $this->params);
87 87
 
88 88
         foreach ($data->posters as $b)
89 89
         {
Please login to merge, or discard this patch.
src/Items/TVShow.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
     public function getBackdrops()
156 156
     {
157
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/images', null, $this->params);
157
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/images', null, $this->params);
158 158
 
159 159
         foreach ($data->backdrops as $b)
160 160
         {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
     public function getPosters()
167 167
     {
168
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/images', null, $this->params);
168
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/images', null, $this->params);
169 169
 
170 170
         foreach ($data->posters as $b)
171 171
         {
Please login to merge, or discard this patch.
src/Items/MovieCredit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function __construct(Tmdb $tmdb, $movie_id, array $options = array())
21 21
     {
22
-        parent::__construct($tmdb, '/credits', $options, 'movie/'.$movie_id);
22
+        parent::__construct($tmdb, '/credits', $options, 'movie/' . $movie_id);
23 23
     }
24 24
 
25 25
     public function getCrew()
Please login to merge, or discard this patch.
src/Items/TVEpisode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function __construct(Tmdb $tmdb, $tv_id, $season_number, $episode_number, array $options = array())
24 24
     {
25
-        parent::__construct($tmdb, $episode_number, $options, 'tv/'.$tv_id.'/'.$season_number);
25
+        parent::__construct($tmdb, $episode_number, $options, 'tv/' . $tv_id . '/' . $season_number);
26 26
 
27 27
         $this->season_number = $season_number;
28 28
         $this->episode_number = $episode_number;
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
     public function getPosters()
135 135
     {
136
-        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/seasons/'.$this->season_number.'/episode/'.$this->episode_number.'/images', null, $this->params);
136
+        $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/seasons/' . $this->season_number . '/episode/' . $this->episode_number . '/images', null, $this->params);
137 137
 
138 138
         foreach ($data->posters as $b)
139 139
         {
Please login to merge, or discard this patch.