Test Failed
Push — master ( 61801d...f3c992 )
by Daniel
11:05
created
src/Command/UserCreateCommand.php 5 patches
Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
src/Doctrine/Extension/ORM/PublishableExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // (o.publishedResource = :id OR o.id = :id) ORDER BY o.publishedResource IS NULL LIMIT 1
61 61
         $criteriaReset = false;
62 62
         foreach ($identifiers as $identifier => $value) {
63
-            $predicates = $queryBuilder->expr()->orX($queryBuilder->expr()->eq("$alias.$configuration->associationName", ":id_$identifier"), $queryBuilder->expr()->eq("$alias.$identifier", ":id_$identifier"), );
63
+            $predicates = $queryBuilder->expr()->orX($queryBuilder->expr()->eq("$alias.$configuration->associationName", ":id_$identifier"), $queryBuilder->expr()->eq("$alias.$identifier", ":id_$identifier"),);
64 64
 
65 65
             // Reset queryBuilder to prevent an invalid DQL
66 66
             if (!$criteriaReset) {
Please login to merge, or discard this patch.
src/Command/RefreshTokensExpireCommand.php 5 patches
Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,9 +70,4 @@
 block discarded – undo
70 70
             $output->writeln(sprintf('RefreshTokens for user <comment>%s</comment> successfully expired.', $username));
71 71
         } else {
72 72
             $this->storage->expireAll(null);
73
-            $output->writeln('RefreshTokens for all users successfully expired.');
74
-        }
75
-
76
-        return 0;
77
-    }
78
-}
73
+            $output->writeln
79 74
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,9 +70,4 @@
 block discarded – undo
70 70
             $output->writeln(sprintf('RefreshTokens for user <comment>%s</comment> successfully expired.', $username));
71 71
         } else {
72 72
             $this->storage->expireAll(null);
73
-            $output->writeln('RefreshTokens for all users successfully expired.');
74
-        }
75
-
76
-        return 0;
77
-    }
78
-}
73
+            $output->writeln
79 74
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,9 +70,4 @@
 block discarded – undo
70 70
             $output->writeln(sprintf('RefreshTokens for user <comment>%s</comment> successfully expired.', $username));
71 71
         } else {
72 72
             $this->storage->expireAll(null);
73
-            $output->writeln('RefreshTokens for all users successfully expired.');
74
-        }
75
-
76
-        return 0;
77
-    }
78
-}
73
+            $output->writeln
79 74
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,9 +70,4 @@
 block discarded – undo
70 70
             $output->writeln(sprintf('RefreshTokens for user <comment>%s</comment> successfully expired.', $username));
71 71
         } else {
72 72
             $this->storage->expireAll(null);
73
-            $output->writeln('RefreshTokens for all users successfully expired.');
74
-        }
75
-
76
-        return 0;
77
-    }
78
-}
73
+            $output->writeln
79 74
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,9 +70,4 @@
 block discarded – undo
70 70
             $output->writeln(sprintf('RefreshTokens for user <comment>%s</comment> successfully expired.', $username));
71 71
         } else {
72 72
             $this->storage->expireAll(null);
73
-            $output->writeln('RefreshTokens for all users successfully expired.');
74
-        }
75
-
76
-        return 0;
77
-    }
78
-}
73
+            $output->writeln
79 74
\ No newline at end of file
Please login to merge, or discard this patch.
src/Helper/Timestamped/TimestampedDataPersister.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
             $timestamped,
41 41
             $configuration->createdAtField,
42 42
             $isNew ?
43
-            new \DateTimeImmutable() :
44
-            $classMetadata->getFieldValue($timestamped, $configuration->createdAtField)
43
+            new \DateTimeImmutable() : $classMetadata->getFieldValue($timestamped, $configuration->createdAtField)
45 44
         );
46 45
         $classMetadata->setFieldValue($timestamped, $configuration->modifiedAtField, new \DateTime());
47 46
     }
Please login to merge, or discard this patch.
src/Serializer/Normalizer/PageDataNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $this->pageDataMetadataFactory = $pageDataMetadataFactory;
42 42
     }
43 43
 
44
-    public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null
44
+    public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null
45 45
     {
46 46
         $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id');
47 47
         $metadata = $this->pageDataMetadataFactory->create(\get_class($object));
Please login to merge, or discard this patch.
src/Serializer/Normalizer/RouteNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param Route      $object
34 34
      * @param mixed|null $format
35 35
      */
36
-    public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null
36
+    public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null
37 37
     {
38 38
         $context[self::ALREADY_CALLED] = true;
39 39
 
Please login to merge, or discard this patch.
src/Serializer/Normalizer/MetadataNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             isset($context[self::METADATA_CONTEXT]);
64 64
     }
65 65
 
66
-    public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null
66
+    public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null
67 67
     {
68 68
         $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id');
69 69
         $data = $this->normalizer->normalize($object, $format, $context);
Please login to merge, or discard this patch.
src/Serializer/Normalizer/DataUriNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         return $this->decorated->supportsDenormalization($data, $type, $format);
64 64
     }
65 65
 
66
-    public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null
66
+    public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null
67 67
     {
68 68
         return $this->decorated->normalize($object, $format, $context);
69 69
     }
Please login to merge, or discard this patch.
src/Serializer/Normalizer/CollectionNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $this->propertyAccessor = PropertyAccess::createPropertyAccessor();
42 42
     }
43 43
 
44
-    public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null
44
+    public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null
45 45
     {
46 46
         $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id');
47 47
         $context[MetadataNormalizer::METADATA_CONTEXT]['collection'] = true;
Please login to merge, or discard this patch.