@@ -208,7 +208,7 @@ |
||
| 208 | 208 | ->expects($this->once()) |
| 209 | 209 | ->method('critical') |
| 210 | 210 | ->with('Got invalid dependent job data. '. |
| 211 | - 'job: "123", dependentJob: "{"topic":"topic-name"}"') |
|
| 211 | + 'job: "123", dependentJob: "{"topic":"topic-name"}"') |
|
| 212 | 212 | ; |
| 213 | 213 | |
| 214 | 214 | $message = new NullMessage(); |
@@ -34,9 +34,9 @@ |
||
| 34 | 34 | ->with( |
| 35 | 35 | json_encode( |
| 36 | 36 | array( |
| 37 | - \Ratchet\Wamp\ServerProtocol::MSG_PUBLISH, |
|
| 38 | - self::TOPIC, |
|
| 39 | - self::MESSAGE |
|
| 37 | + \Ratchet\Wamp\ServerProtocol::MSG_PUBLISH, |
|
| 38 | + self::TOPIC, |
|
| 39 | + self::MESSAGE |
|
| 40 | 40 | ) |
| 41 | 41 | ) |
| 42 | 42 | ); |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | 'body' => [ |
| 283 | 283 | 'originFileName' => 'test.csv', |
| 284 | 284 | 'error' => 'The import file could not be imported due to a fatal error. ' . |
| 285 | - 'Please check its integrity and try again!', |
|
| 285 | + 'Please check its integrity and try again!', |
|
| 286 | 286 | ], |
| 287 | 287 | 'contentType' => 'text/html', |
| 288 | 288 | ] |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | 'originFileName' => 'originFileName', |
| 127 | 127 | 'userId' => 1, |
| 128 | 128 | 'process' => ProcessorRegistry::TYPE_IMPORT, |
| 129 | - ])) |
|
| 129 | + ])) |
|
| 130 | 130 | ; |
| 131 | 131 | $result = $processor->process($message, $this->createSessionMock()); |
| 132 | 132 | $this->assertEquals(MessageProcessorInterface::REJECT, $result); |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | 'file' => 'file' , |
| 108 | 108 | 'error' => 'error test', |
| 109 | 109 | 'userId' => 1, |
| 110 | - ])) |
|
| 110 | + ])) |
|
| 111 | 111 | ; |
| 112 | 112 | $result = $processor->process($message, $this->createSessionMock()); |
| 113 | 113 | $this->assertEquals(MessageProcessorInterface::REJECT, $result); |
@@ -269,7 +269,7 @@ |
||
| 269 | 269 | $joinAlias = $this->getJoinAlias(Query::TYPE_TEXT, $index); |
| 270 | 270 | |
| 271 | 271 | $qb->addSelect(sprintf('TsRank(%s.value, :quotedValue%s) as rankField%s', $joinAlias, $index, $index)) |
| 272 | - ->addOrderBy(sprintf('rankField%s', $index), Criteria::DESC); |
|
| 272 | + ->addOrderBy(sprintf('rankField%s', $index), Criteria::DESC); |
|
| 273 | 273 | |
| 274 | 274 | $parameter = $qb->getParameter(sprintf('value%s', $index)); |
| 275 | 275 | $quotedValue = sprintf('\'%s\'', $parameter->getValue()); |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | class FulltextIndexListener |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * @var Connection |
|
| 15 | - */ |
|
| 14 | + * @var Connection |
|
| 15 | + */ |
|
| 16 | 16 | protected $connection; |
| 17 | 17 | |
| 18 | 18 | /** |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | 'readsCount' => $readsCount, |
| 117 | 117 | 'errorsCount' => $errorsCount, |
| 118 | 118 | 'errors' => $errors |
| 119 | - ]; |
|
| 119 | + ]; |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -98,14 +98,14 @@ |
||
| 98 | 98 | $classInfo = $this->createMock(ClassMetadataInfo::class); |
| 99 | 99 | $classInfo->method('getTableName')->willReturn($table); |
| 100 | 100 | $classInfo->table = [ |
| 101 | - 'indexes' => [ |
|
| 102 | - $index => [ |
|
| 103 | - 'options' => [ |
|
| 104 | - 'where' => 'some condition', |
|
| 105 | - 'option2' => 'some value' |
|
| 106 | - ] |
|
| 107 | - ] |
|
| 108 | - ] |
|
| 101 | + 'indexes' => [ |
|
| 102 | + $index => [ |
|
| 103 | + 'options' => [ |
|
| 104 | + 'where' => 'some condition', |
|
| 105 | + 'option2' => 'some value' |
|
| 106 | + ] |
|
| 107 | + ] |
|
| 108 | + ] |
|
| 109 | 109 | ]; |
| 110 | 110 | |
| 111 | 111 | return $classInfo; |