Passed
Pull Request — master (#2)
by Dominique
22:55
created
Bundles/Product/src/Spryker/Zed/Product/ProductDependencyProvider.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -49,67 +49,67 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function provideBusinessLayerDependencies(Container $container)
51 51
     {
52
-        $container[self::FACADE_LOCALE] = function (Container $container) {
52
+        $container[self::FACADE_LOCALE] = function(Container $container) {
53 53
             return new ProductToLocaleBridge($container->getLocator()->locale()->facade());
54 54
         };
55 55
 
56
-        $container[self::FACADE_URL] = function (Container $container) {
56
+        $container[self::FACADE_URL] = function(Container $container) {
57 57
             return new ProductToUrlBridge($container->getLocator()->url()->facade());
58 58
         };
59 59
 
60
-        $container[self::FACADE_TOUCH] = function (Container $container) {
60
+        $container[self::FACADE_TOUCH] = function(Container $container) {
61 61
             return new ProductToTouchBridge($container->getLocator()->touch()->facade());
62 62
         };
63 63
 
64
-        $container[self::SERVICE_UTIL_TEXT] = function (Container $container) {
64
+        $container[self::SERVICE_UTIL_TEXT] = function(Container $container) {
65 65
             return new ProductToUtilTextBridge($container->getLocator()->utilText()->service());
66 66
         };
67 67
 
68
-        $container[self::SERVICE_UTIL_ENCODING] = function (Container $container) {
68
+        $container[self::SERVICE_UTIL_ENCODING] = function(Container $container) {
69 69
             return new ProductToUtilEncodingBridge($container->getLocator()->utilEncoding()->service());
70 70
         };
71 71
 
72
-        $container[self::FACADE_EVENT] = function (Container $container) {
72
+        $container[self::FACADE_EVENT] = function(Container $container) {
73 73
             return new ProductToEventBridge($container->getLocator()->event()->facade());
74 74
         };
75 75
 
76
-        $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_CREATE] = function (Container $container) {
76
+        $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_CREATE] = function(Container $container) {
77 77
             return $this->getProductAbstractBeforeCreatePlugins($container);
78 78
         };
79 79
 
80
-        $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_CREATE] = function (Container $container) {
80
+        $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_CREATE] = function(Container $container) {
81 81
             return $this->getProductAbstractAfterCreatePlugins($container);
82 82
         };
83 83
 
84
-        $container[self::PRODUCT_ABSTRACT_PLUGINS_READ] = function (Container $container) {
84
+        $container[self::PRODUCT_ABSTRACT_PLUGINS_READ] = function(Container $container) {
85 85
             return $this->getProductAbstractReadPlugins($container);
86 86
         };
87 87
 
88
-        $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_UPDATE] = function (Container $container) {
88
+        $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_UPDATE] = function(Container $container) {
89 89
             return $this->getProductAbstractBeforeUpdatePlugins($container);
90 90
         };
91 91
 
92
-        $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_UPDATE] = function (Container $container) {
92
+        $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_UPDATE] = function(Container $container) {
93 93
             return $this->getProductAbstractAfterUpdatePlugins($container);
94 94
         };
95 95
 
96
-        $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_CREATE] = function (Container $container) {
96
+        $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_CREATE] = function(Container $container) {
97 97
             return $this->getProductConcreteBeforeCreatePlugins($container);
98 98
         };
99 99
 
100
-        $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_CREATE] = function (Container $container) {
100
+        $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_CREATE] = function(Container $container) {
101 101
             return $this->getProductConcreteAfterCreatePlugins($container);
102 102
         };
103 103
 
104
-        $container[self::PRODUCT_CONCRETE_PLUGINS_READ] = function (Container $container) {
104
+        $container[self::PRODUCT_CONCRETE_PLUGINS_READ] = function(Container $container) {
105 105
             return $this->getProductConcreteReadPlugins($container);
106 106
         };
107 107
 
108
-        $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_UPDATE] = function (Container $container) {
108
+        $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_UPDATE] = function(Container $container) {
109 109
             return $this->getProductConcreteBeforeUpdatePlugins($container);
110 110
         };
111 111
 
112
-        $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_UPDATE] = function (Container $container) {
112
+        $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_UPDATE] = function(Container $container) {
113 113
             return $this->getProductConcreteAfterUpdatePlugins($container);
114 114
         };
115 115
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function providePersistenceLayerDependencies(Container $container)
135 135
     {
136
-        $container[self::QUERY_CONTAINER_URL] = function (Container $container) {
136
+        $container[self::QUERY_CONTAINER_URL] = function(Container $container) {
137 137
             return new ProductToUrlQueryContainerBridge($container->getLocator()->url()->queryContainer());
138 138
         };
139 139
 
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/Product/_support/Helper/ProductDataHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $productConcreteTransfer->getIdProductConcrete()
45 45
         ));
46 46
 
47
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($productConcreteTransfer) {
47
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($productConcreteTransfer) {
48 48
             $this->cleanupProductConcrete($productConcreteTransfer->getIdProductConcrete());
49 49
             $this->cleanupProductAbstract($productConcreteTransfer->getFkProductAbstract());
50 50
         });
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             $abstractProductId
70 70
         ));
71 71
 
72
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($productAbstractTransfer) {
72
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($productAbstractTransfer) {
73 73
             $this->cleanupProductAbstract($productAbstractTransfer->getIdProductAbstract());
74 74
         });
75 75
 
Please login to merge, or discard this patch.
Spryker/Zed/Log/Communication/Plugin/ServiceProvider/LogServiceProvider.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['monolog.level'] = function () {
29
+        $app['monolog.level'] = function() {
30 30
             return Config::get(LogConstants::LOG_LEVEL, Logger::ERROR);
31 31
         };
32 32
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryDataFeed/CategoryDataFeedDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function providePersistenceLayerDependencies(Container $container)
45 45
     {
46
-        $container[self::CATEGORY_QUERY_CONTAINER] = function (Container $container) {
46
+        $container[self::CATEGORY_QUERY_CONTAINER] = function(Container $container) {
47 47
             $categoryQueryContainer = $container->getLocator()
48 48
                 ->category()
49 49
                 ->queryContainer();
Please login to merge, or discard this patch.
Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/ButtonGroupFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     protected function getFunction()
19 19
     {
20
-        return function ($buttons, $title, $options = []) {
20
+        return function($buttons, $title, $options = []) {
21 21
             if (!array_key_exists(ButtonGroupUrlGenerator::ICON, $options)) {
22 22
                 $options[ButtonGroupUrlGenerator::ICON] = $this->getDefaultIcon();
23 23
             }
Please login to merge, or discard this patch.
Zed/Gui/Communication/Plugin/Twig/Buttons/AbstractButtonFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     protected function getFunction()
31 31
     {
32
-        return function ($url, $title, $options = []) {
32
+        return function($url, $title, $options = []) {
33 33
             if (!array_key_exists(ButtonUrlGenerator::ICON, $options)) {
34 34
                 $options[ButtonUrlGenerator::ICON] = $this->getIcon();
35 35
             }
Please login to merge, or discard this patch.
Bundles/Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ModalFunction.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
      */
26 26
     protected function getFunction()
27 27
     {
28
-        return function ($title, $content, $footer = null, $extraData = null) {
28
+        return function($title, $content, $footer = null, $extraData = null) {
29 29
             $extras = '';
30 30
             if (is_array($extraData)) {
31 31
                 foreach ($extraData as $key => $value) {
Please login to merge, or discard this patch.
Bundles/Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/UrlFunction.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
     protected function getFunction()
28 28
     {
29
-        return function ($url, array $query = [], array $options = []) {
29
+        return function($url, array $query = [], array $options = []) {
30 30
             $url = Url::generate($url, $query, $options);
31 31
             $html = $url->buildEscaped();
32 32
 
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ListGroupFunction.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
      */
26 26
     protected function getFunction()
27 27
     {
28
-        return function (array $items) {
28
+        return function(array $items) {
29 29
             if (is_array(array_values($items)[0])) {
30 30
                 $html = '<div class="list-group">';
31 31
 
Please login to merge, or discard this patch.