Test Failed
Push — develop ( 2ccc89...0ecd73 )
by BENARD
06:45
created
src/Admin/PlayerChartLibAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                 [
33 33
                     'required' => true,
34 34
                     'query_builder' =>
35
-                        function ($er) use ($chart) {
35
+                        function($er) use ($chart) {
36 36
                             $qb = $er->createQueryBuilder('l');
37 37
                             $qb->where('l.chart = :chart');
38 38
                             $qb->setParameter('chart', $chart);
Please login to merge, or discard this patch.
src/Manager/AvatarManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         }
47 47
 
48 48
         $stream = $this->appStorage->readStream($path);
49
-        return new StreamedResponse(function () use ($stream) {
49
+        return new StreamedResponse(function() use ($stream) {
50 50
             fpassthru($stream);
51 51
             exit();
52 52
         }, 200, ['Content-Type' => $this->getMimeType($path)]);
Please login to merge, or discard this patch.
src/Controller/Serie/GetPicture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         }
38 38
 
39 39
         $stream = $this->appStorage->readStream($path);
40
-        return new StreamedResponse(function () use ($stream) {
40
+        return new StreamedResponse(function() use ($stream) {
41 41
             fpassthru($stream);
42 42
         }, 200, ['Content-Type' => 'image/png']);
43 43
     }
Please login to merge, or discard this patch.
src/Controller/Admin/GroupAdminController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @param Request $request
53 53
      * @return RedirectResponse|Response
54 54
      */
55
-    public function addLibChartAction($id, Request $request): RedirectResponse|Response
55
+    public function addLibChartAction($id, Request $request): RedirectResponse | Response
56 56
     {
57 57
         /** @var Group $group */
58 58
         $group = $this->admin->getSubject();
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param Request $request
106 106
      * @return RedirectResponse|Response
107 107
      */
108
-    public function setVideoProofOnlyAction($id, Request $request): RedirectResponse|Response
108
+    public function setVideoProofOnlyAction($id, Request $request): RedirectResponse | Response
109 109
     {
110 110
         /** @var Group $group */
111 111
         $group = $this->admin->getSubject();
Please login to merge, or discard this patch.
src/Manager/GameOfDayManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         $today = (new \DateTime())->format('Y-m-d');
27 27
 
28
-        return $this->cache->get("game_of_day_{$today}", function (ItemInterface $item) {
28
+        return $this->cache->get("game_of_day_{$today}", function(ItemInterface $item) {
29 29
             // Cache expire à minuit (début du jour suivant)
30 30
             $tomorrow = new \DateTime('tomorrow');
31 31
             $item->expiresAt($tomorrow);
Please login to merge, or discard this patch.
src/Block/Service/ProofRequestBlockService.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
             ->where('pr.status = :status')
63 63
             ->setParameter('status', ProofRequestStatus::IN_PROGRESS);
64 64
 
65
-        $totalRequests = (int)$totalRequestsQuery->getQuery()->getSingleScalarResult();
65
+        $totalRequests = (int) $totalRequestsQuery->getQuery()->getSingleScalarResult();
66 66
 
67 67
 
68 68
         return $this->renderResponse(
Please login to merge, or discard this patch.
src/Admin/GameAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
                     'required' => false,
192 192
                     'expanded' => false,
193 193
                     'query_builder' =>
194
-                        function ($er) {
194
+                        function($er) {
195 195
                             $qb = $er->createQueryBuilder('p');
196 196
                             $qb->orderBy('p.name', 'ASC');
197 197
                             return $qb;
Please login to merge, or discard this patch.
src/Admin/RuleAdmin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                         'field_type' => RichTextEditorType::class,
73 73
                         'label' => 'rule.form.rules',
74 74
                         'required' => false,
75
-                     ]
75
+                        ]
76 76
                 ]
77 77
             ]);
78 78
     }
Please login to merge, or discard this patch.
src/Scheduler/Handler/DailyRankingHandler.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                 $this->logger->info('No rankings to generate today');
52 52
             } else {
53 53
                 foreach ($rankingsGenerated as $type => $count) {
54
-                    $this->logger->info("Generated {$type} rankings", ['count' => $count]);
54
+                    $this->logger->info("generated {$type} rankings", ['count' => $count]);
55 55
                 }
56 56
             }
57 57
         } catch (\Exception $e) {
Please login to merge, or discard this patch.