Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
Plugin/CmsProductSetContentWidgetPlugin.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getContentWidgetFunction()
40 40
     {
41
-        return function (Twig_Environment $twig, array $context, $productSetKeys, $templateIdentifier = null) {
41
+        return function(Twig_Environment $twig, array $context, $productSetKeys, $templateIdentifier = null) {
42 42
             return $twig->render(
43 43
                 $this->resolveTemplatePath($templateIdentifier),
44 44
                 $this->getContent($context, $productSetKeys)
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @return callable
37
+     * @return \Closure
38 38
      */
39 39
     public function getContentWidgetFunction()
40 40
     {
Please login to merge, or discard this patch.
CmsContentWidgetProductSetConnectorDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
      */
26 26
     public function provideDependencies(Container $container)
27 27
     {
28
-        $container[static::PRODUCT_SET_CLIENT] = function (Container $container) {
28
+        $container[static::PRODUCT_SET_CLIENT] = function(Container $container) {
29 29
             return new CmsContentWidgetProductSetConnectorToProductSetBridgeSet($container->getLocator()->productSet()->client());
30 30
         };
31 31
 
32
-        $container[static::PRODUCT_CLIENT] = function (Container $container) {
32
+        $container[static::PRODUCT_CLIENT] = function(Container $container) {
33 33
             return new CmsContentWidgetProductSetConnectorToProductBridge($container->getLocator()->product()->client());
34 34
         };
35 35
 
Please login to merge, or discard this patch.
CmsContentWidgetProductSetConnectorDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function providePersistenceLayerDependencies(Container $container)
25 25
     {
26
-        $container[static::QUERY_CONTAINER_PRODUCT_SET] = function (Container $container) {
26
+        $container[static::QUERY_CONTAINER_PRODUCT_SET] = function(Container $container) {
27 27
             return new CmsContentWidgetProductSetConnectorProductSetQueryContainerBridge(
28 28
                 $container->getLocator()->productSet()->queryContainer()
29 29
             );
Please login to merge, or discard this patch.
_support/CmsContentWidgetProductSetConnectorBusinessTester.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\CmsContentWidgetProductSetConnectorBusinessTesterActions;
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.
Zed/ProductLabelCollector/ProductLabelCollectorDependencyProvider.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 addProductLabelFacade(Container $container)
44 44
     {
45
-        $container[static::FACADE_PRODUCT_LABEL] = function (Container $container) {
45
+        $container[static::FACADE_PRODUCT_LABEL] = function(Container $container) {
46 46
             return new ProductLabelCollectorToProductLabelBridge($container->getLocator()->productLabel()->facade());
47 47
         };
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addCollectorFacade(Container $container)
58 58
     {
59
-        $container[static::FACADE_COLLECTOR] = function (Container $container) {
59
+        $container[static::FACADE_COLLECTOR] = function(Container $container) {
60 60
             return new ProductLabelCollectorToCollectorBridge($container->getLocator()->collector()->facade());
61 61
         };
62 62
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addDataReaderService(Container $container)
72 72
     {
73
-        $container[static::SERVICE_DATA_READER] = function (Container $container) {
73
+        $container[static::SERVICE_DATA_READER] = function(Container $container) {
74 74
             return $container->getLocator()->utilDataReader()->service();
75 75
         };
76 76
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     protected function addTouchQueryContainer(Container $container)
86 86
     {
87
-        $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) {
87
+        $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) {
88 88
             return $container->getLocator()->touch()->queryContainer();
89 89
         };
90 90
 
Please login to merge, or discard this patch.
SequenceNumber/src/Spryker/Zed/SequenceNumber/SequenceNumberConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     protected function mergeSettings(array $defaultSettingsArray, array $settingsArray)
46 46
     {
47
-        $settingsArray = array_filter($settingsArray, function ($value) {
47
+        $settingsArray = array_filter($settingsArray, function($value) {
48 48
             return ($value !== null);
49 49
         });
50 50
         $settingsArray += $defaultSettingsArray;
Please login to merge, or discard this patch.
SprykerTest/Zed/SequenceNumber/_support/SequenceNumberBusinessTester.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\SequenceNumberBusinessTesterActions;
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.
Shared/Config/Plugin/ServiceProvider/ConfigProfilerServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addConfigProfilerCollector(Application $app)
56 56
     {
57
-        $app->extend('data_collectors', function ($collectors) {
58
-            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function () {
57
+        $app->extend('data_collectors', function($collectors) {
58
+            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function() {
59 59
                 return ConfigProfilerCollectorFactory::createConfigProfilerCollector();
60 60
             };
61 61
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      */
73 73
     protected function addCollectorTemplates(Application $app)
74 74
     {
75
-        $app['data_collector.templates'] = $app->extend('data_collector.templates', function ($templates) {
75
+        $app['data_collector.templates'] = $app->extend('data_collector.templates', function($templates) {
76 76
             $templates[] = [ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER, '@Config/Collector/spryker_config_profiler.html.twig'];
77 77
 
78 78
             return $templates;
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     protected function addPathToLoader(Application $app)
118 118
     {
119 119
         $loaderKey = $this->getLoaderKey();
120
-        $app[$loaderKey] = $app->extend($loaderKey, function (TwigFilesystemLoader $loader) {
120
+        $app[$loaderKey] = $app->extend($loaderKey, function(TwigFilesystemLoader $loader) {
121 121
             $pathToTemplates = $this->getPathToTemplates();
122 122
             if (method_exists($loader, 'addPath')) {
123 123
                 $loader->addPath($pathToTemplates);
Please login to merge, or discard this patch.
Config/Plugin/ServiceProvider/AbstractConfigProfilerServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
      */
50 50
     protected function addConfigProfilerCollector(Application $app)
51 51
     {
52
-        $app->extend('data_collectors', function ($collectors) {
53
-            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function () {
52
+        $app->extend('data_collectors', function($collectors) {
53
+            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function() {
54 54
                 return ConfigProfilerCollectorFactory::createConfigProfilerCollector();
55 55
             };
56 56
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function addCollectorTemplates(Application $app)
69 69
     {
70
-        $app['data_collector.templates'] = $app->extend('data_collector.templates', function ($templates) {
70
+        $app['data_collector.templates'] = $app->extend('data_collector.templates', function($templates) {
71 71
             $templates[] = [ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER, $this->getTemplateName()];
72 72
 
73 73
             return $templates;
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     protected function addPathToLoader(Application $app)
123 123
     {
124 124
         $loaderKey = $this->getLoaderKey();
125
-        $app[$loaderKey] = $app->extend($loaderKey, function (TwigFilesystemLoader $loader) {
125
+        $app[$loaderKey] = $app->extend($loaderKey, function(TwigFilesystemLoader $loader) {
126 126
             $pathToTemplates = $this->getPathToTemplates();
127 127
             if (method_exists($loader, 'addPath')) {
128 128
                 $loader->addPath($pathToTemplates);
Please login to merge, or discard this patch.