Passed
Branch develop (b3086b)
by BENARD
12:06
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/EventListener/Entity/PlayerListener.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
 
15 15
     public function __construct(
16 16
         private readonly UpdateChartStatusHandler $updateChartStatusHandler
17
-     ) {}
17
+        ) {}
18 18
 
19 19
 
20
-     /**
21
-     * @param Player $player
22
-     * @param PreUpdateEventArgs $event
23
-     */
20
+        /**
21
+         * @param Player $player
22
+         * @param PreUpdateEventArgs $event
23
+         */
24 24
     public function preUpdate(Player $player, PreUpdateEventArgs $event): void
25 25
     {
26 26
         $this->changeSet = $event->getEntityChangeSet();
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 
15 15
     public function __construct(
16 16
         private readonly UpdateChartStatusHandler $updateChartStatusHandler
17
-     ) {}
17
+     ) {
18
+}
18 19
 
19 20
 
20 21
      /**
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/Player.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -551,12 +551,12 @@
 block discarded – undo
551 551
         return $this->nbChartMax;
552 552
     }
553 553
 
554
-     /**
555
-     * Set nbChartWithPlatform
556
-     *
557
-     * @param integer $nbChartWithPlatform
558
-     * @return Player
559
-     */
554
+        /**
555
+         * Set nbChartWithPlatform
556
+         *
557
+         * @param integer $nbChartWithPlatform
558
+         * @return Player
559
+         */
560 560
     public function setNbChartWithPlatform(int $nbChartWithPlatform): static
561 561
     {
562 562
         $this->nbChartWithPlatform = $nbChartWithPlatform;
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.