Completed
Push — master ( c209a2...8b3986 )
by
unknown
25s queued 10s
created
CmsBlockCategoryConnector/CmsBlockCategoryConnectorDependencyProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     protected function addLocaleFacade(Container $container)
71 71
     {
72
-        $container[static::FACADE_LOCALE] = function (Container $container) {
72
+        $container[static::FACADE_LOCALE] = function(Container $container) {
73 73
             return new CmsBlockCategoryConnectorToLocaleBridge($container->getLocator()->locale()->facade());
74 74
         };
75 75
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     protected function addTouchFacade(Container $container)
85 85
     {
86
-        $container[static::FACADE_TOUCH] = function (Container $container) {
86
+        $container[static::FACADE_TOUCH] = function(Container $container) {
87 87
             return new CmsBlockCategoryConnectorToTouchBridge($container->getLocator()->touch()->facade());
88 88
         };
89 89
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function addCategoryQueryContainer(Container $container)
99 99
     {
100
-        $container[static::QUERY_CONTAINER_CATEGORY] = function (Container $container) {
100
+        $container[static::QUERY_CONTAINER_CATEGORY] = function(Container $container) {
101 101
             return new CmsBlockCategoryConnectorToCategoryQueryContainerBridge($container->getLocator()->category()->queryContainer());
102 102
         };
103 103
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     protected function addCollectorFacade(Container $container)
113 113
     {
114
-        $container[static::FACADE_COLLECTOR] = function (Container $container) {
114
+        $container[static::FACADE_COLLECTOR] = function(Container $container) {
115 115
             return new CmsBlockCategoryConnectorToCollectorBridge($container->getLocator()->collector()->facade());
116 116
         };
117 117
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     protected function addDataReaderService(Container $container)
127 127
     {
128
-        $container[static::SERVICE_DATA_READER] = function (Container $container) {
128
+        $container[static::SERVICE_DATA_READER] = function(Container $container) {
129 129
             return $container->getLocator()->utilDataReader()->service();
130 130
         };
131 131
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     protected function addTouchQueryContainer(Container $container)
141 141
     {
142
-        $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) {
142
+        $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) {
143 143
             return $container->getLocator()->touch()->queryContainer();
144 144
         };
145 145
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     protected function addCmsBlockQueryContainer(Container $container)
155 155
     {
156
-        $container[static::QUERY_CONTAINER_CMS_BLOCK] = function (Container $container) {
156
+        $container[static::QUERY_CONTAINER_CMS_BLOCK] = function(Container $container) {
157 157
             return new CmsBlockCategoryConnectorToCmsBlockQueryContainerBridge($container->getLocator()->cmsBlock()->queryContainer());
158 158
         };
159 159
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     protected function addEncodeService(Container $container)
169 169
     {
170
-        $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) {
170
+        $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) {
171 171
             return $container->getLocator()->utilEncoding()->service();
172 172
         };
173 173
 
Please login to merge, or discard this patch.
src/Spryker/Zed/SalesProductConnector/Business/Model/ItemMetadataSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function saveItemsMetadata(QuoteTransfer $quoteTransfer)
52 52
     {
53
-        $this->handleDatabaseTransaction(function () use ($quoteTransfer) {
53
+        $this->handleDatabaseTransaction(function() use ($quoteTransfer) {
54 54
             foreach ($quoteTransfer->getItems() as $item) {
55 55
                 $this->saveItemMetadata($item);
56 56
             }
Please login to merge, or discard this patch.
Zed/SalesProductConnector/SalesProductConnectorDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function provideBusinessLayerDependencies(Container $container)
28 28
     {
29
-        $container[self::SERVICE_UTIL_ENCODING] = function (Container $container) {
29
+        $container[self::SERVICE_UTIL_ENCODING] = function(Container $container) {
30 30
             return new SalesProductConnectorToUtilEncodingBridge($container->getLocator()->utilEncoding()->service());
31 31
         };
32 32
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function providePersistenceLayerDependencies(Container $container)
42 42
     {
43
-        $container[self::QUERY_CONTAINER_PRODUCT] = function (Container $container) {
43
+        $container[self::QUERY_CONTAINER_PRODUCT] = function(Container $container) {
44 44
             return new ProductToSalesProductConnectorQueryContainerBridge($container->getLocator()->product()->queryContainer());
45 45
         };
46 46
 
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.
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.