Completed
Push — master ( dca783...294a52 )
by Przemysław eRIZ
02:30
created
src/Generator/AssertGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
         return null;
36 36
     }
37 37
 
38
-    protected function filterByGroup($asserts, ?string $group = null){
39
-        if(is_null($group)){
38
+    protected function filterByGroup($asserts, ?string $group = null) {
39
+        if (is_null($group)) {
40 40
             return $asserts;
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Metadata/FieldMetadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function __construct($args = [])
38 38
     {
39
-        foreach($args as $k=>$v){
39
+        foreach ($args as $k=>$v) {
40 40
             $this->{$k} = $v;
41 41
         }
42 42
     }
Please login to merge, or discard this patch.
src/Metadata/Factory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $result = [];
50 50
 
51 51
 
52
-        foreach($fieldAnnotations as $a){
52
+        foreach ($fieldAnnotations as $a) {
53 53
             $f = new FieldMetadata();
54 54
             $f->property = $property;
55 55
             $f->objectConfiguration = $objectConfiguration;
@@ -69,13 +69,13 @@  discard block
 block discarded – undo
69 69
      * @param string|null $group
70 70
      * @return FieldMetadata[]
71 71
      */
72
-    public function getConfigurationForFieldByGroup($annotations, ?string $group = null){
72
+    public function getConfigurationForFieldByGroup($annotations, ?string $group = null) {
73 73
 
74
-        if(empty($annotations)){
74
+        if (empty($annotations)) {
75 75
             return null;
76 76
         }
77 77
 
78
-        if(is_null($group)){
78
+        if (is_null($group)) {
79 79
             return array_shift($annotations);
80 80
         }
81 81
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             $fieldConfig->satisfyAssertsConditions = $objectConfig->satisfyAssertsConditions;
99 99
         }
100 100
 
101
-        if(is_null($fieldConfig->recursive)){
101
+        if (is_null($fieldConfig->recursive)) {
102 102
             $fieldConfig->recursive = $objectConfig->recursive;
103 103
         }
104 104
 
Please login to merge, or discard this patch.
src/Annotations/FakeMockField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@
 block discarded – undo
76 76
         if (is_array($dataOrFaker)) {
77 77
             foreach ($dataOrFaker as $k => $v) {
78 78
 
79
-                if($k == 'groups'){
80
-                    $v = (array)$v;
79
+                if ($k == 'groups') {
80
+                    $v = (array) $v;
81 81
                 }
82 82
 
83 83
                 $this->$k = $v;
Please login to merge, or discard this patch.