Passed
Push — master ( 29f725...05fe7b )
by mark
01:37
created
src/SprykerShop/Yves/ShopPermission/ShopPermissionDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected function addPermissionClient(Container $container)
39 39
     {
40
-        $container[static::CLIENT_PERMISSION] = function (Container $container) {
40
+        $container[static::CLIENT_PERMISSION] = function(Container $container) {
41 41
             return new ShopPermissionToPermissionClientBridge($container->getLocator()->permission()->client());
42 42
         };
43 43
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     protected function addPermissionTwigFunctionPlugins(Container $container)
53 53
     {
54
-        $container[static::PERMISSION_TWIG_FUNCTION_PLUGINS] = function (Container $container) {
54
+        $container[static::PERMISSION_TWIG_FUNCTION_PLUGINS] = function(Container $container) {
55 55
             return $this->getPermissionTwigFunctionPlugins();
56 56
         };
57 57
 
Please login to merge, or discard this patch.
Yves/ShopPermission/Plugin/Provider/ShopPermissionServiceProvider.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
         $app['twig'] = $app->share(
28
-            $app->extend('twig', function (\Twig_Environment $twig) use ($app) {
28
+            $app->extend('twig', function(\Twig_Environment $twig) use ($app) {
29 29
                 return $this->registerPermissionTwigFunction($twig, $app);
30 30
             })
31 31
         );
Please login to merge, or discard this patch.
src/SprykerShop/Yves/MoneyWidget/MoneyWidgetDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     protected function addStore(Container $container)
45 45
     {
46
-        $container[static::STORE] = function () {
46
+        $container[static::STORE] = function() {
47 47
             return $this->getStore();
48 48
         };
49 49
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     protected function addMoneyParser(Container $container)
67 67
     {
68
-        $container[static::MONEY_PARSER] = function () {
68
+        $container[static::MONEY_PARSER] = function() {
69 69
             $moneyToParserBridge = new MoneyToParserBridge($this->getIntlMoneyParser());
70 70
 
71 71
             return $moneyToParserBridge;
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     protected function addCurrencyPlugin(Container $container)
118 118
     {
119
-        $container[static::CURRENCY_PLUGIN] = function () {
119
+        $container[static::CURRENCY_PLUGIN] = function() {
120 120
             return $this->getCurrencyPlugin();
121 121
         };
122 122
 
Please login to merge, or discard this patch.
Yves/MoneyWidget/Plugin/ServiceProvider/TwigMoneyServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function register(Application $app)
28 28
     {
29 29
         $app['twig'] = $app->share(
30
-            $app->extend('twig', function (\Twig_Environment $twig) {
30
+            $app->extend('twig', function(\Twig_Environment $twig) {
31 31
                 $twig->addFilter($this->getMoneyFilter());
32 32
                 $twig->addFilter($this->getMoneyRawFilter());
33 33
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         $moneyFactory = $this->getFactory();
54 54
 
55
-        $filter = new Twig_SimpleFilter('money', function ($money, $withSymbol = true, $isoCode = null) use ($moneyFactory) {
55
+        $filter = new Twig_SimpleFilter('money', function($money, $withSymbol = true, $isoCode = null) use ($moneyFactory) {
56 56
             if (!($money instanceof MoneyTransfer)) {
57 57
                 $money = $this->getMoneyTransfer($money, $isoCode);
58 58
             }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         $moneyFactory = $this->getFactory();
76 76
 
77
-        $filter = new Twig_SimpleFilter('moneyRaw', function ($money, $isoCode = null) use ($moneyFactory) {
77
+        $filter = new Twig_SimpleFilter('moneyRaw', function($money, $isoCode = null) use ($moneyFactory) {
78 78
             if (!($money instanceof MoneyTransfer)) {
79 79
                 $money = $this->getMoneyTransfer($money, $isoCode);
80 80
             }
Please login to merge, or discard this patch.
src/SprykerShop/Yves/NewsletterPage/NewsletterPageDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected function addNewsletterClient(Container $container)
39 39
     {
40
-        $container[static::CLIENT_NEWSLETTER] = function (Container $container) {
40
+        $container[static::CLIENT_NEWSLETTER] = function(Container $container) {
41 41
             return new NewsletterPageToNewsletterClientBridge($container->getLocator()->newsletter()->client());
42 42
         };
43 43
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     protected function addCustomerClient(Container $container)
53 53
     {
54
-        $container[static::CLIENT_CUSTOMER] = function (Container $container) {
54
+        $container[static::CLIENT_CUSTOMER] = function(Container $container) {
55 55
             return new NewsletterPageToCustomerClientBridge($container->getLocator()->customer()->client());
56 56
         };
57 57
 
Please login to merge, or discard this patch.
Yves/ProductGroupWidget/ProductGroupWidgetDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected function addProductGroupStorageClient($container)
39 39
     {
40
-        $container[static::CLIENT_PRODUCT_GROUP_STORAGE] = function (Container $container) {
40
+        $container[static::CLIENT_PRODUCT_GROUP_STORAGE] = function(Container $container) {
41 41
             return new ProductGroupWidgetToProductGroupStorageClientBridge($container->getLocator()->productGroupStorage()->client());
42 42
         };
43 43
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     protected function addProductStorageClient($container)
53 53
     {
54
-        $container[static::CLIENT_PRODUCT_STORAGE] = function (Container $container) {
54
+        $container[static::CLIENT_PRODUCT_STORAGE] = function(Container $container) {
55 55
             return new ProductGroupWidgetToProductStorageClientBridge($container->getLocator()->productStorage()->client());
56 56
         };
57 57
 
Please login to merge, or discard this patch.
src/SprykerShop/Yves/WishlistPage/WishlistPageDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addCustomerClient(Container $container): Container
44 44
     {
45
-        $container[self::CLIENT_CUSTOMER] = function (Container $container) {
45
+        $container[self::CLIENT_CUSTOMER] = function(Container $container) {
46 46
             return new WishlistPageToCustomerClientBridge($container->getLocator()->customer()->client());
47 47
         };
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addWishlistClient(Container $container): Container
58 58
     {
59
-        $container[self::CLIENT_WISHLIST] = function (Container $container) {
59
+        $container[self::CLIENT_WISHLIST] = function(Container $container) {
60 60
             return new WishlistPageToWishlistClientBridge($container->getLocator()->wishlist()->client());
61 61
         };
62 62
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addProductStorageClient(Container $container)
72 72
     {
73
-        $container[self::CLIENT_PRODUCT_STORAGE] = function (Container $container) {
73
+        $container[self::CLIENT_PRODUCT_STORAGE] = function(Container $container) {
74 74
             return new WishlistPageToProductStorageClientBridge($container->getLocator()->productStorage()->client());
75 75
         };
76 76
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     protected function addWishlistItemExpanderPlugins(Container $container)
86 86
     {
87
-        $container[self::PLUGIN_WISHLIST_ITEM_EXPANDERS] = function () {
87
+        $container[self::PLUGIN_WISHLIST_ITEM_EXPANDERS] = function() {
88 88
             return $this->getWishlistItemExpanderPlugins();
89 89
         };
90 90
 
Please login to merge, or discard this patch.
src/SprykerShop/Yves/PriceWidget/PriceWidgetDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected function addQuoteClient(Container $container)
39 39
     {
40
-        $container[self::CLIENT_QUOTE] = function (Container $container) {
40
+        $container[self::CLIENT_QUOTE] = function(Container $container) {
41 41
             return new PriceWidgetToQuoteClientBridge($container->getLocator()->quote()->client());
42 42
         };
43 43
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     protected function addPriceClient(Container $container)
53 53
     {
54
-        $container[self::CLIENT_PRICE] = function (Container $container) {
54
+        $container[self::CLIENT_PRICE] = function(Container $container) {
55 55
             return new PriceWidgetToPriceClientBridge($container->getLocator()->price()->client());
56 56
         };
57 57
 
Please login to merge, or discard this patch.
SprykerShop/Yves/WebProfilerWidget/WebProfilerWidgetDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function provideDependencies(Container $container)
23 23
     {
24
-        $container[static::PLUGINS_WEB_PROFILER] = function () {
24
+        $container[static::PLUGINS_WEB_PROFILER] = function() {
25 25
             return $this->getWebProfilerPlugins();
26 26
         };
27 27
 
Please login to merge, or discard this patch.