Passed
Pull Request — master (#11)
by Stanislau
03:43
created
src/Preparation/Processor/Property/Assert/UuidStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             'V1_MAC', 'V2_DCE', 'V3_MD5', 'V4_RANDOM', 'V5_SHA1', 'V6_SORTABLE', 'V7_MONOTONIC',
28 28
         ];
29 29
 
30
-        return array_filter(array_map(function (string $constName) {
30
+        return array_filter(array_map(function(string $constName) {
31 31
             $cName = sprintf('%s::%s', Uuid::class, $constName);
32 32
 
33 33
             return \defined($cName) ? \constant($cName) : null;
Please login to merge, or discard this patch.
example/test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
 $deserialized = $classSerializerFacade->fromJsonTransfer($jsonDto);
80 80
 
81 81
 $className = get_class($user);
82
-$okNo = get_class($deserialized) === $className ?'true' : 'false';
83
-print_r( "Deserialize $className: $okNo \r\n");
82
+$okNo = get_class($deserialized) === $className ? 'true' : 'false';
83
+print_r("Deserialize $className: $okNo \r\n");
84 84
 
85 85
 /**
86 86
  * Validate DTO example
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 $validator = new ValidatorFacadeDefault();
118 118
 $constraints = $validator->validate($simpleUser);
119 119
 
120
-$validationStatus = !count($constraints) ? 'Validated': 'Validation error';
120
+$validationStatus = !count($constraints) ? 'Validated' : 'Validation error';
121 121
 
122 122
 print_r("Validation status: $validationStatus\r\n");
123 123
 
Please login to merge, or discard this patch.