Passed
Pull Request — master (#14)
by Nicolas
11:09
created
src/DataFixtures/AppFixtures.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
 
23 23
     public function load(ObjectManager $manager): void
24 24
     {
25
-        $this->loader->load([__DIR__ . '/../../fixtures/data.yaml']);
25
+        $this->loader->load([__DIR__.'/../../fixtures/data.yaml']);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Serializer/Normalizer/ArticleNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             'title' => $object->getTitle(),
40 40
             'description' => $object->getDescription(),
41 41
             'body' => $object->getBody(),
42
-            'tagList' => \array_map(fn (Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()),
42
+            'tagList' => \array_map(fn(Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()),
43 43
             'createdAt' => $this->normalizer->normalize($object->getCreatedAt()),
44 44
             'updatedAt' => $this->normalizer->normalize($object->getCreatedAt()),
45 45
             'favorited' => false,
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@
 block discarded – undo
16 16
     protected function configureContainer(ContainerConfigurator $container): void
17 17
     {
18 18
         $container->import('../config/{packages}/*.yaml');
19
-        $container->import('../config/{packages}/' . $this->environment . '/*.yaml');
19
+        $container->import('../config/{packages}/'.$this->environment.'/*.yaml');
20 20
         $container->import('../config/{services}.yaml');
21
-        $container->import('../config/{services}_' . $this->environment . '.yaml');
21
+        $container->import('../config/{services}_'.$this->environment.'.yaml');
22 22
     }
23 23
 
24 24
     protected function configureRoutes(RoutingConfigurator $routes): void
25 25
     {
26
-        $routes->import('../config/{routes}/' . $this->environment . '/*.yaml');
26
+        $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');
27 27
         $routes->import('../config/{routes}/*.yaml');
28 28
         $routes->import('../config/{routes}.yaml');
29 29
     }
Please login to merge, or discard this patch.
src/Serializer/Normalizer/FormErrorNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
 
32 32
         /** @var array $data */
33 33
         $data = $data['errors']['children'];
34
-        $data = \array_filter($data, fn (array $child) => isset($child['errors']) && \count($child['errors']) > 0);
34
+        $data = \array_filter($data, fn(array $child) => isset($child['errors']) && \count($child['errors']) > 0);
35 35
 
36
-        return \array_map(fn (array $child) => $child['errors'] ?? [], $data);
36
+        return \array_map(fn(array $child) => $child['errors'] ?? [], $data);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.