Passed
Push — master ( a9f76a...c7e826 )
by
unknown
50:44
created
Spryker/Zed/Gui/Communication/Plugin/Twig/FormRuntimeLoaderTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     protected function createFactoryRuntimeLoader(Environment $twig, ContainerInterface $container)
94 94
     {
95
-        $formRendererCallback = function () use ($twig, $container) {
95
+        $formRendererCallback = function() use ($twig, $container) {
96 96
             if ($container->has(static::SERVICE_FORM_CSRF_PROVIDER)) {
97 97
                 return $this->createFormRenderer($twig, $container->get(static::SERVICE_FORM_CSRF_PROVIDER));
98 98
             }
Please login to merge, or discard this patch.
src/Spryker/Zed/Currency/Communication/Plugin/Twig/CurrencyTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getCurrencySymbolFunction(): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::CURRENCY_SYMBOL_FUNCTION_NAME, function (?string $isoCode = null) {
49
+        return new TwigFunction(static::CURRENCY_SYMBOL_FUNCTION_NAME, function(?string $isoCode = null) {
50 50
             return $this->getCurrencySymbol($isoCode);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
Communication/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.
Communication/Plugin/ServiceProvider/TranslationServiceProvider.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
         $app[static::BC_FEATURE_FLAG_TWIG_TRANSLATOR] = true;
39 39
         $app['twig'] = $app->share(
40
-            $app->extend('twig', function (Environment $twig) use ($app) {
40
+            $app->extend('twig', function(Environment $twig) use ($app) {
41 41
                 if (!$app[static::BC_FEATURE_FLAG_TWIG_TRANSLATOR]) {
42 42
                     return $twig;
43 43
                 }
Please login to merge, or discard this patch.
Store/src/Spryker/Yves/Store/Plugin/Application/StoreApplicationPlugin.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
     protected function addStore(ContainerInterface $container): ContainerInterface
43 43
     {
44
-        $container->set(static::STORE, function () {
44
+        $container->set(static::STORE, function() {
45 45
             return $this->getStoreName();
46 46
         });
47 47
 
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.
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.