Passed
Branch release/1.5.0 (35c045)
by vincent
02:35
created
src/Abstracts/Item.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
             $this->conf   = $this->tmdb->getConfiguration();
37 37
             $this->params = $this->tmdb->checkOptions($options);
38 38
             $this->data   = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), $item_name.'/'.(int) $item_id, null, $this->params);
39
-        }
40
-        catch (TmdbException $ex)
39
+        } catch (TmdbException $ex)
41 40
         {
42 41
             throw $ex;
43 42
         }
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Tmdb.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,8 +166,7 @@
 block discarded – undo
166 166
                 $this->configuration = $this->sendRequest(new HttpClient(new \GuzzleHttp\Client()), 'configuration');
167 167
             }
168 168
             return $this->configuration;
169
-        }
170
-        catch (TmdbException $ex)
169
+        } catch (TmdbException $ex)
171 170
         {
172 171
             throw $ex;
173 172
         }
Please login to merge, or discard this patch.
src/Catalogs/Jobs.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@
 block discarded – undo
66 66
                     yield $result;
67 67
                 }
68 68
             }
69
-        }
70
-        catch (TmdbException $ex)
69
+        } catch (TmdbException $ex)
71 70
         {
72 71
             throw $ex;
73 72
         }
Please login to merge, or discard this patch.
src/Traits/Results/ShowTrait.php 1 patch
Indentation   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@  discard block
 block discarded – undo
7 7
  * For the full copyright and license information, please view the LICENSE
8 8
  * file that was distributed with this source code.
9 9
  *
10
-
11 10
  * @author Vincent Faliès <[email protected]>
12 11
  * @copyright Copyright (c) 2017
13 12
  */
@@ -49,10 +48,10 @@  discard block
 block discarded – undo
49 48
      */
50 49
     protected $title;
51 50
 
52
-     /**
53
-     * Get show ID
54
-     * @return int
55
-     */
51
+        /**
52
+         * Get show ID
53
+         * @return int
54
+         */
56 55
     public function getId()
57 56
     {
58 57
         return (int) $this->id;
Please login to merge, or discard this patch.
src/Search.php 2 patches
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -92,8 +92,7 @@  discard block
 block discarded – undo
92 92
             $this->total_results = (int) $response->total_results;
93 93
 
94 94
             return $this->searchItemGenerator($response->results, $result_class);
95
-        }
96
-        catch (TmdbException $ex)
95
+        } catch (TmdbException $ex)
97 96
         {
98 97
             throw $ex;
99 98
         }
@@ -182,8 +181,7 @@  discard block
 block discarded – undo
182 181
         {
183 182
             $this->logger->debug('Starting search people');
184 183
             return $this->searchItem('people', $query, $options, Results\People::class);
185
-        }
186
-        catch (TmdbException $ex)
184
+        } catch (TmdbException $ex)
187 185
         {
188 186
             throw $ex;
189 187
         }
@@ -202,8 +200,7 @@  discard block
 block discarded – undo
202 200
         {
203 201
             $this->logger->debug('Starting search company');
204 202
             return $this->searchItem('people', $query, $options, Results\Company::class);
205
-        }
206
-        catch (TmdbException $ex)
203
+        } catch (TmdbException $ex)
207 204
         {
208 205
             throw $ex;
209 206
         }
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Abstracts/Results.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Catalog.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Exceptions/ServerErrorException.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Exceptions/TmdbException.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.