Passed
Branch develop (80a5ee)
by BENARD
10:36
created
src/Repository/ProofRequestRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
             ->getSingleScalarResult();
31 31
     }
32 32
 
33
-     /**
34
-     * @param $player
35
-     * @return mixed
36
-     * @throws NoResultException
37
-     * @throws NonUniqueResultException
38
-     */
33
+        /**
34
+         * @param $player
35
+         * @return mixed
36
+         * @throws NoResultException
37
+         * @throws NonUniqueResultException
38
+         */
39 39
     public function countPlayerToDay($player): mixed
40 40
     {
41 41
         $qb = $this->createQueryBuilder('request')
Please login to merge, or discard this patch.
src/EventListener/Entity/PlayerChartListener.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
     public function __construct(
22 22
         private readonly GameStatsHandler $gameStatsHandler,
23 23
         private readonly GroupStatsHandler $groupStatsHandler
24
-    ) {}
24
+    ) {
25
+}
25 26
 
26 27
     /**
27 28
      * @param PlayerChart        $playerChart
Please login to merge, or discard this patch.
src/Service/Player/CanAskProofProvider.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
     public const MAX_REQUEST_DAY = 5;
13 13
     private ProofRequestRepository $proofRequestRepository;
14 14
 
15
-    public function __construct(ProofRequestRepository $proofRequestRepository) {
15
+    public function __construct(ProofRequestRepository $proofRequestRepository)
16
+    {
16 17
         $this->proofRequestRepository = $proofRequestRepository;
17 18
     }
18 19
 
Please login to merge, or discard this patch.
src/EventSubscriber/ProofRequestSubscriber.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             $player = $this->tokenStorageToPlayerTransformer->transform($this->tokenStorage->getToken());
58 58
 
59 59
             if (false === $this->canAskProofProvider->load($player)) {
60
-                 throw new PostException(sprintf($this->translator->trans('proof.request.send.refuse'), CanAskProofProvider::MAX_REQUEST_DAY));
60
+                    throw new PostException(sprintf($this->translator->trans('proof.request.send.refuse'), CanAskProofProvider::MAX_REQUEST_DAY));
61 61
             }
62 62
 
63 63
             $request->setPlayerRequesting($player);
Please login to merge, or discard this patch.
src/Entity/Game.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -332,11 +332,11 @@
 block discarded – undo
332 332
         return new GameStatus($this->status);
333 333
     }
334 334
 
335
-     /**
336
-     * Get status
337
-     *
338
-     * @return string
339
-     */
335
+        /**
336
+         * Get status
337
+         *
338
+         * @return string
339
+         */
340 340
     public function getStatusAsString(): string
341 341
     {
342 342
         return $this->status;
Please login to merge, or discard this patch.
src/Entity/Serie.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@
 block discarded – undo
133 133
         return $this->id;
134 134
     }
135 135
 
136
-   /**
137
-    *
138
-    */
136
+    /**
137
+     *
138
+     */
139 139
     public function setStatus(string $status): Serie
140 140
     {
141 141
         $this->status = $status;
Please login to merge, or discard this patch.
src/Admin/ChartAdmin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
                 'associated_property' => $this->getLibGroup(),
220 220
                 'label' => 'label.group',
221 221
             ))
222
-             ->add('group.game', null, array(
222
+                ->add('group.game', null, array(
223 223
                 'associated_property' => $this->getLibGame(),
224 224
                 'label' => 'label.game',
225 225
             ))
Please login to merge, or discard this patch.
src/Admin/ProofAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
             ->add('updated_at', 'datetime', ['label' => 'label.updatedAt'])
281 281
             ->add('checkedAt', 'datetime', ['label' => 'label.checkedAt'])
282 282
             ->add('playerChart', null, ['label' => 'label.score'])
283
-            ->add('picture',null, ['label' => 'label.picture'])
283
+            ->add('picture', null, ['label' => 'label.picture'])
284 284
             ->add('video', null, ['label' => 'label.video'])
285 285
             ->add('playerResponding', null, ['label' => 'label.player.responding'])
286 286
             ->add('status', null, ['label' => 'label.status']);
Please login to merge, or discard this patch.
src/Controller/GamercardController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         $avatar = Picture::loadFileFromStream($this->getAvatar($player));
151 151
         $gamercard->copyResized($avatar, 9, 30, 0, 0, 64, 64);
152 152
 
153
-        $playerGames = $this->playerGameRepository->findBy( ['player' => $player],['lastUpdate' => 'DESC'],5);
153
+        $playerGames = $this->playerGameRepository->findBy(['player' => $player], ['lastUpdate' => 'DESC'], 5);
154 154
 
155 155
         $startX = 9;
156 156
         foreach ($playerGames as $playerGame) {
Please login to merge, or discard this patch.