Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Zed/Shipment/Business/ShipmentMethod/ShipmentMethodStoreRelationUpdater.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.
src/Spryker/Zed/Shipment/Business/ShipmentMethod/ShipmentMethodUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function updateShipmentMethod(ShipmentMethodTransfer $shipmentMethodTransfer): bool
67 67
     {
68
-        return $this->getTransactionHandler()->handleTransaction(function () use ($shipmentMethodTransfer): bool {
68
+        return $this->getTransactionHandler()->handleTransaction(function() use ($shipmentMethodTransfer): bool {
69 69
             return $this->executeUpdateShipmentMethodTransaction($shipmentMethodTransfer);
70 70
         });
71 71
     }
Please login to merge, or discard this patch.
EventDispatcher/Plugin/Application/EventDispatcherApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return $this->extendExistingEventDispatcher($container);
41 41
         }
42 42
 
43
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
43
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
44 44
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
45 45
 
46 46
             $eventDispatcher = $this->extendEventDispatcher($eventDispatcher, $container);
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function extendExistingEventDispatcher(ContainerInterface $container): ContainerInterface
62 62
     {
63
-        $container->extend(static::SERVICE_DISPATCHER, function (SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
63
+        $container->extend(static::SERVICE_DISPATCHER, function(SymfonyEventDispatcherInterface $existingEventDispatcher, ContainerInterface $container) {
64 64
             $eventDispatcher = $this->getFactory()->createEventDispatcher();
65 65
 
66 66
             if ($existingEventDispatcher instanceof SymfonyTraceableEventDispatcher && $container->has(static::SERVICE_STOPWATCH)) {
Please login to merge, or discard this patch.
SprykerTest/Glue/EventDispatcher/_support/EventDispatcherGlueTester.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
         $eventDispatcher = new EventDispatcher();
49 49
         $traceableEventDispatcher = new TraceableEventDispatcher($eventDispatcher, new Stopwatch());
50 50
 
51
-        $container->set(static::SERVICE_DISPATCHER, function () use ($traceableEventDispatcher) {
51
+        $container->set(static::SERVICE_DISPATCHER, function() use ($traceableEventDispatcher) {
52 52
             return $traceableEventDispatcher;
53 53
         });
54 54
 
55
-        $container->set(static::SERVICE_STOPWATCH, function () {
55
+        $container->set(static::SERVICE_STOPWATCH, function() {
56 56
             return new Stopwatch();
57 57
         });
58 58
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         /** @var \Spryker\Shared\EventDispatcherExtension\Dependency\Plugin\EventDispatcherPluginInterface $eventDispatcherPluginMock */
68 68
         $eventDispatcherPluginMock = Stub::makeEmpty(EventDispatcherPluginInterface::class, [
69
-            'extend' => function (EventDispatcher $eventDispatcher) {
69
+            'extend' => function(EventDispatcher $eventDispatcher) {
70 70
                 $eventDispatcher->addListener('foo', 'bar');
71 71
 
72 72
                 return $eventDispatcher;
Please login to merge, or discard this patch.
EventDispatcher/Plugin/Application/EventDispatcherApplicationPluginTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         //Arrange
58 58
         $container = $this->createContainer();
59 59
         $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin();
60
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
60
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
61 61
             return new SymfonyEventDispatcher();
62 62
         });
63 63
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         //Arrange
78 78
         $container = $this->createContainer();
79 79
         $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin();
80
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
80
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
81 81
             $eventDispatcher = new SymfonyEventDispatcher();
82 82
 
83 83
             $eventDispatcher->addSubscriber($this->createDummyEventSubscriber());
Please login to merge, or discard this patch.
UtilDateTime/ServiceProvider/DateTimeFormatterServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     protected function getApplicationMock(): Application
48 48
     {
49 49
         $application = new Application();
50
-        $application['twig'] = function () {
50
+        $application['twig'] = function() {
51 51
             return new Environment(new FilesystemLoader());
52 52
         };
53 53
 
Please login to merge, or discard this patch.
Zed/MerchantProfile/Business/MerchantProfile/MerchantProfileWriter.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
     public function create(MerchantProfileTransfer $merchantProfileTransfer): MerchantProfileTransfer
78 78
     {
79
-        $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantProfileTransfer) {
79
+        $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantProfileTransfer) {
80 80
             return $this->executeCreateTransaction($merchantProfileTransfer);
81 81
         });
82 82
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function update(MerchantProfileTransfer $merchantProfileTransfer): MerchantProfileTransfer
94 94
     {
95
-        $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($merchantProfileTransfer) {
95
+        $merchantProfileTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($merchantProfileTransfer) {
96 96
             return $this->executeUpdateTransaction($merchantProfileTransfer);
97 97
         });
98 98
 
Please login to merge, or discard this patch.
ProductOfferStockDataImportDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     protected function addProductOfferFacade(Container $container): Container
40 40
     {
41
-        $container->set(static::FACADE_PRODUCT_OFFER, function (Container $container) {
41
+        $container->set(static::FACADE_PRODUCT_OFFER, function(Container $container) {
42 42
             return new ProductOfferStockDataImportToProductOfferFacadeBridge($container->getLocator()->productOffer()->facade());
43 43
         });
44 44
 
Please login to merge, or discard this patch.
Plugin/Event/Listener/ProductOfferStoragePublishListenerTest.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.