Completed
Push — master ( c2f62f...bf208f )
by Giancarlos
03:53
created
src/Greenter/Xml/Validator/InvoiceValidator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         ]);
29 29
         $metadata->addPropertyConstraints('serie', [
30 30
             new Assert\NotBlank(),
31
-            new Assert\Length([ 'max' => 4]),
31
+            new Assert\Length(['max' => 4]),
32 32
         ]);
33 33
         $metadata->addPropertyConstraints('correlativo', [
34 34
             new Assert\NotBlank(),
@@ -42,19 +42,19 @@  discard block
 block discarded – undo
42 42
             new Assert\NotBlank(),
43 43
             new Assert\Length(['max' => 3]),
44 44
         ]);
45
-        $metadata->addPropertyConstraints('mtoOperGravadas',[
45
+        $metadata->addPropertyConstraints('mtoOperGravadas', [
46 46
             new Assert\NotBlank(),
47 47
             new Assert\Type(['type' => 'numeric']),
48 48
         ]);
49
-        $metadata->addPropertyConstraints('mtoOperInafectas',[
49
+        $metadata->addPropertyConstraints('mtoOperInafectas', [
50 50
             new Assert\NotBlank(),
51 51
             new Assert\Type(['type' => 'numeric']),
52 52
         ]);
53
-        $metadata->addPropertyConstraints('mtoOperExoneradas',[
53
+        $metadata->addPropertyConstraints('mtoOperExoneradas', [
54 54
             new Assert\NotBlank(),
55 55
             new Assert\Type(['type' => 'numeric']),
56 56
         ]);
57
-        $metadata->addPropertyConstraints('mtoImpVenta',[
57
+        $metadata->addPropertyConstraints('mtoImpVenta', [
58 58
             new Assert\NotBlank(),
59 59
             new Assert\Type(['type' => 'numeric']),
60 60
         ]);
Please login to merge, or discard this patch.
src/Greenter/Xml/Validator/NoteValidator.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         ]);
29 29
         $metadata->addPropertyConstraints('serie', [
30 30
             new Assert\NotBlank(),
31
-            new Assert\Length([ 'max' => 4]),
31
+            new Assert\Length(['max' => 4]),
32 32
         ]);
33 33
         $metadata->addPropertyConstraints('correlativo', [
34 34
             new Assert\NotBlank(),
@@ -42,19 +42,19 @@  discard block
 block discarded – undo
42 42
             new Assert\NotBlank(),
43 43
             new Assert\Length(['max' => 3]),
44 44
         ]);
45
-        $metadata->addPropertyConstraints('mtoOperGravadas',[
45
+        $metadata->addPropertyConstraints('mtoOperGravadas', [
46 46
             new Assert\NotBlank(),
47 47
             new Assert\Type(['type' => 'numeric']),
48 48
         ]);
49
-        $metadata->addPropertyConstraints('mtoOperInafectas',[
49
+        $metadata->addPropertyConstraints('mtoOperInafectas', [
50 50
             new Assert\NotBlank(),
51 51
             new Assert\Type(['type' => 'numeric']),
52 52
         ]);
53
-        $metadata->addPropertyConstraints('mtoOperExoneradas',[
53
+        $metadata->addPropertyConstraints('mtoOperExoneradas', [
54 54
             new Assert\NotBlank(),
55 55
             new Assert\Type(['type' => 'numeric']),
56 56
         ]);
57
-        $metadata->addPropertyConstraints('mtoImpVenta',[
57
+        $metadata->addPropertyConstraints('mtoImpVenta', [
58 58
             new Assert\NotBlank(),
59 59
             new Assert\Type(['type' => 'numeric']),
60 60
         ]);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         ]);
76 76
         $metadata->addPropertyConstraints('desMotivo', [
77 77
             new Assert\NotBlank(),
78
-            new Assert\Length([ 'max' => 250]),
78
+            new Assert\Length(['max' => 250]),
79 79
         ]);
80 80
         $metadata->addPropertyConstraints('tipDocAfectado', [
81 81
             new Assert\NotBlank(),
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         ]);
87 87
         $metadata->addPropertyConstraints('numDocfectado', [
88 88
             new Assert\NotBlank(),
89
-            new Assert\Length([ 'max' => 13]),
89
+            new Assert\Length(['max' => 13]),
90 90
         ]);
91 91
     }
92 92
 }
93 93
\ No newline at end of file
Please login to merge, or discard this patch.