Passed
Push — master ( 673f30...a0fef5 )
by Arnaud
25:58 queued 19:36
created
src/Field/AutoField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public function getDataTransformer(): ?\Closure
31 31
     {
32
-        return function ($data) {
32
+        return function($data) {
33 33
             if ($data === null) {
34 34
                 return '';
35 35
             }
Please login to merge, or discard this patch.
src/Metadata/Operation.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,17 +15,17 @@
 block discarded – undo
15 15
     public function __construct(
16 16
         #[Assert\NotBlank(message: 'The operation name should not be empty')]
17 17
         private ?string $name = null,
18
-        #[Assert\Length(max: 255, maxMessage: 'The operation title should be shorter than 255 characters')]
18
+        #[Assert\Length(max : 255, maxMessage : 'The operation title should be shorter than 255 characters')]
19 19
         private ?string $title = null,
20 20
         private ?string $description = null,
21
-        #[Assert\Length(max: 255, maxMessage: 'The operation icon should be shorter than 255 characters')]
21
+        #[Assert\Length(max : 255, maxMessage : 'The operation icon should be shorter than 255 characters')]
22 22
         private ?string $icon = null,
23
-        #[Assert\NotBlank(message: 'The operation template should not be empty')]
23
+        #[Assert\NotBlank(message : 'The operation template should not be empty')]
24 24
         private ?string $template = null,
25 25
         private ?array $permissions = [],
26
-        #[Assert\NotBlank(message: 'The operation controller should not be empty')]
26
+        #[Assert\NotBlank(message : 'The operation controller should not be empty')]
27 27
         private ?string $controller = null,
28
-        #[Assert\NotBlank(message: 'The operation has an empty route')]
28
+        #[Assert\NotBlank(message : 'The operation has an empty route')]
29 29
         private ?string $route = null,
30 30
         private ?array $routeParameters = null,
31 31
         private array $methods = [],
Please login to merge, or discard this patch.