Passed
Push — master ( 724c6f...9da6fd )
by Rafael
06:22
created
src/DependencyInjection/Configuration.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             ->beforeNormalization()
75 75
             ->ifString()
76 76
             ->then(
77
-                function ($v) {
77
+                function($v) {
78 78
                     return [$v];
79 79
                 }
80 80
             )
@@ -87,14 +87,14 @@  discard block
 block discarded – undo
87 87
             ->beforeNormalization()
88 88
             ->ifString()
89 89
             ->then(
90
-                function ($v) {
90
+                function($v) {
91 91
                     return [$v];
92 92
                 }
93 93
             )
94 94
             ->end()
95 95
             ->validate()
96 96
             ->ifTrue(
97
-                function (array $value) {
97
+                function(array $value) {
98 98
                     foreach ($value as $val) {
99 99
                         try {
100 100
                             preg_match($val, null);
@@ -111,14 +111,14 @@  discard block
 block discarded – undo
111 111
             ->beforeNormalization()
112 112
             ->ifString()
113 113
             ->then(
114
-                function ($v) {
114
+                function($v) {
115 115
                     return [$v];
116 116
                 }
117 117
             )
118 118
             ->end()
119 119
             ->validate()
120 120
             ->ifTrue(
121
-                function (array $value) {
121
+                function(array $value) {
122 122
                     foreach ($value as $val) {
123 123
                         try {
124 124
                             preg_match($val, null);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                           ->useAttributeAsKey('name')
137 137
                           ->validate()
138 138
                           ->ifTrue(
139
-                              function ($v) {
139
+                              function($v) {
140 140
                                   return array_key_exists('default', $v);
141 141
                               }
142 142
                           )->thenInvalid('"default" can\'t be used as endpoint name, the system internally use this endpoint name to store the entire schema.')
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                   ->beforeNormalization()
149 149
                   ->ifString()
150 150
                   ->then(
151
-                      function ($v) {
151
+                      function($v) {
152 152
                           return preg_split('/\s*,\s*/', $v);
153 153
                       }
154 154
                   )
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
              ->beforeNormalization()
166 166
              ->ifString()
167 167
              ->then(
168
-                 function ($v) {
168
+                 function($v) {
169 169
                      return preg_split('/\s*,\s*/', $v);
170 170
                  }
171 171
              )
Please login to merge, or discard this patch.
src/Command/ControlledErrorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     protected function execute(InputInterface $input, OutputInterface $output)
61 61
     {
62
-        $this->errorManager->clear();//force reload
62
+        $this->errorManager->clear(); //force reload
63 63
         $errors = $this->errorManager->all();
64 64
 
65 65
         $result = $output;
Please login to merge, or discard this patch.
src/Controller/GraphQLEndpointController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 
207 207
             $result->setErrorFormatter([$formatter, 'format']);
208 208
             $result->setErrorsHandler(
209
-                function ($errors) use ($handler, $formatter, $debugFlags) {
209
+                function($errors) use ($handler, $formatter, $debugFlags) {
210 210
                     return $handler->handle($errors, $formatter, $debugFlags);
211 211
                 }
212 212
             );
Please login to merge, or discard this patch.