Passed
Push — master ( 47ffc6...daf1e4 )
by
unknown
02:21
created
src/Model/Page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
             'order' => $order,
30 30
         ];
31 31
 
32
-        if (! empty($cover)) {
32
+        if (!empty($cover)) {
33 33
             $properties['cover'] = $this->filterUriInstance($cover);
34 34
         }
35 35
 
36
-        if (! empty($source)) {
36
+        if (!empty($source)) {
37 37
             $properties['source'] = $this->filterUriInstance($source);
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/FactoryUri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $path = self::validateString(parse_url('http://www.foobar.com/' . $path, PHP_URL_PATH));
58 58
         $query = self::validateString((string) self::checkData($_SERVER, 'QUERY_STRING', ''));
59 59
         $fragment = '';
60
-        if (empty($user) && empty($pass) && ! empty($_SERVER['HTTP_AUTHORIZATION'])) {
60
+        if (empty($user) && empty($pass) && !empty($_SERVER['HTTP_AUTHORIZATION'])) {
61 61
             [$user] = explode(
62 62
                 ':',
63 63
                 base64_decode(
Please login to merge, or discard this patch.
src/Model/Livestreaming.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
      * @param \DateTimeInterface|string $publishedAt
25 25
      * @param \DateTimeInterface|string $endAt
26 26
      * @param bool $publishStatus
27
-     
28 27
      */
29 28
 
30 29
     public function __construct(
Please login to merge, or discard this patch.
src/Model/Video.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
             'duration' => $duration
31 31
         ];
32 32
 
33
-        if (! empty($source)) {
33
+        if (!empty($source)) {
34 34
             $properties['source'] = $this->filterUriInstance($source);
35 35
         }
36 36
 
37
-        if (! empty($cover)) {
37
+        if (!empty($cover)) {
38 38
             $properties['cover'] = $this->filterUriInstance($cover);
39 39
         }
40 40
 
41
-        if (! empty($ratio)) {
41
+        if (!empty($ratio)) {
42 42
             $properties['ratio'] = $this->filterStringInstance($ratio);
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Model/Article.php 2 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         $timeless = false
159 159
     ) {
160 160
         if (! in_array($typeId, [self::TYPE_PHOTO, self::TYPE_TEXT, self::TYPE_VIDEO], true)) {
161
-            throw new \InvalidArgumentException("Invalid typeId : ${typeId}, allowed typeId are " . implode(', ', $allowedType));
161
+            throw new \InvalidArgumentException("Invalid typeId : ${typeid}, allowed typeId are " . implode(', ', $allowedType));
162 162
         }
163 163
 
164 164
         $allowedCategory = [
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         ];
207 207
 
208 208
         if (! in_array($categoryId, $allowedCategory, true)) {
209
-            throw new \InvalidArgumentException("Invalid categoryId : ${categoryId}, allowed category are " . implode(', ', $allowedCategory));
209
+            throw new \InvalidArgumentException("Invalid categoryId : ${categoryid}, allowed category are " . implode(', ', $allowedCategory));
210 210
         }
211 211
 
212 212
         $this->collection = new Collection([
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         $recommendation = false,
160 160
         $timeless = false
161 161
     ) {
162
-        if (! in_array($typeId, [self::TYPE_PHOTO, self::TYPE_TEXT, self::TYPE_VIDEO], true)) {
162
+        if (!in_array($typeId, [self::TYPE_PHOTO, self::TYPE_TEXT, self::TYPE_VIDEO], true)) {
163 163
             throw new \InvalidArgumentException("Invalid typeId : ${typeId}, allowed typeId are " . implode(', ', $allowedType));
164 164
         }
165 165
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
             self::CATEGORY_TV
209 209
         ];
210 210
 
211
-        if (! in_array($categoryId, $allowedCategory, true)) {
211
+        if (!in_array($categoryId, $allowedCategory, true)) {
212 212
             throw new \InvalidArgumentException("Invalid categoryId : ${categoryId}, allowed category are " . implode(', ', $allowedCategory));
213 213
         }
214 214
 
Please login to merge, or discard this patch.