Passed
Pull Request — master (#61)
by Daniel
06:02
created
src/Helper/Timestamped/TimestampedHelper.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
         $configuration = $this->annotationReader->getConfiguration($timestamped);
38 38
         $classMetadata = $this->getClassMetadata($timestamped);
39 39
         $classMetadata->setFieldValue($timestamped, $configuration->createdAtField, $isNew ?
40
-            new \DateTimeImmutable() :
41
-            $classMetadata->getFieldValue($timestamped, $configuration->createdAtField));
40
+            new \DateTimeImmutable() : $classMetadata->getFieldValue($timestamped, $configuration->createdAtField));
42 41
         $classMetadata->setFieldValue($timestamped, $configuration->modifiedAtField, new \DateTime());
43 42
     }
44 43
 }
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.