Failed Conditions
Push — master ( 999028...ace778 )
by
unknown
37:54
created
Dataset/src/Spryker/Zed/Dataset/Persistence/DatasetEntityManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function updateIsActiveDataset(DatasetTransfer $datasetTransfer): void
36 36
     {
37
-        $this->handleDatabaseTransaction(function () use ($datasetTransfer): void {
37
+        $this->handleDatabaseTransaction(function() use ($datasetTransfer): void {
38 38
             $datasetEntity = $this->findDatasetById($datasetTransfer->requireIdDataset()->getIdDataset());
39 39
             $datasetEntity->setIsActive($datasetTransfer->requireIsActive()->getIsActive());
40 40
             $datasetEntity->save();
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function delete(DatasetTransfer $datasetTransfer): void
50 50
     {
51
-        $this->handleDatabaseTransaction(function () use ($datasetTransfer): void {
51
+        $this->handleDatabaseTransaction(function() use ($datasetTransfer): void {
52 52
             $datasetEntity = $this->findDatasetById($datasetTransfer->requireIdDataset()->getIdDataset());
53 53
             $datasetEntity->delete();
54 54
         });
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function saveDataset(DatasetTransfer $datasetTransfer): void
63 63
     {
64
-        $this->handleDatabaseTransaction(function () use ($datasetTransfer): void {
64
+        $this->handleDatabaseTransaction(function() use ($datasetTransfer): void {
65 65
             if ($this->checkDatasetExists($datasetTransfer)) {
66 66
                 $this->update($datasetTransfer);
67 67
             } else {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     protected function create(DatasetTransfer $datasetTransfer): void
91 91
     {
92
-        $this->handleDatabaseTransaction(function () use ($datasetTransfer): void {
92
+        $this->handleDatabaseTransaction(function() use ($datasetTransfer): void {
93 93
             $datasetEntity = new SpyDataset();
94 94
             $datasetEntity->fromArray($datasetTransfer->toArray());
95 95
             $datasetEntity->save();
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     protected function updateDataset(SpyDataset $datasetEntity, DatasetTransfer $datasetTransfer): void
109 109
     {
110
-        $this->handleDatabaseTransaction(function () use ($datasetEntity, $datasetTransfer): void {
110
+        $this->handleDatabaseTransaction(function() use ($datasetEntity, $datasetTransfer): void {
111 111
             $datasetEntity->fromArray($datasetTransfer->toArray());
112 112
             if ($datasetTransfer->getDatasetRowColumnValues()->count()) {
113 113
                 $this->removeDatasetRowColumnValues($datasetEntity);
Please login to merge, or discard this patch.
Business/Installer/ProductAlternativeProductLabelConnectorInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
Business/Installer/ProductDiscontinuedProductLabelConnectorInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
ProductDiscontinuedProductLabelConnectorToProductLabelFacadeInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 
12 12
 interface ProductDiscontinuedProductLabelConnectorToProductLabelFacadeInterface
13 13
 {
14
-   /**
15
-    * @param \Generated\Shared\Transfer\ProductLabelTransfer $productLabelTransfer
16
-    *
17
-    * @return void
18
-    */
14
+    /**
15
+     * @param \Generated\Shared\Transfer\ProductLabelTransfer $productLabelTransfer
16
+     *
17
+     * @return void
18
+     */
19 19
     public function createLabel(ProductLabelTransfer $productLabelTransfer);
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
SprykerTest/Glue/GlueApplication/Rest/Response/ResponseFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
     protected function prepareEncoderMocks(): EncoderMatcherInterface
146 146
     {
147 147
         $encoderMock = $this->createEncoderMock();
148
-        $encoderMock->method('encode')->willReturnCallback(function (array $data) {
148
+        $encoderMock->method('encode')->willReturnCallback(function(array $data) {
149 149
             return json_encode($data);
150 150
         });
151 151
 
Please login to merge, or discard this patch.
SprykerTest/Glue/GlueApplication/Rest/Response/ResponseHeadersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $formatResponseHeaderPlugin->method('format')
42 42
             ->willReturnCallback(
43
-                function (
43
+                function(
44 44
                     Response $httpResponse,
45 45
                     RestResponseInterface $restResponse,
46 46
                     RestRequestInterface $restRequest
Please login to merge, or discard this patch.
Spryker/Glue/GlueApplication/Plugin/Rest/GlueControllerListenerPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         [$controller, $action] = $currentController;
31 31
 
32 32
         $request = $event->getRequest();
33
-        $apiController = function () use ($controller, $action, $request) {
33
+        $apiController = function() use ($controller, $action, $request) {
34 34
             return $this->filter($controller, $action, $request);
35 35
         };
36 36
 
Please login to merge, or discard this patch.
Plugin/Rest/ServiceProvider/GlueApplicationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     protected function setControllerResolver()
61 61
     {
62
-        $this->application['resolver'] = $this->application->share(function () {
62
+        $this->application['resolver'] = $this->application->share(function() {
63 63
             return new GlueFragmentControllerResolver($this->application);
64 64
         });
65 65
     }
Please login to merge, or discard this patch.
Zed/ProductAlternativeGui/Communication/Form/AddProductAlternativeForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     protected function getProductAlternativeSearchPreSubmitCallback(): callable
64 64
     {
65
-        return function (FormEvent $e) {
65
+        return function(FormEvent $e) {
66 66
             $data = $e->getData();
67 67
             $form = $e->getForm();
68 68
             if (empty($data[static::FIELD_PRODUCT_ALTERNATIVE])) {
Please login to merge, or discard this patch.