Passed
Push — develop ( 2464a5...909ea9 )
by BENARD
06:29
created
src/Entity/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
     uriVariables: [
183 183
         'id' => new Link(fromClass: Game::class, toProperty: 'game'),
184 184
     ],
185
-    operations: [ new GetCollection() ],
185
+    operations: [new GetCollection()],
186 186
     normalizationContext: ['groups' => ['group:read']],
187 187
 )]
188 188
 #[ApiFilter(
Please login to merge, or discard this patch.
src/Entity/VideoComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     uriVariables: [
35 35
         'id' => new Link(fromClass: Video::class, toProperty: 'video'),
36 36
     ],
37
-    operations: [ new GetCollection() ],
37
+    operations: [new GetCollection()],
38 38
     normalizationContext: ['groups' => ['video-comment:read', 'video-comment:player', 'player:read']],
39 39
 )]
40 40
 class VideoComment
Please login to merge, or discard this patch.
src/Entity/Game.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -498,7 +498,7 @@
 block discarded – undo
498 498
         $this->platforms->removeElement($platform);
499 499
     }
500 500
 
501
-    public function getPlatforms(): ArrayCollection|Collection
501
+    public function getPlatforms(): ArrayCollection | Collection
502 502
     {
503 503
         return $this->platforms;
504 504
     }
Please login to merge, or discard this patch.
src/Entity/TeamGame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         'overrideDefaultGroups' => true,
64 64
         'whitelist' => [
65 65
             'team-game:read',
66
-            'team-game:game','game:read',
66
+            'team-game:game', 'game:read',
67 67
             'game:platforms', 'platform:read',
68 68
         ]
69 69
     ]
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
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
                     'required' => false,
126 126
                     'expanded' => false,
127 127
                     'query_builder' =>
128
-                        function ($er) {
128
+                        function($er) {
129 129
                             $qb = $er->createQueryBuilder('p');
130 130
                             $qb->orderBy('p.libPlatform', 'ASC');
131 131
                             return $qb;
Please login to merge, or discard this patch.
src/Admin/ChartLibAdmin.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
                     'label' => 'label.type',
33 33
                     'required' => true,
34 34
                     'query_builder' =>
35
-                        function ($er) {
35
+                        function($er) {
36 36
                             $qb = $er->createQueryBuilder('p');
37 37
                             $qb->orderBy('p.name', 'ASC');
38 38
                             return $qb;
Please login to merge, or discard this patch.
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.