@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $arrayData = $this->serializer->serialize($data, 'array'); |
46 | 46 | $this->assertEquals( |
47 | 47 | [ |
48 | - 'internalType' => TestEntity::class, // We are using the IdenticalPropertyNamingStrategy |
|
48 | + 'internalType' => TestEntity::class, // We are using the IdenticalPropertyNamingStrategy |
|
49 | 49 | 'title' => 'some title', |
50 | 50 | 'description' => 'some description', |
51 | 51 | 'note' => 'some note', |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $arrayData = $this->serializer->serialize($data, 'array', $context); |
71 | 71 | $this->assertEquals( |
72 | 72 | [ |
73 | - 'internalType' => TestEntity::class, // We are using the IdenticalPropertyNamingStrategy |
|
73 | + 'internalType' => TestEntity::class, // We are using the IdenticalPropertyNamingStrategy |
|
74 | 74 | 'title' => 'some title', |
75 | 75 | 'note' => 'some note', |
76 | 76 | ], |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | } |
233 | 233 | |
234 | 234 | if ($result) { |
235 | - $result = (int)$result; |
|
235 | + $result = (int) $result; |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | break; |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | } |
246 | 246 | |
247 | 247 | if ($result) { |
248 | - $result = (float)$result; |
|
248 | + $result = (float) $result; |
|
249 | 249 | } |
250 | 250 | |
251 | 251 | break; |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | |
64 | 64 | // Serialization cache handler |
65 | - $serializationCacheHandler = $container->register('smartcore.serializer.handler.cache',CachedObjectHandler::class); |
|
65 | + $serializationCacheHandler = $container->register('smartcore.serializer.handler.cache', CachedObjectHandler::class); |
|
66 | 66 | $serializationCacheHandler->addMethodCall('setCacheService', [$cacheDriverServiceDef]); |
67 | 67 | $serializationCacheHandler->addTag('jms_serializer.subscribing_handler'); |
68 | 68 | $serializationCacheHandler->setPublic($public); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | $testNames = $this->getTestNames(); |
135 | 135 | $smokeTests = \array_filter( |
136 | 136 | $smokeTests, |
137 | - function ($key) use ($test) { |
|
137 | + function($key) use ($test) { |
|
138 | 138 | return $key === $test; |
139 | 139 | }, |
140 | 140 | ARRAY_FILTER_USE_KEY |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | */ |
351 | 351 | protected function filterByLabels(array $smokeTests, array $labels, array $skipLabels, array &$skipped): array |
352 | 352 | { |
353 | - return \array_filter($smokeTests, function ($smokeTestInfo) use ($labels, &$skipped, $skipLabels) { |
|
353 | + return \array_filter($smokeTests, function($smokeTestInfo) use ($labels, &$skipped, $skipLabels) { |
|
354 | 354 | $key = $smokeTestInfo['id']; |
355 | 355 | if (!empty(\array_intersect($labels, $smokeTestInfo['labels'])) || |
356 | 356 | (!empty(\array_diff($smokeTestInfo['labels'], $skipLabels)) && empty($labels)) |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | */ |
374 | 374 | protected function filterBySkipTests(array $smokeTests, array $skipTests, array &$skipped): array |
375 | 375 | { |
376 | - return \array_filter($smokeTests, function ($smokeTestInfo) use ($skipTests, &$skipped) { |
|
376 | + return \array_filter($smokeTests, function($smokeTestInfo) use ($skipTests, &$skipped) { |
|
377 | 377 | $key = $smokeTestInfo['id']; |
378 | 378 | if (\in_array($key, $skipTests)) { |
379 | 379 | $skipped[$key] = $smokeTestInfo; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | protected function setUp() |
28 | 28 | { |
29 | - static::bootKernel(); |
|
29 | + static::bootKernel(); |
|
30 | 30 | |
31 | 31 | $this->serializer = self::$container->get('jms_serializer'); |
32 | 32 | } |