Test Failed
Pull Request — master (#8)
by Alex
04:30
created
src/Persistence/PersistService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
             $this->dispatchEvent($this->createErrorEvent(EntityEventName::DELETE_COLLECTION_ERROR, $e));
189 189
         }
190 190
 
191
-        return (int)$event->getParam('deleted', 0);
191
+        return (int) $event->getParam('deleted', 0);
192 192
     }
193 193
 
194 194
     /**
Please login to merge, or discard this patch.
test/unit/EntityRepositoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         $entityId = 'FOO123';
126 126
 
127
-        $exceptionMessage = 'This is a test exception message for '  . __FUNCTION__;
127
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
128 128
         $exceptionCode = 123;
129 129
         $exception = new QueryServiceException($exceptionMessage, $exceptionCode);
130 130
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
             'test'  => 123,
221 221
         ];
222 222
 
223
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
223
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
224 224
         $exceptionCode = 456;
225 225
 
226 226
         $exception = new QueryServiceException($exceptionMessage, $exceptionCode);
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
         $criteria = [];
355 355
         $options = [];
356 356
 
357
-        $exceptionMessage = 'This is a foo test exception for ' . __FUNCTION__;
357
+        $exceptionMessage = 'This is a foo test exception for '.__FUNCTION__;
358 358
         $exceptionCode = 456;
359 359
         $exception = new QueryServiceException($exceptionMessage, $exceptionCode);
360 360
 
Please login to merge, or discard this patch.
test/unit/Persistence/Event/Listener/DateCreatedListenerTest.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,6 @@
 block discarded – undo
188 188
 
189 189
     /**
190 190
      * Assert that DateTimeFactoryException's are caught and rethrown as PersistenceException in __invoke()
191
-
192 191
      * @throws PersistenceException
193 192
      */
194 193
     public function testDateTimeFactoryFailureWillBeLoggedAndRethrownAsAPersistenceException(): void
Please login to merge, or discard this patch.
test/unit/Persistence/PersistServiceTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
             ->method('hasId')
224 224
             ->willReturn(false);
225 225
 
226
-        $exceptionMessage = 'Test exception message for ' . __FUNCTION__;
226
+        $exceptionMessage = 'Test exception message for '.__FUNCTION__;
227 227
         $exceptionCode = 456;
228 228
         $exception = new \Error($exceptionMessage, $exceptionCode);
229 229
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
             ->with(EntityEventName::DELETE, $entity, $options)
335 335
             ->willReturn($event);
336 336
 
337
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
337
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
338 338
         $exceptionCode = 123;
339 339
         $exception = new EventListenerException($exceptionMessage, $exceptionCode);
340 340
 
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
                 'The \'entity\' argument must be an object of type \'%s\'; \'%s\' provided in \'%s\'',
650 650
                 $this->entityName,
651 651
                 get_class($entity),
652
-                PersistService::class . '::refresh'
652
+                PersistService::class.'::refresh'
653 653
             )
654 654
         );
655 655
 
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
         /** @var EntityInterface&MockObject $entity */
674 674
         $entity = $this->createMock(EntityInterface::class);
675 675
 
676
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
676
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
677 677
         $exceptionCode = 987;
678 678
         $exception = new \RuntimeException($exceptionMessage, $exceptionCode);
679 679
 
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
             $this->logger
753 753
         );
754 754
 
755
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
755
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
756 756
         $exceptionCode = 123;
757 757
         $exception = new \RuntimeException($exceptionMessage, $exceptionCode);
758 758
 
@@ -800,7 +800,7 @@  discard block
 block discarded – undo
800 800
             $this->logger
801 801
         );
802 802
 
803
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
803
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
804 804
         $exceptionCode = 123;
805 805
         $exception = new \RuntimeException($exceptionMessage, $exceptionCode);
806 806
 
@@ -848,7 +848,7 @@  discard block
 block discarded – undo
848 848
             $this->logger
849 849
         );
850 850
 
851
-        $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__;
851
+        $exceptionMessage = 'This is a test exception message for '.__FUNCTION__;
852 852
         $exceptionCode = 123;
853 853
         $exception = new \RuntimeException($exceptionMessage, $exceptionCode);
854 854
 
Please login to merge, or discard this patch.