Completed
Push — master ( 6279d8...15f84e )
by mark
30s queued 11s
created
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.
ProductNew/src/Spryker/Zed/ProductNew/ProductNewDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected function addProductLabelQueryContainer(Container $container)
40 40
     {
41
-        $container[static::QUERY_CONTAINER_PRODUCT_LABEL] = function (Container $container) {
41
+        $container[static::QUERY_CONTAINER_PRODUCT_LABEL] = function(Container $container) {
42 42
             return new ProductNewToProductLabelBridge($container->getLocator()->productLabel()->queryContainer());
43 43
         };
44 44
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function addProductQueryContainer(Container $container)
54 54
     {
55
-        $container[static::QUERY_CONTAINER_PRODUCT] = function (Container $container) {
55
+        $container[static::QUERY_CONTAINER_PRODUCT] = function(Container $container) {
56 56
             return new ProductNewToProductBridge($container->getLocator()->product()->queryContainer());
57 57
         };
58 58
 
Please login to merge, or discard this patch.
Bundles/Console/src/Spryker/Zed/Console/ConsoleDependencyProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     protected function addCommands(Container $container)
45 45
     {
46
-        $container[self::COMMANDS] = function (Container $container) {
46
+        $container[self::COMMANDS] = function(Container $container) {
47 47
             return $this->getConsoleCommands($container);
48 48
         };
49 49
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function addEventSubscriber(Container $container)
69 69
     {
70
-        $container[static::EVENT_SUBSCRIBER] = function (Container $container) {
70
+        $container[static::EVENT_SUBSCRIBER] = function(Container $container) {
71 71
             return $this->getEventSubscriber($container);
72 72
         };
73 73
 
@@ -91,11 +91,11 @@  discard block
 block discarded – undo
91 91
      */
92 92
     protected function addConsoleHookPlugins(Container $container)
93 93
     {
94
-        $container[static::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function (Container $container) {
94
+        $container[static::PLUGINS_CONSOLE_PRE_RUN_HOOK] = function(Container $container) {
95 95
             return $this->getConsolePreRunHookPlugins($container);
96 96
         };
97 97
 
98
-        $container[static::PLUGINS_CONSOLE_POST_RUN_HOOK] = function (Container $container) {
98
+        $container[static::PLUGINS_CONSOLE_POST_RUN_HOOK] = function(Container $container) {
99 99
             return $this->getConsolePostRunHookPlugins($container);
100 100
         };
101 101
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     protected function addServiceProviders(Container $container)
131 131
     {
132
-        $container[static::SERVICE_PROVIDERS] = function (Container $container) {
132
+        $container[static::SERVICE_PROVIDERS] = function(Container $container) {
133 133
             return $this->getServiceProviders($container);
134 134
         };
135 135
 
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Category/Business/CategoryNode/CategoryNodeTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@  discard block
 block discarded – undo
51 51
             ->expects($this->exactly(5))
52 52
             ->method('touchCategoryNodeActive')
53 53
             ->withConsecutive(
54
-                [$this->equalTo(static::CATEGORY_NODE_ID_NOTEBOOKS)],       // Child
54
+                [$this->equalTo(static::CATEGORY_NODE_ID_NOTEBOOKS)], // Child
55 55
                 [$this->equalTo(static::CATEGORY_NODE_ID_PC_WORKSTATIONS)], // Child
56
-                [$this->equalTo(static::CATEGORY_NODE_ID_TABLETS)],         // Child
57
-                [$this->equalTo(static::CATEGORY_NODE_ID_ROOT)],            // Root (Demoshop)
56
+                [$this->equalTo(static::CATEGORY_NODE_ID_TABLETS)], // Child
57
+                [$this->equalTo(static::CATEGORY_NODE_ID_ROOT)], // Root (Demoshop)
58 58
                 [$this->equalTo(static::CATEGORY_NODE_ID_COMPUTER)]         // Self
59 59
             );
60 60
 
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $touchedIds = [];
75 75
         $expectedTouchedIds = [
76
-            static::CATEGORY_NODE_ID_CAMERAS_CAMCORDERS,    // parent
77
-            static::CATEGORY_NODE_ID_ROOT,                  // root
78
-            static::CATEGORY_NODE_ID_TABLETS,               // self
79
-            static::CATEGORY_NODE_ID_ROOT,                  // root
80
-            static::CATEGORY_NODE_ID_COMPUTER,              // parent
76
+            static::CATEGORY_NODE_ID_CAMERAS_CAMCORDERS, // parent
77
+            static::CATEGORY_NODE_ID_ROOT, // root
78
+            static::CATEGORY_NODE_ID_TABLETS, // self
79
+            static::CATEGORY_NODE_ID_ROOT, // root
80
+            static::CATEGORY_NODE_ID_COMPUTER, // parent
81 81
         ];
82 82
 
83 83
         $toucherMock = $this->createCategoryToucherMock(['touchCategoryNodeActive']);
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             ->expects($this->exactly(5))
86 86
             ->method('touchCategoryNodeActive')
87 87
             ->will($this->returnCallback(
88
-                function ($idTouched) use (&$touchedIds) {
88
+                function($idTouched) use (&$touchedIds) {
89 89
                     $touchedIds[] = $idTouched;
90 90
                 }
91 91
             ));
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/CustomerGroup/_support/Helper/CustomerGroupHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $customerGroupFacade = $this->getCustomerGroupFacade();
32 32
         $customerGroupTransfer = $customerGroupFacade->add($customerGroupTransfer);
33 33
 
34
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($customerGroupTransfer) {
34
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($customerGroupTransfer) {
35 35
             $this->cleanupCustomerGroup($customerGroupTransfer->getIdCustomerGroup());
36 36
         });
37 37
 
Please login to merge, or discard this patch.
Zed/CmsGui/Communication/Form/Constraint/UniqueGlossaryUrlValidatorTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     protected function createExecutionContextMock()
122 122
     {
123 123
         $executionContextMock = $this->getMockBuilder(ExecutionContextInterface::class)
124
-             ->getMock();
124
+                ->getMock();
125 125
 
126 126
         $executionContextMock->method('buildViolation')
127 127
             ->willReturn($this->createConstraintViolationBuilderMock());
@@ -134,8 +134,8 @@  discard block
 block discarded – undo
134 134
      */
135 135
     protected function createConstraintViolationBuilderMock()
136 136
     {
137
-         $constraintViolationBuilderMock = $this->getMockBuilder(ConstraintViolationBuilderInterface::class)
138
-             ->getMock();
137
+            $constraintViolationBuilderMock = $this->getMockBuilder(ConstraintViolationBuilderInterface::class)
138
+                ->getMock();
139 139
 
140 140
         $constraintViolationBuilderMock->method('atPath')->willReturnSelf();
141 141
 
Please login to merge, or discard this patch.
Zed/ProductOption/Business/OptionGroup/ProductOptionOrderSaverTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $salesOrderItemOptionEntityMock
36 36
             ->expects($this->exactly(2))
37 37
             ->method('save')
38
-            ->willReturnCallback(function () use ($salesOrderItemOptionEntityMock) {
38
+            ->willReturnCallback(function() use ($salesOrderItemOptionEntityMock) {
39 39
                 $salesOrderItemOptionEntityMock->setIdSalesOrderItemOption(1);
40 40
             });
41 41
 
Please login to merge, or discard this patch.
Zed/ProductOption/Business/OptionGroup/ProductOptionGroupSaverTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         );
49 49
 
50 50
         $optionGroupEntityMock = $this->createProductOptionGroupEntityMock();
51
-        $optionGroupEntityMock->method('save')->willReturnCallback(function () use ($optionGroupEntityMock) {
51
+        $optionGroupEntityMock->method('save')->willReturnCallback(function() use ($optionGroupEntityMock) {
52 52
             $optionGroupEntityMock->setIdProductOptionGroup(1);
53 53
         });
54 54
 
Please login to merge, or discard this patch.
Bundles/Cms/tests/SprykerTest/Zed/Cms/Business/CmsMocks.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,8 +135,8 @@  discard block
 block discarded – undo
135 135
     protected function createGlossaryKeyEntityMock()
136 136
     {
137 137
         return $this->getMockBuilder(SpyGlossaryKey::class)
138
-           ->setMethods(['save'])
139
-           ->getMock();
138
+            ->setMethods(['save'])
139
+            ->getMock();
140 140
     }
141 141
 
142 142
     /**
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     protected function createGlossaryFacadeMock()
156 156
     {
157 157
         return $this->getMockBuilder(CmsToGlossaryInterface::class)
158
-           ->getMock();
158
+            ->getMock();
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.