Passed
Push — master ( 902a44...7e7d16 )
by mark
01:27
created
ProductSet/src/Spryker/Zed/ProductSet/Business/Model/ProductSetCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function createProductSet(ProductSetTransfer $productSetTransfer)
48 48
     {
49
-        return $this->handleDatabaseTransaction(function () use ($productSetTransfer) {
49
+        return $this->handleDatabaseTransaction(function() use ($productSetTransfer) {
50 50
             return $this->executeCreateProductSetTransaction($productSetTransfer);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
ProductSet/src/Spryker/Zed/ProductSet/Business/Model/ProductSetReducer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $this->assertProductSetForExtension($productSetTransfer);
49 49
 
50
-        return $this->handleDatabaseTransaction(function () use ($productSetTransfer) {
50
+        return $this->handleDatabaseTransaction(function() use ($productSetTransfer) {
51 51
             return $this->executeRemoveFromProductSetTransaction($productSetTransfer);
52 52
         });
53 53
     }
Please login to merge, or discard this patch.
ProductApi/src/Spryker/Zed/ProductApi/ProductApiDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function provideApiQueryContainer(Container $container)
75 75
     {
76
-        $container[static::QUERY_CONTAINER_API] = function (Container $container) {
76
+        $container[static::QUERY_CONTAINER_API] = function(Container $container) {
77 77
             return new ProductApiToApiBridge($container->getLocator()->api()->queryContainer());
78 78
         };
79 79
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     protected function provideApiQueryBuilderQueryContainer(Container $container)
89 89
     {
90
-        $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function (Container $container) {
90
+        $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function(Container $container) {
91 91
             return new ProductApiToApiQueryBuilderBridge($container->getLocator()->apiQueryBuilder()->queryContainer());
92 92
         };
93 93
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     protected function provideDateFormatterService(Container $container)
103 103
     {
104
-        $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) {
104
+        $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) {
105 105
             return $container->getLocator()->utilDateTime()->service();
106 106
         };
107 107
         return $container;
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     protected function provideProductFacade(Container $container)
116 116
     {
117
-        $container[static::FACADE_PRODUCT] = function (Container $container) {
117
+        $container[static::FACADE_PRODUCT] = function(Container $container) {
118 118
             return new ProductApiToProductBridge($container->getLocator()->product()->facade());
119 119
         };
120 120
         return $container;
Please login to merge, or discard this patch.
Flysystem/src/Spryker/Service/Flysystem/FlysystemDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function addFlysystemPluginCollection($container)
38 38
     {
39
-        $container[self::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $container) {
39
+        $container[self::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $container) {
40 40
             return [];
41 41
         };
42 42
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function addFilesystemBuilderPluginCollection($container)
52 52
     {
53
-        $container[self::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $container) {
53
+        $container[self::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $container) {
54 54
             return [];
55 55
         };
56 56
 
Please login to merge, or discard this patch.
Calculation/src/Spryker/Zed/Calculation/Business/CalculationFacade.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,8 @@
 block discarded – undo
192 192
     public function calculateExpenseTotal(CalculableObjectTransfer $calculableObjectTransfer)
193 193
     {
194 194
         $this->getFactory()
195
-           ->createExpenseTotalCalculator()
196
-           ->recalculate($calculableObjectTransfer);
195
+            ->createExpenseTotalCalculator()
196
+            ->recalculate($calculableObjectTransfer);
197 197
     }
198 198
 
199 199
     /**
Please login to merge, or discard this patch.
Bundles/Flysystem/src/Spryker/Service/Flysystem/Model/Writer.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function markAsPrivate($filesystemName, $path)
39 39
     {
40
-        $this->handleWriteOperation(function () use ($filesystemName, $path) {
40
+        $this->handleWriteOperation(function() use ($filesystemName, $path) {
41 41
             $visibility = AdapterInterface::VISIBILITY_PRIVATE;
42 42
 
43 43
             return $this->filesystemProvider
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function markAsPublic($filesystemName, $path)
56 56
     {
57
-        $this->handleWriteOperation(function () use ($filesystemName, $path) {
57
+        $this->handleWriteOperation(function() use ($filesystemName, $path) {
58 58
             $visibility = AdapterInterface::VISIBILITY_PUBLIC;
59 59
 
60 60
             return $this->filesystemProvider
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      */
73 73
     public function createDir($filesystemName, $dirname, array $config = [])
74 74
     {
75
-        $this->handleWriteOperation(function () use ($filesystemName, $dirname, $config) {
75
+        $this->handleWriteOperation(function() use ($filesystemName, $dirname, $config) {
76 76
             return $this->filesystemProvider
77 77
                 ->getFilesystemByName($filesystemName)
78 78
                 ->createDir($dirname, $config);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function deleteDir($filesystemName, $dirname)
89 89
     {
90
-        $this->handleWriteOperation(function () use ($filesystemName, $dirname) {
90
+        $this->handleWriteOperation(function() use ($filesystemName, $dirname) {
91 91
             return $this->filesystemProvider
92 92
                 ->getFilesystemByName($filesystemName)
93 93
                 ->deleteDir($dirname);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function copy($filesystemName, $path, $newpath)
105 105
     {
106
-        $this->handleWriteOperation(function () use ($filesystemName, $path, $newpath) {
106
+        $this->handleWriteOperation(function() use ($filesystemName, $path, $newpath) {
107 107
             return $this->filesystemProvider
108 108
                 ->getFilesystemByName($filesystemName)
109 109
                 ->copy($path, $newpath);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function delete($filesystemName, $path)
120 120
     {
121
-        $this->handleWriteOperation(function () use ($filesystemName, $path) {
121
+        $this->handleWriteOperation(function() use ($filesystemName, $path) {
122 122
             return $this->filesystemProvider
123 123
                 ->getFilesystemByName($filesystemName)
124 124
                 ->delete($path);
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function put($filesystemName, $path, $content, array $config = [])
137 137
     {
138
-        $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) {
138
+        $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) {
139 139
             $this->filesystemProvider
140 140
                 ->getFilesystemByName($filesystemName)
141 141
                 ->put($path, $content, $config);
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      */
152 152
     public function rename($filesystemName, $path, $newpath)
153 153
     {
154
-        $this->handleWriteOperation(function () use ($filesystemName, $path, $newpath) {
154
+        $this->handleWriteOperation(function() use ($filesystemName, $path, $newpath) {
155 155
             return $this->filesystemProvider
156 156
                 ->getFilesystemByName($filesystemName)
157 157
                 ->rename($path, $newpath);
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      */
169 169
     public function update($filesystemName, $path, $content, array $config = [])
170 170
     {
171
-        $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) {
171
+        $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) {
172 172
             return $this->filesystemProvider
173 173
                 ->getFilesystemByName($filesystemName)
174 174
                 ->update($path, $content, $config);
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function write($filesystemName, $path, $content, array $config = [])
187 187
     {
188
-        $this->handleWriteOperation(function () use ($filesystemName, $path, $content, $config) {
188
+        $this->handleWriteOperation(function() use ($filesystemName, $path, $content, $config) {
189 189
             return $this->filesystemProvider
190 190
                 ->getFilesystemByName($filesystemName)
191 191
                 ->write($path, $content, $config);
Please login to merge, or discard this patch.
Bundles/Flysystem/src/Spryker/Service/Flysystem/Model/Stream.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function putStream($filesystemName, $path, $resource, array $config = [])
40 40
     {
41
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
41
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
42 42
             return $this->filesystemProvider
43 43
                 ->getFilesystemByName($filesystemName)
44 44
                 ->putStream($path, $resource, $config);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function readStream($filesystemName, $path)
55 55
     {
56
-        return $this->handleStreamOperation(function () use ($filesystemName, $path) {
56
+        return $this->handleStreamOperation(function() use ($filesystemName, $path) {
57 57
             return $this->filesystemProvider
58 58
                 ->getFilesystemByName($filesystemName)
59 59
                 ->readStream($path);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function updateStream($filesystemName, $path, $resource, array $config = [])
72 72
     {
73
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
73
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
74 74
             return $this->filesystemProvider
75 75
                 ->getFilesystemByName($filesystemName)
76 76
                 ->updateStream($path, $resource, $config);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function writeStream($filesystemName, $path, $resource, array $config = [])
89 89
     {
90
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
90
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
91 91
             return $this->filesystemProvider
92 92
                 ->getFilesystemByName($filesystemName)
93 93
                 ->writeStream($path, $resource, $config);
Please login to merge, or discard this patch.
Bundles/Flysystem/src/Spryker/Service/Flysystem/Model/Reader.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function getMetadata($filesystemName, $path)
89 89
     {
90
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
90
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
91 91
             $metadata = $this->filesystemProvider
92 92
                 ->getFilesystemByName($filesystemName)
93 93
                 ->getMetadata($path);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function getMimeType($filesystemName, $path)
120 120
     {
121
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
121
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
122 122
             return $this->filesystemProvider
123 123
                 ->getFilesystemByName($filesystemName)
124 124
                 ->getMimetype($path);
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function getVisibility($filesystemName, $path)
135 135
     {
136
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
136
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
137 137
             return $this->filesystemProvider
138 138
                 ->getFilesystemByName($filesystemName)
139 139
                 ->getVisibility($path);
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      */
149 149
     public function getTimestamp($filesystemName, $path)
150 150
     {
151
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
151
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
152 152
             return $this->filesystemProvider
153 153
                 ->getFilesystemByName($filesystemName)
154 154
                 ->getTimestamp($path);
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     public function getSize($filesystemName, $path)
165 165
     {
166
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
166
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
167 167
             return $this->filesystemProvider
168 168
                 ->getFilesystemByName($filesystemName)
169 169
                 ->getSize($path);
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      */
179 179
     public function read($filesystemName, $path)
180 180
     {
181
-        return $this->handleReadOperation(function () use ($filesystemName, $path) {
181
+        return $this->handleReadOperation(function() use ($filesystemName, $path) {
182 182
             return $this->filesystemProvider
183 183
                 ->getFilesystemByName($filesystemName)
184 184
                 ->read($path);
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function listContents($filesystemName, $directory = '', $recursive = false)
196 196
     {
197
-        return $this->handleReadOperation(function () use ($filesystemName, $directory, $recursive) {
197
+        return $this->handleReadOperation(function() use ($filesystemName, $directory, $recursive) {
198 198
             $resourceCollection = $this->filesystemProvider
199 199
                 ->getFilesystemByName($filesystemName)
200 200
                 ->listContents($directory, $recursive);
Please login to merge, or discard this patch.
CustomerApi/src/Spryker/Zed/CustomerApi/CustomerApiDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function provideCommunicationLayerDependencies(Container $container)
62 62
     {
63
-        $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) {
63
+        $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) {
64 64
             return $container->getLocator()->utilDateTime()->service();
65 65
         };
66 66
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     protected function provideApiQueryContainer(Container $container)
76 76
     {
77
-        $container[static::QUERY_CONTAINER_API] = function (Container $container) {
77
+        $container[static::QUERY_CONTAINER_API] = function(Container $container) {
78 78
             return new CustomerApiToApiBridge($container->getLocator()->api()->queryContainer());
79 79
         };
80 80
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     protected function provideApiQueryBuilderQueryContainer(Container $container)
90 90
     {
91
-        $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function (Container $container) {
91
+        $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function(Container $container) {
92 92
             return new CustomerApiToApiQueryBuilderBridge($container->getLocator()->apiQueryBuilder()->queryContainer());
93 93
         };
94 94
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function provideCustomerFacade(Container $container)
104 104
     {
105
-        $container[static::FACADE_CUSTOMER] = function (Container $container) {
105
+        $container[static::FACADE_CUSTOMER] = function(Container $container) {
106 106
             return new CustomerApiToCustomerBridge($container->getLocator()->customer()->facade());
107 107
         };
108 108
         return $container;
Please login to merge, or discard this patch.