@@ -188,7 +188,7 @@ |
||
| 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 | /** |
@@ -188,7 +188,6 @@ |
||
| 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 |
@@ -223,7 +223,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | $entityId = 'FOO123'; |
| 125 | 125 | |
| 126 | - $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
| 126 | + $exceptionMessage = 'This is a test exception message for '.__FUNCTION__; |
|
| 127 | 127 | $exceptionCode = 123; |
| 128 | 128 | $exception = new QueryServiceException($exceptionMessage, $exceptionCode); |
| 129 | 129 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | 'test' => 123, |
| 220 | 220 | ]; |
| 221 | 221 | |
| 222 | - $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
| 222 | + $exceptionMessage = 'This is a test exception message for '.__FUNCTION__; |
|
| 223 | 223 | $exceptionCode = 456; |
| 224 | 224 | |
| 225 | 225 | $exception = new QueryServiceException($exceptionMessage, $exceptionCode); |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | $criteria = []; |
| 354 | 354 | $options = []; |
| 355 | 355 | |
| 356 | - $exceptionMessage = 'This is a foo test exception for ' . __FUNCTION__; |
|
| 356 | + $exceptionMessage = 'This is a foo test exception for '.__FUNCTION__; |
|
| 357 | 357 | $exceptionCode = 456; |
| 358 | 358 | $exception = new QueryServiceException($exceptionMessage, $exceptionCode); |
| 359 | 359 | |
@@ -589,7 +589,7 @@ discard block |
||
| 589 | 589 | $this->createMock(EntityInterface::class), |
| 590 | 590 | ]; |
| 591 | 591 | |
| 592 | - $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
| 592 | + $exceptionMessage = 'This is a test exception message for '.__FUNCTION__; |
|
| 593 | 593 | $exceptionCode = 123; |
| 594 | 594 | $exception = new PersistenceException($exceptionMessage, $exceptionCode); |
| 595 | 595 | |
@@ -863,7 +863,7 @@ discard block |
||
| 863 | 863 | $this->createMock(EntityInterface::class), |
| 864 | 864 | ]; |
| 865 | 865 | |
| 866 | - $exceptionMessage = 'This is a test exception message for ' . __FUNCTION__; |
|
| 866 | + $exceptionMessage = 'This is a test exception message for '.__FUNCTION__; |
|
| 867 | 867 | $exceptionCode = 123; |
| 868 | 868 | $exception = new PersistenceException($exceptionMessage, $exceptionCode); |
| 869 | 869 | |