Completed
Push — master ( 595ab7...86183c )
by vincent
74:08 queued 68:38
created
src/VfacTmdb/Factory.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function getBuilder(string $builder, array $args = []) : LoggerBuilderInterface
67 67
     {
68
-        $class = "\\VfacTmdb\\Factory\\Builder\\{$builder}Builder";
68
+        $class = "\\VfacTmdb\\Factory\\Builder\\{$builder}builder";
69 69
 
70 70
         $reflection = new \ReflectionClass($class);
71 71
 
Please login to merge, or discard this 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/Auth.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,11 +121,11 @@
 block discarded – undo
121 121
     public function __get(string $name)
122 122
     {
123 123
         switch ($name) {
124
-          case 'request_token':
124
+            case 'request_token':
125 125
           case 'session_id':
126 126
               return $this->$name;
127
-          default:
127
+            default:
128 128
               throw new NotFoundException();
129
-      }
129
+        }
130 130
     }
131 131
 }
Please login to merge, or discard this 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
  *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Session Id
48 48
      * @var string
49 49
      */
50
-    private $session_id  = null;
50
+    private $session_id = null;
51 51
 
52 52
     /**
53 53
      * Constructor
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         if (!isset($data->success) || $data->success != 'true' || !isset($data->request_token)) {
90 90
             throw new InvalidResponseException("Getting request token failed");
91 91
         }
92
-        $this->request_token            = $data->request_token;
92
+        $this->request_token = $data->request_token;
93 93
 
94 94
         return $this->request_token;
95 95
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleTVShowCredit.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@
 block discarded – undo
26 26
  * @author Vincent Faliès <[email protected]>
27 27
  * @copyright Copyright (c) 2017
28 28
  */
29
- class PeopleTVShowCredit extends PeopleItemCredit
30
- {
31
-     public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array())
32
-     {
33
-         try {
34
-             $this->crew_class = PeopleTVShowCrew::class;
35
-             $this->cast_class = PeopleTVShowCast::class;
29
+    class PeopleTVShowCredit extends PeopleItemCredit
30
+    {
31
+        public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array())
32
+        {
33
+            try {
34
+                $this->crew_class = PeopleTVShowCrew::class;
35
+                $this->cast_class = PeopleTVShowCast::class;
36 36
 
37
-             parent::__construct($tmdb, 'tv', $people_id, $options);
38
-         } catch (TmdbException $ex) {
39
-             throw $ex;
40
-         }
41
-     }
42
- }
37
+                parent::__construct($tmdb, 'tv', $people_id, $options);
38
+            } catch (TmdbException $ex) {
39
+                throw $ex;
40
+            }
41
+        }
42
+    }
Please login to merge, or discard this 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/Account/Favorite.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
         return $this->setListItem('favorite', 'movie', $movie_id, true);
57 57
     }
58 58
     /**
59
-
60 59
      * Unmark a movie as favorite
61 60
      * @param int $movie_id Movie id
62 61
      * @return Favorite
Please login to merge, or discard this 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/Results/Collection.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/Results/PeopleMovieCrew.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/Results/TVShow.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/Results/Cast.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/Results/TVSeason.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.