Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
Form/CompanyUserRoleByCompany/CompanyUserRoleByCompanyForm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $companyRoleCollectionConstraints = [];
102 102
 
103 103
         $companyRoleCollectionConstraints[] = new Callback([
104
-            'callback' => function (CompanyRoleCollectionTransfer $companyRoleCollectionTransfer, ExecutionContextInterface $context) {
104
+            'callback' => function(CompanyRoleCollectionTransfer $companyRoleCollectionTransfer, ExecutionContextInterface $context) {
105 105
                 if (!$companyRoleCollectionTransfer->getRoles()->count()) {
106 106
                     $context->addViolation('At least one role must be assigned to a user.');
107 107
                 }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     protected function getInputDataCallbackRoleCollectionTransformer(): Closure
118 118
     {
119
-        return function ($roleCollection = []): array {
119
+        return function($roleCollection = []): array {
120 120
             $roles = [];
121 121
 
122 122
             if (empty($roleCollection[CompanyRoleCollectionTransfer::ROLES])) {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     protected function getOutputDataCallbackRoleCollectionTransformer(): Closure
138 138
     {
139
-        return function ($submittedRoleCollection = []): CompanyRoleCollectionTransfer {
139
+        return function($submittedRoleCollection = []): CompanyRoleCollectionTransfer {
140 140
             $companyRoleCollectionTransfer = new CompanyRoleCollectionTransfer();
141 141
 
142 142
             foreach ($submittedRoleCollection as $role) {
Please login to merge, or discard this patch.
Application/tests/SprykerTest/Shared/Application/ApplicationTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
              */
112 112
             public function provide(ContainerInterface $container): ContainerInterface
113 113
             {
114
-                $container->set(ApplicationTest::SERVICE, function () {
114
+                $container->set(ApplicationTest::SERVICE, function() {
115 115
                     return [ApplicationTest::SERVICE_PROPERTY => true];
116 116
                 });
117 117
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             public function boot(ContainerInterface $container): ContainerInterface
151 151
             {
152 152
                 $this->runs++;
153
-                $container->set(ApplicationTest::SERVICE, function () {
153
+                $container->set(ApplicationTest::SERVICE, function() {
154 154
                     return [ApplicationTest::SERVICE_PROPERTY => true];
155 155
                 });
156 156
 
Please login to merge, or discard this patch.
Quote/src/Spryker/Zed/Quote/Business/GuestQuote/GuestQuoteDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             $quoteCollectionTransfer = $this->findExpiredGuestQuotes();
70 70
 
71 71
             foreach ($quoteCollectionTransfer->getQuotes() as $quoteTransfer) {
72
-                $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
72
+                $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
73 73
                     $this->executeDeleteTransaction($quoteTransfer);
74 74
                 });
75 75
             }
Please login to merge, or discard this patch.
Communication/Plugin/Event/Listener/CategoryImageStorageListenerTest.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
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/CategoryImage/Business/CategoryImageFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
      */
232 232
     protected function getIdCategoryImageSetCollection(array $categoryImageSetCollection): array
233 233
     {
234
-        return array_map(function (CategoryImageSetTransfer $categoryImageSetTransfer) {
234
+        return array_map(function(CategoryImageSetTransfer $categoryImageSetTransfer) {
235 235
             return $categoryImageSetTransfer->getIdCategoryImageSet();
236 236
         }, $categoryImageSetCollection);
237 237
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function createCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): ArrayObject
38 38
     {
39
-        return $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) {
39
+        return $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) {
40 40
             return $this->executeCreateCategoryImageSetsForCategoryTransaction($categoryTransfer);
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetDeleter.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 deleteCategoryImageSetsByIdCategory(int $idCategory): void
45 45
     {
46
-        $this->getTransactionHandler()->handleTransaction(function () use ($idCategory) {
46
+        $this->getTransactionHandler()->handleTransaction(function() use ($idCategory) {
47 47
             $this->executeDeleteCategoryImageSetsByIdCategoryTransaction($idCategory);
48 48
         });
49 49
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function updateCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): void
48 48
     {
49
-        $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) {
49
+        $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) {
50 50
             $this->executeUpdateCategoryImageSetsForCategoryTransaction($categoryTransfer);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/SalesReclamation/Business/Reclamation/ReclamationReader.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@
 block discarded – undo
43 43
      * @param \Generated\Shared\Transfer\ReclamationTransfer $reclamationTransfer
44 44
      *
45 45
      * @throws \Spryker\Zed\SalesReclamation\Business\Exception\ReclamationNotFoundException
46
-
47 46
      * @return \Generated\Shared\Transfer\ReclamationTransfer
48 47
      */
49 48
     public function getReclamationById(ReclamationTransfer $reclamationTransfer): ReclamationTransfer
Please login to merge, or discard this patch.