Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
Yves/ProductGroup/Plugin/Provider/ProductGroupTwigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $twigExtension = $this->getFactory()->createProductGroupTwigExtension();
28 28
 
29 29
         $app['twig'] = $app->share(
30
-            $app->extend('twig', function (Environment $twig) use ($twigExtension) {
30
+            $app->extend('twig', function(Environment $twig) use ($twigExtension) {
31 31
                 $twig->addExtension($twigExtension);
32 32
 
33 33
                 return $twig;
Please login to merge, or discard this patch.
Yves/ProductLabel/Plugin/Provider/ProductLabelTwigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $app['twig'] = $app->share(
33 33
             $app->extend(
34 34
                 'twig',
35
-                function (Environment $twig) use ($twigExtension) {
35
+                function(Environment $twig) use ($twigExtension) {
36 36
                     $twig->addExtension($twigExtension);
37 37
 
38 38
                     return $twig;
Please login to merge, or discard this patch.
Money/Communication/Plugin/ServiceProvider/TwigMoneyServiceProviderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $moneyServiceProvider = new TwigMoneyServiceProvider();
37 37
         $application = new Application();
38
-        $application['twig'] = function () {
38
+        $application['twig'] = function() {
39 39
             return new Environment(new FilesystemLoader());
40 40
         };
41 41
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $moneyServiceProvider = new TwigMoneyServiceProvider();
68 68
         $application = new Application();
69
-        $application['twig'] = function () {
69
+        $application['twig'] = function() {
70 70
             return new Environment(new FilesystemLoader());
71 71
         };
72 72
         $moneyServiceProvider->register($application);
Please login to merge, or discard this patch.
GlueApplication/Plugin/Rest/ServiceProvider/GlueRoutingServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function register(Application $app)
27 27
     {
28
-        $app['url_matcher'] = $app->share(function () use ($app) {
28
+        $app['url_matcher'] = $app->share(function() use ($app) {
29 29
             /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */
30 30
             $chainRouter = $app['routers'];
31 31
             $chainRouter->setContext($app['request_context']);
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             return $chainRouter;
34 34
         });
35 35
 
36
-        $app['routers'] = $app->share(function () {
36
+        $app['routers'] = $app->share(function() {
37 37
             return new ChainRouter();
38 38
         });
39 39
 
Please login to merge, or discard this patch.
Money/src/Spryker/Zed/Money/Communication/Plugin/Twig/MoneyTwigPlugin.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
     {
79 79
         $moneyFacade = $this->getFacade();
80 80
 
81
-        $filter = new TwigFilter(static::FILTER_NAME_MONEY, function ($money, bool $withSymbol = true, ?string $isoCode = null) use ($moneyFacade) {
81
+        $filter = new TwigFilter(static::FILTER_NAME_MONEY, function($money, bool $withSymbol = true, ?string $isoCode = null) use ($moneyFacade) {
82 82
             if (!$money instanceof MoneyTransfer) {
83 83
                 $money = $this->getMoneyTransferByValueType($money, $moneyFacade, $isoCode);
84 84
             }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
         return new TwigFunction(
132 132
             static::FUNCTION_NAME_MONEY_COLLECTION,
133
-            function ($moneyValueFormViewCollection) use ($twig) {
133
+            function($moneyValueFormViewCollection) use ($twig) {
134 134
                 return $twig->render(
135 135
                     $this->getConfig()->getMoneyTableTemplatePath(),
136 136
                     [
Please login to merge, or discard this patch.
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.