Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Plugin/ServiceProvider/AssertUrlConfigurationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function boot(Application $app)
39 39
     {
40
-        $app->before(function (Request $request) {
40
+        $app->before(function(Request $request) {
41 41
             $this->assertMatchingHostName($request);
42 42
         }, Application::EARLY_EVENT);
43 43
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/DummyPayment/Communication/Form/InvoiceSubForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     protected function createBirthdayConstraint()
92 92
     {
93 93
         return new Callback([
94
-            'callback' => function ($date, ExecutionContextInterface $context) {
94
+            'callback' => function($date, ExecutionContextInterface $context) {
95 95
                 if (strtotime($date) > strtotime(static::MIN_BIRTHDAY_DATE_STRING)) {
96 96
                     $context->addViolation('Must be older than 18 years');
97 97
                 }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryDataImport/Business/Model/CategoryWriterStep.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
                 $this->addPublishEvents(CategoryEvents::CATEGORY_TREE_PUBLISH, $categoryNodeEntity->getIdCategoryNode());
162 162
             }
163 163
 
164
-            $convertCallback = function ($value) {
164
+            $convertCallback = function($value) {
165 165
                 return mb_strtolower(str_replace(' ', '-', $value));
166 166
             };
167 167
             $urlPathParts = array_map($convertCallback, $urlPathParts);
Please login to merge, or discard this patch.
Spryker/Zed/CompanySupplierGui/Communication/Form/CompanySupplierForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $builder->get(ProductConcreteTransfer::COMPANY_SUPPLIERS)->addModelTransformer(
78 78
             new CallbackTransformer(
79
-                function ($suppliers) {
79
+                function($suppliers) {
80 80
                     if (empty($suppliers)) {
81 81
                         return $suppliers;
82 82
                     }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
                     return $result;
90 90
                 },
91
-                function ($data) {
91
+                function($data) {
92 92
                     $suppliers = [];
93 93
                     foreach ($data as $id) {
94 94
                         $suppliers[] = (new SpyCompanyEntityTransfer())
Please login to merge, or discard this patch.
Communication/Form/CompanyBusinessUnitAddressChoiceFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $builder->get(CompanyBusinessUnitTransfer::ADDRESS_COLLECTION)->addModelTransformer(
79 79
             new CallbackTransformer(
80
-                function ($addresses) {
80
+                function($addresses) {
81 81
                     if (empty($addresses)) {
82 82
                         return $addresses;
83 83
                     }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
                     return $result;
90 90
                 },
91
-                function ($data) {
91
+                function($data) {
92 92
                     $labels = [];
93 93
                     foreach ($data as $id) {
94 94
                         $labels[] = (new SpyCompanyUnitAddressEntityTransfer())
Please login to merge, or discard this patch.
Spryker/Zed/SharedCart/Business/Installer/QuotePermissionGroupInstaller.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.
src/Spryker/Zed/Development/Business/CodeBuilder/Bridge/BridgeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -560,7 +560,7 @@
 block discarded – undo
560 560
 
561 561
         $useStatements = array_keys($useStatements);
562 562
         sort($useStatements);
563
-        $useStatements = array_reduce($useStatements, function ($prevUseStatement, $useStatement) {
563
+        $useStatements = array_reduce($useStatements, function($prevUseStatement, $useStatement) {
564 564
             return $prevUseStatement . PHP_EOL . 'use ' . $useStatement . ';';
565 565
         }, '');
566 566
 
Please login to merge, or discard this patch.
Zed/ShoppingList/Business/Installer/ShoppingListPermissionInstaller.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.
OfferGui/src/Spryker/Zed/OfferGui/Communication/Form/Item/ItemType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -405,12 +405,12 @@
 block discarded – undo
405 405
     protected function createMoneyModelTransformer()
406 406
     {
407 407
         return new CallbackTransformer(
408
-            function ($value) {
408
+            function($value) {
409 409
                 if ($value !== null) {
410 410
                     return $value / 100;
411 411
                 }
412 412
             },
413
-            function ($value) {
413
+            function($value) {
414 414
                 if ($value !== null) {
415 415
                     return $value * 100;
416 416
                 }
Please login to merge, or discard this patch.