Completed
Branch master (7cb054)
by Tim
30:07
created
Private/Contrib/vendor/piotrooo/wsdl-creator/src/WSDL/XML/Styles/Style.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Ouzo\Utilities\Inflector;
27 27
 use WSDL\Parser\MethodParser;
28 28
 use WSDL\Types\Type;
29
-use WSDL\Utilities\Strings;
30 29
 use WSDL\Utilities\TypeHelper;
31 30
 
32 31
 /**
Please login to merge, or discard this patch.
wsdl-creator/examples/return_complextypes/WrapperExampleSoapServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,10 +108,10 @@
 block discarded – undo
108 108
             $employee->id = 2 + $i + 1;
109 109
             $employee->department = $departments[$i];
110 110
             
111
-            if(mt_rand(0, 3) == 2) {
111
+            if (mt_rand(0, 3) == 2) {
112 112
                 $address = new Address();
113 113
                 $address->address = mt_rand(1000, 9999);
114
-                $address->street = 'random string '.  mt_rand(0, 99);
114
+                $address->street = 'random string ' . mt_rand(0, 99);
115 115
 
116 116
                 $employee->addresses[] = $address;
117 117
             }
Please login to merge, or discard this patch.
Contrib/vendor/piotrooo/wsdl-creator/examples/Clients/InitCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         $this->output->writeln('<comment>Request params:</comment>');
35 35
         $output = $this->output;
36
-        array_walk($requestParams, function ($param, $key) use ($output) {
36
+        array_walk($requestParams, function($param, $key) use ($output) {
37 37
             $output->writeln('Param ' . ($key + 1) . ':');
38 38
             var_dump($param);
39 39
             $output->writeln('');
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     private function _getRows()
73 73
     {
74
-        return array_map(function ($function) {
74
+        return array_map(function($function) {
75 75
             return array($function);
76 76
         }, $this->soapClient->__getFunctions());
77 77
     }
Please login to merge, or discard this patch.
Private/Contrib/vendor/piotrooo/wsdl-creator/src/WSDL/XML/XMLGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
         ));
307 307
         $partsInput = $this->_bindingStyle->methodInput($method);
308 308
         $obj = $this;
309
-        $partsInput = array_map(function ($attributes) use ($obj) {
309
+        $partsInput = array_map(function($attributes) use ($obj) {
310 310
             return $obj->createElementWithAttributes('part', $attributes);
311 311
         }, $partsInput);
312 312
         foreach ($partsInput as $part) {
Please login to merge, or discard this patch.
Contrib/vendor/piotrooo/wsdl-creator/src/WSDL/Parser/ComplexTypeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     {
59 59
         preg_match_all('#@(\((?:.+)\)|(?:.+?))(?: |$)#', $types, $matches);
60 60
         $typesArray = $matches[1];
61
-        $obj = array_map(function ($type) {
61
+        $obj = array_map(function($type) {
62 62
             if (ComplexTypeParser::isReflectionType($type)) {
63 63
                 $type = str_replace(array('(', ')'), '', $type);
64 64
             } else {
Please login to merge, or discard this patch.
Resources/Private/Contrib/vendor/composer/ClassLoader.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -110,13 +110,13 @@  discard block
 block discarded – undo
110 110
         if (!$prefix) {
111 111
             if ($prepend) {
112 112
                 $this->fallbackDirsPsr0 = array_merge(
113
-                    (array) $paths,
113
+                    (array)$paths,
114 114
                     $this->fallbackDirsPsr0
115 115
                 );
116 116
             } else {
117 117
                 $this->fallbackDirsPsr0 = array_merge(
118 118
                     $this->fallbackDirsPsr0,
119
-                    (array) $paths
119
+                    (array)$paths
120 120
                 );
121 121
             }
122 122
 
@@ -125,19 +125,19 @@  discard block
 block discarded – undo
125 125
 
126 126
         $first = $prefix[0];
127 127
         if (!isset($this->prefixesPsr0[$first][$prefix])) {
128
-            $this->prefixesPsr0[$first][$prefix] = (array) $paths;
128
+            $this->prefixesPsr0[$first][$prefix] = (array)$paths;
129 129
 
130 130
             return;
131 131
         }
132 132
         if ($prepend) {
133 133
             $this->prefixesPsr0[$first][$prefix] = array_merge(
134
-                (array) $paths,
134
+                (array)$paths,
135 135
                 $this->prefixesPsr0[$first][$prefix]
136 136
             );
137 137
         } else {
138 138
             $this->prefixesPsr0[$first][$prefix] = array_merge(
139 139
                 $this->prefixesPsr0[$first][$prefix],
140
-                (array) $paths
140
+                (array)$paths
141 141
             );
142 142
         }
143 143
     }
@@ -158,13 +158,13 @@  discard block
 block discarded – undo
158 158
             // Register directories for the root namespace.
159 159
             if ($prepend) {
160 160
                 $this->fallbackDirsPsr4 = array_merge(
161
-                    (array) $paths,
161
+                    (array)$paths,
162 162
                     $this->fallbackDirsPsr4
163 163
                 );
164 164
             } else {
165 165
                 $this->fallbackDirsPsr4 = array_merge(
166 166
                     $this->fallbackDirsPsr4,
167
-                    (array) $paths
167
+                    (array)$paths
168 168
                 );
169 169
             }
170 170
         } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -174,18 +174,18 @@  discard block
 block discarded – undo
174 174
                 throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
175 175
             }
176 176
             $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
177
-            $this->prefixDirsPsr4[$prefix] = (array) $paths;
177
+            $this->prefixDirsPsr4[$prefix] = (array)$paths;
178 178
         } elseif ($prepend) {
179 179
             // Prepend directories for an already registered namespace.
180 180
             $this->prefixDirsPsr4[$prefix] = array_merge(
181
-                (array) $paths,
181
+                (array)$paths,
182 182
                 $this->prefixDirsPsr4[$prefix]
183 183
             );
184 184
         } else {
185 185
             // Append directories for an already registered namespace.
186 186
             $this->prefixDirsPsr4[$prefix] = array_merge(
187 187
                 $this->prefixDirsPsr4[$prefix],
188
-                (array) $paths
188
+                (array)$paths
189 189
             );
190 190
         }
191 191
     }
@@ -200,9 +200,9 @@  discard block
 block discarded – undo
200 200
     public function set($prefix, $paths)
201 201
     {
202 202
         if (!$prefix) {
203
-            $this->fallbackDirsPsr0 = (array) $paths;
203
+            $this->fallbackDirsPsr0 = (array)$paths;
204 204
         } else {
205
-            $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
205
+            $this->prefixesPsr0[$prefix[0]][$prefix] = (array)$paths;
206 206
         }
207 207
     }
208 208
 
@@ -218,14 +218,14 @@  discard block
 block discarded – undo
218 218
     public function setPsr4($prefix, $paths)
219 219
     {
220 220
         if (!$prefix) {
221
-            $this->fallbackDirsPsr4 = (array) $paths;
221
+            $this->fallbackDirsPsr4 = (array)$paths;
222 222
         } else {
223 223
             $length = strlen($prefix);
224 224
             if ('\\' !== $prefix[$length - 1]) {
225 225
                 throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
226 226
             }
227 227
             $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
228
-            $this->prefixDirsPsr4[$prefix] = (array) $paths;
228
+            $this->prefixDirsPsr4[$prefix] = (array)$paths;
229 229
         }
230 230
     }
231 231
 
Please login to merge, or discard this patch.
Private/Contrib/vendor/letsdrink/ouzo-goodies/Tests/Mock/MethodCall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     public static function hasName($name)
44 44
     {
45
-        return function ($callStub) use ($name) {
45
+        return function($callStub) use ($name) {
46 46
             return $callStub->name == $name;
47 47
         };
48 48
     }
Please login to merge, or discard this patch.
Private/Contrib/vendor/letsdrink/ouzo-goodies/Tests/Mock/SimpleMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     private function getMatchingStubbedCalls($methodCall)
33 33
     {
34
-        $matching = Arrays::filter($this->_stubbed_calls, function ($stubbed_call) use ($methodCall) {
34
+        $matching = Arrays::filter($this->_stubbed_calls, function($stubbed_call) use ($methodCall) {
35 35
             return $stubbed_call->matches($methodCall);
36 36
         });
37 37
         return $matching;
Please login to merge, or discard this patch.
Private/Contrib/vendor/letsdrink/ouzo-goodies/Tests/ArrayAssert.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
     public function onMethod($method)
123 123
     {
124
-        return new ArrayAssert(Arrays::map($this->_actual, function ($element) use ($method) {
124
+        return new ArrayAssert(Arrays::map($this->_actual, function($element) use ($method) {
125 125
             return $element->$method();
126 126
         }));
127 127
     }
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         $elements = func_get_args();
154 154
         $currentArray = $this->_actual;
155 155
         $foundElement = '';
156
-        $anyFound = Arrays::any($elements, function ($element) use ($currentArray, &$foundElement) {
156
+        $anyFound = Arrays::any($elements, function($element) use ($currentArray, &$foundElement) {
157 157
             $checkInArray = in_array($element, $currentArray);
158 158
             if ($checkInArray) {
159 159
                 $foundElement = $element;
Please login to merge, or discard this patch.