Passed
Push — master ( 8e2ff2...9907da )
by Nicolas
05:51
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/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.
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/Kernel.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@  discard block
 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
 
21
-        if (\is_file(\dirname(__DIR__) . '/config/services.yaml')) {
21
+        if (\is_file(\dirname(__DIR__).'/config/services.yaml')) {
22 22
             $container->import('../config/services.yaml');
23
-            $container->import('../config/{services}_' . $this->environment . '.yaml');
23
+            $container->import('../config/{services}_'.$this->environment.'.yaml');
24 24
         } else {
25 25
             $container->import('../config/{services}.php');
26 26
         }
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
 
29 29
     protected function configureRoutes(RoutingConfigurator $routes): void
30 30
     {
31
-        $routes->import('../config/{routes}/' . $this->environment . '/*.yaml');
31
+        $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');
32 32
         $routes->import('../config/{routes}/*.yaml');
33 33
 
34
-        if (\is_file(\dirname(__DIR__) . '/config/routes.yaml')) {
34
+        if (\is_file(\dirname(__DIR__).'/config/routes.yaml')) {
35 35
             $routes->import('../config/routes.yaml');
36 36
         } else {
37 37
             $routes->import('../config/{routes}.php');
Please login to merge, or discard this patch.