Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/PanelTwigPlugin.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 getZedPanelFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_PANEL, function (string $title, string $content, ?array $options = null, ?string $footer = null) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_PANEL, function(string $title, string $content, ?array $options = null, ?string $footer = null) use ($twig) {
50 50
             $defaultOptions = [
51 51
                 'class' => 'default',
52 52
                 'id' => false,
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/TabsTwigPlugin.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
      */
48 48
     protected function getTabsFunction(Environment $twig): TwigFunction
49 49
     {
50
-        return new TwigFunction(static::FUNCTION_NAME_TABS, function (Environment $twig, TabsViewTransfer $tabsViewTransfer, array $context = []) {
50
+        return new TwigFunction(static::FUNCTION_NAME_TABS, function(Environment $twig, TabsViewTransfer $tabsViewTransfer, array $context = []) {
51 51
             $context['tabsViewTransfer'] = $tabsViewTransfer;
52 52
 
53 53
             return $twig->render($this->getConfig()->getTabsDefaultTemplatePath(), $context);
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/UrlDecodeTwigPlugin.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
     protected function getUrlDecodeFunction(): TwigFunction
47 47
     {
48
-        return new TwigFunction(static::FUNCTION_NAME_URL_DECODE, function (string $url) {
48
+        return new TwigFunction(static::FUNCTION_NAME_URL_DECODE, function(string $url) {
49 49
             return urldecode($url);
50 50
         }, ['is_safe' => ['html']]);
51 51
     }
Please login to merge, or discard this patch.
Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/ButtonGroupTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     protected function getButtonGroupFunction(): TwigFunction
46 46
     {
47
-        return new TwigFunction(static::FUNCTION_NAME_GROUP_ACTION_BUTTONS, function (array $buttons, string $title, array $options = []) {
47
+        return new TwigFunction(static::FUNCTION_NAME_GROUP_ACTION_BUTTONS, function(array $buttons, string $title, array $options = []) {
48 48
             if (!array_key_exists(ButtonGroupUrlGenerator::ICON, $options)) {
49 49
                 $options[ButtonGroupUrlGenerator::ICON] = $this->getDefaultIcon();
50 50
             }
Please login to merge, or discard this patch.
Zed/Gui/Communication/Plugin/Twig/Buttons/Form/SubmitButtonTwigPlugin.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 getZedSubmitButtonFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_SUBMIT_BUTTON, function (string $value, array $attr = []) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_SUBMIT_BUTTON, function(string $value, array $attr = []) use ($twig) {
50 50
             return $twig->render(
51 51
                 $this->getConfig()->getSubmitButtonDefaultTemplatePath(),
52 52
                 [
Please login to merge, or discard this patch.
Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/AbstractButtonTwig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     protected function getButtonGroupFunction(): TwigFunction
63 63
     {
64
-        return new TwigFunction($this->getFunctionName(), function ($url, $title, $options = []) {
64
+        return new TwigFunction($this->getFunctionName(), function($url, $title, $options = []) {
65 65
             if (!array_key_exists(ButtonUrlGenerator::ICON, $options)) {
66 66
                 $options[ButtonUrlGenerator::ICON] = $this->getIcon();
67 67
             }
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/FormTypeExtensionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Application $app)
27 27
     {
28
-        $app['form.type.extensions'] = $app->share(function () {
28
+        $app['form.type.extensions'] = $app->share(function() {
29 29
             return [
30 30
                 new NoValidateTypeExtension(),
31 31
             ];
Please login to merge, or discard this patch.
Bundles/CmsBlock/src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function activateById(int $idCmsBlock): void
99 99
     {
100
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
100
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
101 101
             $this->updateIsActiveByIdTransaction($idCmsBlock, true);
102 102
             $this->touchFacade->touchActive(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
103 103
         });
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function deactivateById(int $idCmsBlock): void
112 112
     {
113
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
113
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
114 114
             $this->updateIsActiveByIdTransaction($idCmsBlock, false);
115 115
             $this->touchFacade->touchDeleted(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
116 116
         });
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             );
138 138
         }
139 139
 
140
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer, $spyCmsBlock) {
140
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer, $spyCmsBlock) {
141 141
             $this->updateCmsBlockTransaction($cmsBlockTransfer, $spyCmsBlock);
142 142
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
143 143
         });
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             $cmsBlockTransfer->setKey($this->cmsBlockKeyProvider->generateKey());
159 159
         }
160 160
 
161
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
161
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
162 162
             $this->createCmsBlockTransaction($cmsBlockTransfer);
163 163
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
164 164
         });
Please login to merge, or discard this patch.
src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockStoreRelationMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     protected function selectIdStores(ArrayObject $storeTransferCollection): array
62 62
     {
63
-        return array_map(function (StoreTransfer $storeTransfer) {
63
+        return array_map(function(StoreTransfer $storeTransfer) {
64 64
             return $storeTransfer->getIdStore();
65 65
         }, $storeTransferCollection->getArrayCopy());
66 66
     }
Please login to merge, or discard this patch.