Passed
Push — master ( f6fed5...7faa6a )
by Nicolas
06:58
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.
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
6 6
 
7
-return function (array $context) {
7
+return function(array $context) {
8 8
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
9 9
 };
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
@@ -29,9 +29,9 @@
 block discarded – undo
29 29
 
30 30
         /** @var array $data */
31 31
         $data = $data['errors']['children'];
32
-        $data = array_filter($data, fn (array $child) => isset($child['errors']) && \count($child['errors']) > 0);
32
+        $data = array_filter($data, fn(array $child) => isset($child['errors']) && \count($child['errors']) > 0);
33 33
 
34
-        return array_map(fn (array $child) => $child['errors'] ?? [], $data);
34
+        return array_map(fn(array $child) => $child['errors'] ?? [], $data);
35 35
     }
36 36
 
37 37
     /**
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
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             'title' => $object->getTitle(),
37 37
             'description' => $object->getDescription(),
38 38
             'body' => $object->getBody(),
39
-            'tagList' => array_map(fn (Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()),
39
+            'tagList' => array_map(fn(Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()),
40 40
             'createdAt' => $this->normalizer->normalize($object->getCreatedAt()),
41 41
             'updatedAt' => $this->normalizer->normalize($object->getCreatedAt()),
42 42
             'favorited' => false,
Please login to merge, or discard this patch.