Passed
Branch master (74aff4)
by Alex
02:44
created
Category
src/Query/QueryService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
             }
278 278
         }
279 279
 
280
-        if (! empty($options['dql']) && $query instanceof Query) {
280
+        if (!empty($options['dql']) && $query instanceof Query) {
281 281
             $query->setDQL($options['dql']);
282 282
         }
283 283
 
Please login to merge, or discard this patch.
src/Persistence/Event/Listener/DateCreatedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $entity = $event->getEntity();
25 25
 
26
-        if (null === $entity || ! $entity instanceof DateCreatedAwareInterface) {
26
+        if (null === $entity || !$entity instanceof DateCreatedAwareInterface) {
27 27
             return;
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Persistence/Event/Listener/DateDeletedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $entity = $event->getEntity();
25 25
 
26
-        if (null === $entity || ! $entity instanceof DateDeletedAwareInterface) {
26
+        if (null === $entity || !$entity instanceof DateDeletedAwareInterface) {
27 27
             return;
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Persistence/Event/Listener/DateUpdatedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $entity = $event->getEntity();
25 25
 
26
-        if (null === $entity || ! $entity instanceof DateUpdatedAwareInterface) {
26
+        if (null === $entity || !$entity instanceof DateUpdatedAwareInterface) {
27 27
             return;
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Factory/Persistence/PersistServiceFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $className = $config['class_name'] ?? $this->defaultClassName;
37 37
 
38
-        if (! is_a($className, PersistServiceInterface::class, true)) {
38
+        if (!is_a($className, PersistServiceInterface::class, true)) {
39 39
             throw new FactoryException(
40 40
                 sprintf(
41 41
                     'The \'class_name\' configuration option must reference a class of type  \'%s\'',
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             );
61 61
         }
62 62
 
63
-        if (! $entityManager instanceof EntityManagerInterface) {
63
+        if (!$entityManager instanceof EntityManagerInterface) {
64 64
             throw new FactoryException(
65 65
                 sprintf(
66 66
                     'The \'entity_manager\' must be an object of type \'%s\'; \'%s\' provided in \'%s\'',
Please login to merge, or discard this patch.