Failed Conditions
Branch master (6be865)
by Anton
53:12
created
src/Spryker/Yves/EventDispatcher/EventDispatcherDependencyProvider.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
     protected function addEventDispatcherPlugins(Container $container): Container
38 38
     {
39
-        $container->set(static::PLUGINS_EVENT_DISPATCHER_PLUGINS, function (Container $container) {
39
+        $container->set(static::PLUGINS_EVENT_DISPATCHER_PLUGINS, function(Container $container) {
40 40
             return $this->getEventDispatcherPlugins();
41 41
         });
42 42
 
Please login to merge, or discard this patch.
Plugin/Event/Listener/CompanyUserStoragePublishListenerTest.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.
Plugin/Event/Listener/CompanyUserCompanyStoragePublishListenerTest.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.
Plugin/Event/Listener/CompanyUserStorageUnpublishListenerTest.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.
Development/Business/IdeAutoCompletion/Generator/BundleGeneratorTest.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
         $twigEnvironmentMock
53 53
             ->expects($this->once())
54 54
             ->method('render')
55
-            ->willReturnCallback(function ($templateName, $templateVariables) {
55
+            ->willReturnCallback(function($templateName, $templateVariables) {
56 56
                 $this->assertArrayHasKey('namespace', $templateVariables);
57 57
                 $this->assertSame('Generated\FooApplication\Ide', $templateVariables['namespace']);
58 58
 
Please login to merge, or discard this patch.
Business/ProductDiscontinued/ProductDiscontinuedWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             return (new ProductDiscontinuedResponseTransfer())->setIsSuccessful(false);
79 79
         }
80 80
 
81
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productDiscontinueRequestTransfer) {
81
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productDiscontinueRequestTransfer) {
82 82
             return $this->executeCreateTransaction($productDiscontinueRequestTransfer);
83 83
         });
84 84
     }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             return $productDiscontinuedResponseTransfer;
104 104
         }
105 105
 
106
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productDiscontinuedTransfer) {
106
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productDiscontinuedTransfer) {
107 107
             return $this->executeDeleteTransaction($productDiscontinuedTransfer);
108 108
         });
109 109
     }
Please login to merge, or discard this patch.
Zed/ContentProductGui/Communication/Table/ProductAbstractSelectedTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
         $this->defaultUrl = Url::generate(static::TABLE_IDENTIFIER, $parameters)->build();
99 99
         $this->tableClass = static::TABLE_CLASS;
100 100
         $identifierSuffix = !$this->identifierSuffix ?
101
-            static::TABLE_IDENTIFIER :
102
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
101
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
103 102
         $this->setTableIdentifier($identifierSuffix);
104 103
 
105 104
         $this->disableSearch();
Please login to merge, or discard this patch.
Zed/ContentProductGui/Communication/Table/ProductAbstractViewTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
         $this->tableClass = static::TABLE_CLASS;
85 85
 
86 86
         $identifierSuffix = !$this->identifierSuffix ?
87
-            static::TABLE_IDENTIFIER :
88
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
87
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
89 88
         $this->setTableIdentifier($identifierSuffix);
90 89
 
91 90
         $config->setHeader([
Please login to merge, or discard this patch.
_support/ProductBundleProductListConnectorBusinessTester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $container = new Container();
81 81
         $dependencyProvider = new ProductBundleProductListConnectorDependencyProvider();
82 82
         $dependencyProvider->provideBusinessLayerDependencies($container);
83
-        $container[ProductBundleProductListConnectorDependencyProvider::FACADE_PRODUCT_BUNDLE] = function (Container $container) use ($productBundleProductListConnectorToProductBundleFacadeBridgeMock) {
83
+        $container[ProductBundleProductListConnectorDependencyProvider::FACADE_PRODUCT_BUNDLE] = function(Container $container) use ($productBundleProductListConnectorToProductBundleFacadeBridgeMock) {
84 84
             return $productBundleProductListConnectorToProductBundleFacadeBridgeMock;
85 85
         };
86 86
 
Please login to merge, or discard this patch.