Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             return;
77 77
         }
78 78
 
79
-        $quoteSkus = array_map(function (ItemTransfer $itemTransfer) {
79
+        $quoteSkus = array_map(function(ItemTransfer $itemTransfer) {
80 80
             return $itemTransfer->getSku();
81 81
         }, $quoteTransfer->getItems()->getArrayCopy());
82 82
 
Please login to merge, or discard this patch.
ProductListRestrictionValidator/ProductListRestrictionValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $customerBlacklistIds = $customerProductListCollectionTransfer->getBlacklistIds() ?: [];
54 54
         $customerWhitelistIds = $customerProductListCollectionTransfer->getWhitelistIds() ?: [];
55
-        $cartChangeSkus = array_map(function (ItemTransfer $itemTransfer) {
55
+        $cartChangeSkus = array_map(function(ItemTransfer $itemTransfer) {
56 56
             return $itemTransfer->getSku();
57 57
         }, $cartChangeTransfer->getItems()->getArrayCopy());
58 58
 
Please login to merge, or discard this patch.
Zed/PriceProductMerchantRelationshipStorage/Business/Model/PriceGrouper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     protected function filterPriceData(array $priceData, string $excludeKey): array
68 68
     {
69
-        $priceData = array_filter($priceData, function ($v, $k) use ($excludeKey) {
69
+        $priceData = array_filter($priceData, function($v, $k) use ($excludeKey) {
70 70
             if ($k === $excludeKey) {
71 71
                 return true;
72 72
             }
Please login to merge, or discard this patch.
Communication/Plugin/Event/Listener/GlossaryStorageListenerTest.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.
DocumentationGeneratorRestApi/Business/Analyzer/ResourcePluginAnalyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
     protected function getResourceIdFromResourceType(string $resourceType): string
238 238
     {
239 239
         $resourceTypeExploded = explode('-', $resourceType);
240
-        $resourceTypeCamelCased = array_map(function ($value) {
240
+        $resourceTypeCamelCased = array_map(function($value) {
241 241
             return ucfirst($this->textInflector->singularize($value));
242 242
         }, $resourceTypeExploded);
243 243
 
Please login to merge, or discard this patch.
Communication/Form/LocalizedMessagesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             ->add(static::FIELD_MESSAGE, TextType::class, [
50 50
                 'required' => false,
51 51
                 'constraints' => [
52
-                    new Callback(function ($value, ExecutionContextInterface $context) {
52
+                    new Callback(function($value, ExecutionContextInterface $context) {
53 53
                         /** @var \Symfony\Component\Form\Form $form */
54 54
                         $form = $context->getObject();
55 55
                         $parentThresholdGroupForm = $form->getParent()->getParent();
Please login to merge, or discard this patch.
Zed/SalesOrderThresholdGui/Communication/Form/LocalizedMessagesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $builder->add(static::FIELD_MESSAGE, TextType::class, [
46 46
             'required' => false,
47 47
             'constraints' => [
48
-                new Callback(function ($value, ExecutionContextInterface $context) {
48
+                new Callback(function($value, ExecutionContextInterface $context) {
49 49
                     /** @var \Symfony\Component\Form\Form $form */
50 50
                     $form = $context->getObject();
51 51
                     $parentThresholdGroupForm = $form->getParent()->getParent();
Please login to merge, or discard this patch.
src/Spryker/Client/QuickOrder/Product/ProductConcreteResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function getProductsByQuickOrder(QuickOrderTransfer $quickOrderTransfer): array
43 43
     {
44
-        $skus = array_map(function (QuickOrderItemTransfer $quickOrderItemTransfer) {
44
+        $skus = array_map(function(QuickOrderItemTransfer $quickOrderItemTransfer) {
45 45
             return $quickOrderItemTransfer->getSku();
46 46
         }, $quickOrderTransfer->getItems()->getArrayCopy());
47 47
 
Please login to merge, or discard this patch.
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.