@@ -116,7 +116,7 @@ |
||
116 | 116 | 'readsCount' => $readsCount, |
117 | 117 | 'errorsCount' => $errorsCount, |
118 | 118 | 'errors' => $errors |
119 | - ]; |
|
119 | + ]; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
@@ -141,7 +141,7 @@ |
||
141 | 141 | */ |
142 | 142 | public function getExportingEntityIds(DatagridExportIdFetcher $idFetcher, array $parameters) |
143 | 143 | { |
144 | - $context = new Context($parameters); |
|
144 | + $context = new Context($parameters); |
|
145 | 145 | $idFetcher->setImportExportContext($context); |
146 | 146 | |
147 | 147 | return $idFetcher->getGridDataIds(); |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | $greetingKey = 'oro_user.greeting'; |
197 | 197 | $levelKey = 'oro_user.level'; |
198 | 198 | |
199 | - $data = [ |
|
199 | + $data = [ |
|
200 | 200 | 'oro_user___greeting' => [ |
201 | 201 | 'value' => 'updated value', |
202 | 202 | 'use_parent_scope_value' => false |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | [ConfigSettingsUpdateEvent::BEFORE_SAVE . '.' . $levelKey, $singleKeyLevelEvent], |
267 | 267 | [ConfigSettingsUpdateEvent::BEFORE_SAVE, $beforeEvent], |
268 | 268 | [ConfigGetEvent::NAME, $levelNullValueLoadEvent], |
269 | - [ConfigGetEvent::NAME . '.' . $levelKey, $levelNullValueLoadEvent], |
|
269 | + [ConfigGetEvent::NAME . '.' . $levelKey, $levelNullValueLoadEvent], |
|
270 | 270 | [ConfigUpdateEvent::EVENT_NAME, $afterEvent] |
271 | 271 | ); |
272 | 272 | |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | $this->globalScopeManager->expects($this->once()) |
313 | 313 | ->method('getSettingValue') |
314 | 314 | ->with($parameterName) |
315 | - ->willReturnCallback(function ($name) { |
|
315 | + ->willReturnCallback(function($name) { |
|
316 | 316 | if ($name === 'oro_test.someArrayValue') { |
317 | 317 | $value = [ |
318 | 318 | 'scope' => 'global', |
@@ -128,7 +128,7 @@ |
||
128 | 128 | ->method('getAttribute') |
129 | 129 | ->with('handler') |
130 | 130 | ->willReturn( |
131 | - function ($manager, $changes) use ($changeSet, &$isAdditionalHandlerCalled) { |
|
131 | + function($manager, $changes) use ($changeSet, &$isAdditionalHandlerCalled) { |
|
132 | 132 | self::assertSame($this->configManager, $manager); |
133 | 133 | self::assertSame($changeSet, $changes); |
134 | 134 | $isAdditionalHandlerCalled = true; |
@@ -364,13 +364,13 @@ |
||
364 | 364 | } |
365 | 365 | |
366 | 366 | // get the value part only (if full) |
367 | - $currentValue = (array) $this->getPlainValue($value, $full); |
|
367 | + $currentValue = (array)$this->getPlainValue($value, $full); |
|
368 | 368 | |
369 | 369 | // merge missing sub-values with those defined in the parent scopes |
370 | 370 | $managers = $this->getScopeManagersToGetValue(false); |
371 | 371 | foreach ($managers as $scopeName => $manager) { |
372 | 372 | $scopeValue = $manager->getSettingValue($name, $full, $scopeIdentifier); |
373 | - $currentValue = array_merge((array) $this->getPlainValue($scopeValue, $full), $currentValue); |
|
373 | + $currentValue = array_merge((array)$this->getPlainValue($scopeValue, $full), $currentValue); |
|
374 | 374 | } |
375 | 375 | |
376 | 376 | return $this->updateWithPlainValue($value, $currentValue, $full); |
@@ -321,7 +321,7 @@ |
||
321 | 321 | $this->doctrineHelper->expects($this->any()) |
322 | 322 | ->method('getEntityClass') |
323 | 323 | ->willReturnCallback( |
324 | - function ($entity) use ($testEntity) { |
|
324 | + function($entity) use ($testEntity) { |
|
325 | 325 | if ($entity === $testEntity) { |
326 | 326 | return 'Test\Entity'; |
327 | 327 | } |
@@ -312,7 +312,7 @@ |
||
312 | 312 | case 'two': |
313 | 313 | return 2; |
314 | 314 | default: |
315 | - return (int) $count; |
|
315 | + return (int)$count; |
|
316 | 316 | } |
317 | 317 | } |
318 | 318 | } |
@@ -288,28 +288,28 @@ |
||
288 | 288 | $container->expects($this->any()) |
289 | 289 | ->method('hasDefinition') |
290 | 290 | ->willReturnCallback( |
291 | - function ($id) use ($definitions) { |
|
291 | + function($id) use ($definitions) { |
|
292 | 292 | return !empty($definitions[$id]); |
293 | 293 | } |
294 | 294 | ); |
295 | 295 | $container->expects($this->any()) |
296 | 296 | ->method('getDefinition') |
297 | 297 | ->willReturnCallback( |
298 | - function ($id) use ($definitions) { |
|
298 | + function($id) use ($definitions) { |
|
299 | 299 | return $definitions[$id]; |
300 | 300 | } |
301 | 301 | ); |
302 | 302 | $container->expects($this->any()) |
303 | 303 | ->method('hasParameter') |
304 | 304 | ->willReturnCallback( |
305 | - function ($id) use ($parameters) { |
|
305 | + function($id) use ($parameters) { |
|
306 | 306 | return !empty($parameters[$id]); |
307 | 307 | } |
308 | 308 | ); |
309 | 309 | $container->expects($this->any()) |
310 | 310 | ->method('getParameter') |
311 | 311 | ->willReturnCallback( |
312 | - function ($id) use ($parameters) { |
|
312 | + function($id) use ($parameters) { |
|
313 | 313 | return $parameters[$id]; |
314 | 314 | } |
315 | 315 | ); |
@@ -160,7 +160,7 @@ |
||
160 | 160 | ->method('isFallbackSupported') |
161 | 161 | ->will( |
162 | 162 | $this->returnCallback( |
163 | - function ($object, $fieldName, $fallbackId) { |
|
163 | + function($object, $fieldName, $fallbackId) { |
|
164 | 164 | switch ($fallbackId) { |
165 | 165 | case 'testFallback1': |
166 | 166 | return false; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | $alias = 'ALIAS'; |
38 | 38 | $pluralAlias = 'PLURAL_ALIAS'; |
39 | - $entityStructure = $this->getEntity(EntityStructure::class, ['className' => \stdClass::class,]); |
|
39 | + $entityStructure = $this->getEntity(EntityStructure::class, ['className' => \stdClass::class, ]); |
|
40 | 40 | |
41 | 41 | $this->entityAliasResolver |
42 | 42 | ->expects($this->once()) |