Failed Conditions
Branch master (6be865)
by Anton
53:12
created
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.
Communication/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.
Glue/Kernel/Plugin/EventDispatcher/AutoloaderCacheEventDispatcherPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function extend(EventDispatcherInterface $eventDispatcher, ContainerInterface $container): EventDispatcherInterface
31 31
     {
32
-        $eventDispatcher->addListener(KernelEvents::TERMINATE, function () {
32
+        $eventDispatcher->addListener(KernelEvents::TERMINATE, function() {
33 33
             $this->persistClassResolverCache();
34 34
         });
35 35
 
Please login to merge, or discard this patch.
src/Spryker/Glue/EventDispatcher/EventDispatcherDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function addEventDispatcherPlugins(Container $container): Container
36 36
     {
37
-        $container->set(static::PLUGINS_EVENT_DISPATCHER, function (Container $container) {
37
+        $container->set(static::PLUGINS_EVENT_DISPATCHER, function(Container $container) {
38 38
             return $this->getEventDispatcherPlugins();
39 39
         });
40 40
 
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ModalTwigPlugin.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 getZedModalFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_MODAL, function (string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_MODAL, function(string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
50 50
             return $twig->render(
51 51
                 $this->getConfig()->getDefaultModalTemplatePath(),
52 52
                 [
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ListGroupTwigPlugin.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 getZedListGroupFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function (array $items) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function(array $items) use ($twig) {
50 50
             if (is_array(array_values($items)[0])) {
51 51
                 return $twig->render(
52 52
                     $this->getConfig()->getDefaultMultiListGroupTemplatePath(),
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/AssetsPathTwigPlugin.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 getZedAssetsPathFunction(): TwigFunction
46 46
     {
47
-        return new TwigFunction(static::FUNCTION_NAME_ASSETS_PATH, function (string $path) {
47
+        return new TwigFunction(static::FUNCTION_NAME_ASSETS_PATH, function(string $path) {
48 48
             return $this->getZedAssetsPathByName($path);
49 49
         }, ['is_safe' => ['html']]);
50 50
     }
Please login to merge, or discard this patch.
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.