Completed
Pull Request — master (#24)
by
unknown
28s
created
Tests/Serializer/ArraySerializationVisitorFunctionalTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             ],
Please login to merge, or discard this patch.
Command/Fixtures/GenerateFixtureCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
245 245
                 }
246 246
 
247 247
                 if ($result) {
248
-                    $result = (float)$result;
248
+                    $result = (float) $result;
249 249
                 }
250 250
 
251 251
                 break;
Please login to merge, or discard this patch.
DependencyInjection/SerializationCacheCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Command/SmokeTestRunCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Serializer/Metadata/Driver/AnnotationDriverTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.