Passed
Branch master (7a7cfe)
by Fabian
45:14
created
tests/SprykerTest/Service/FileSystem/_support/FileSystemServiceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\FileSystemServiceTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.
src/Spryker/Yves/Storage/Plugin/Provider/StorageCacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function register(Application $app)
28 28
     {
29
-        $app->finish(function (Request $request) use ($app) {
29
+        $app->finish(function(Request $request) use ($app) {
30 30
             if (isset($app[StorageConstants::STORAGE_CACHE_STRATEGY])) {
31 31
                 $this->getClient()->persistCacheForRequest($request, $app[StorageConstants::STORAGE_CACHE_STRATEGY]);
32 32
             }
Please login to merge, or discard this patch.
Spryker/Yves/Storage/Plugin/Provider/StorageRequestCacheServiceProvider.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
      */
28 28
     public function register(Application $app)
29 29
     {
30
-        $app->finish(function (Request $request) {
30
+        $app->finish(function(Request $request) {
31 31
             $this->getClient()->persistCacheForRequest($request);
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
Bundles/Storage/src/Spryker/Client/Storage/StorageDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $container = parent::provideServiceLayerDependencies($container);
26 26
 
27
-        $container[self::STORAGE_CLIENT] = function (Container $container) {
27
+        $container[self::STORAGE_CLIENT] = function(Container $container) {
28 28
             return $container->getLocator()->storage()->client();
29 29
         };
30 30
 
Please login to merge, or discard this patch.
src/Spryker/Client/Storage/ServiceProvider/StorageClientServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function register(Application $app)
26 26
     {
27 27
         $containerGlobals = new ContainerGlobals();
28
-        $containerGlobals[static::CLIENT_STORAGE] = function () {
28
+        $containerGlobals[static::CLIENT_STORAGE] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->storage()->client();
Please login to merge, or discard this patch.
Bundles/Storage/src/Spryker/Zed/Storage/StorageDependencyProvider.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
     protected function addStorageClient(Container $container)
48 48
     {
49
-        $container[self::CLIENT_STORAGE] = function (Container $container) {
49
+        $container[self::CLIENT_STORAGE] = function(Container $container) {
50 50
             return $container->getLocator()->storage()->client();
51 51
         };
52 52
     }
Please login to merge, or discard this patch.
Storage/tests/SprykerTest/Client/Storage/_support/StorageClientTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\StorageClientTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.
tests/SprykerTest/Client/Storage/_support/Helper/CacheDataProvider.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -285,8 +285,7 @@  discard block
 block discarded – undo
285 285
                     // Dividing dataset into three thirds: unused keys then used keys then new keys
286 286
                     $firstThirdDataset = ceil($cacheSize / 3);
287 287
                     $secondThirdDataset = $firstThirdDataset * 2;
288
-                    $value = $i < $firstThirdDataset ? StorageClient::KEY_INIT :
289
-                        ($i < $secondThirdDataset ? StorageClient::KEY_USED : StorageClient::KEY_NEW);
288
+                    $value = $i < $firstThirdDataset ? StorageClient::KEY_INIT : ($i < $secondThirdDataset ? StorageClient::KEY_USED : StorageClient::KEY_NEW);
290 289
                     break;
291 290
 
292 291
                 default:
@@ -341,8 +340,7 @@  discard block
 block discarded – undo
341 340
                         // When there are unused keys within the limit, the result contains the rest of the unused keys after removing the over limit ones
342 341
                         $inLimitUnusedKeysSize = $thirdDataset - self::OVER_LIMIT_SIZE;
343 342
                         $key = $key = 'kv:key' . ($i + $thirdDataset - $inLimitUnusedKeysSize + 1);
344
-                        $value = $i < $inLimitUnusedKeysSize ? StorageClient::KEY_INIT :
345
-                            ($i < $inLimitUnusedKeysSize + $thirdDataset ? StorageClient::KEY_USED :  StorageClient::KEY_NEW);
343
+                        $value = $i < $inLimitUnusedKeysSize ? StorageClient::KEY_INIT : ($i < $inLimitUnusedKeysSize + $thirdDataset ? StorageClient::KEY_USED : StorageClient::KEY_NEW);
346 344
                     }
347 345
                     break;
348 346
 
Please login to merge, or discard this patch.
Storage/tests/SprykerTest/Shared/Storage/_support/StorageSharedTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\StorageSharedTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.