Failed Conditions
Branch master (6be865)
by Anton
53:12
created
src/Spryker/Glue/ShipmentsRestApi/Processor/Sorter/ShipmentMethodSorter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             return $restShipmentMethodAttributeTransfers;
33 33
         }
34 34
 
35
-        $callback = function (
35
+        $callback = function(
36 36
             RestShipmentMethodsAttributesTransfer $currentRestShipmentMethodAttributeTransfer,
37 37
             RestShipmentMethodsAttributesTransfer $nextRestShipmentMethodAttributeTransfer
38 38
         ) use (
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function filterSortsByResource(array $sorts, string $resource): array
92 92
     {
93
-        return array_filter($sorts, function (SortInterface $sort) use ($resource) {
93
+        return array_filter($sorts, function(SortInterface $sort) use ($resource) {
94 94
             return $this->getSortResourceName($sort) === $resource;
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/SetupFrontend/Communication/Console/Npm/RunnerConsole.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
         $this->info('Run command: ' . $command);
124 124
         $process = new Process(explode(' ', $command), APPLICATION_ROOT_DIR);
125 125
         $process->setTimeout(null);
126
-        $process->run(function ($type, $buffer) {
126
+        $process->run(function($type, $buffer) {
127 127
             echo $buffer;
128 128
         });
129 129
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
 Example:
95 95
  - code:npm --build-all  will build the client resources for the core, the project Zed and the project Yves code
96
-EOM;
96
+eom;
97 97
         $this->setHelp($help);
98 98
 
99 99
         $this->addOption(
Please login to merge, or discard this patch.
Business/Analyzer/ResourceRelationshipsPluginAnnotationAnalyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             $matchesTrimmed[] = trim($item);
122 122
         }
123 123
 
124
-        $matchesFiltered = array_filter($matchesTrimmed, function ($match) {
124
+        $matchesFiltered = array_filter($matchesTrimmed, function($match) {
125 125
             return (bool)strlen($match);
126 126
         });
127 127
         if (!$matchesFiltered) {
Please login to merge, or discard this patch.
Zed/ProductRelationGui/Communication/Form/ProductRelationFormType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
         $resolver->setDefaults([
76 76
             'validation_groups' => new GroupSequence([
77
-               static::GROUP_DEFAULT,
77
+                static::GROUP_DEFAULT,
78 78
                 static::GROUP_AFTER,
79 79
             ]),
80 80
             'constraints' => [
Please login to merge, or discard this patch.
ProductRelationStorage/Business/Facade/ProductRelationStorageFacadeTest.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.
Communication/Plugin/Event/Listener/ProductRelationStorageListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         parent::setUp();
78 78
         $this->tester->ensureProductRelationTableIsEmpty();
79 79
 
80
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
80
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
81 81
             return [
82 82
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
83 83
             ];
Please login to merge, or discard this patch.
Zed/ProductRelation/Business/Relation/Creator/ProductRelationCreator.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
         $productRelationTransfer->requireProductRelationType()
70 70
             ->requireProductRelationKey();
71 71
 
72
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productRelationTransfer) {
72
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productRelationTransfer) {
73 73
             return $this->executeCreateProductRelationTransaction($productRelationTransfer);
74 74
         });
75 75
     }
Please login to merge, or discard this patch.
Zed/ProductRelation/Business/Relation/Deleter/ProductRelationDeleter.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
     public function deleteProductRelation(int $idProductRelation): ProductRelationResponseTransfer
61 61
     {
62
-        return $this->getTransactionHandler()->handleTransaction(function () use ($idProductRelation) {
62
+        return $this->getTransactionHandler()->handleTransaction(function() use ($idProductRelation) {
63 63
             return $this->executeDeleteProductRelationTransaction($idProductRelation);
64 64
         });
65 65
     }
Please login to merge, or discard this patch.
Business/Relation/Updater/ProductRelationStoreRelationUpdater.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
      */
46 46
     public function update(StoreRelationTransfer $storeRelationTransfer): void
47 47
     {
48
-        $this->getTransactionHandler()->handleTransaction(function () use ($storeRelationTransfer) {
48
+        $this->getTransactionHandler()->handleTransaction(function() use ($storeRelationTransfer) {
49 49
             $this->executeUpdateStoreRelationTransaction($storeRelationTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.