Passed
Branch develop (4d479e)
by BENARD
05:24
created
src/EventListener/Entity/PlayerChartListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      */
127 127
     public function preRemove(PlayerChart $playerChart, LifecycleEventArgs $event): void
128 128
     {
129
-         // Chart
129
+            // Chart
130 130
         $chart = $playerChart->getChart();
131 131
         $chart->setNbPost($chart->getNbPost() - 1);
132 132
         $chart->setStatusPlayer(ChartStatus::STATUS_MAJ);
Please login to merge, or discard this patch.
src/Service/Ranking/Write/PlayerChartRankingHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
             $playerChart
110 110
                 ->setNbEqual($nbEqual)
111 111
                 ->setRank($rank)
112
-                ->setPointChart((int)(
112
+                ->setPointChart((int) (
113 113
                     array_sum(
114 114
                         array_slice(array_values($pointsChart), $playerChart->getRank() - 1, $playerChart->getNbEqual())
115 115
                     ) / $playerChart->getNbEqual()
Please login to merge, or discard this patch.
src/Admin/PlayerBadgeAdmin.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
     {
66 66
         $filter
67 67
             ->add('player', ModelFilter::class, [
68
-                 'field_type' => ModelAutocompleteType::class,
69
-                 'field_options' => ['property'=>'pseudo'],
70
-                 'label' => 'label.player'
68
+                    'field_type' => ModelAutocompleteType::class,
69
+                    'field_options' => ['property'=>'pseudo'],
70
+                    'label' => 'label.player'
71 71
             ])
72 72
             ->add('badge.game.libGameFr', null, ['label' => 'label.game.fr'])
73 73
             ->add('badge.game.libGameEn', null, ['label' => 'label.game.en'])
Please login to merge, or discard this patch.