Passed
Push — master ( a9f76a...c7e826 )
by
unknown
50:44
created
Zed/Money/Communication/Plugin/ServiceProvider/TwigMoneyServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     public function register(Application $app)
34 34
     {
35 35
         $app['twig'] = $app->share(
36
-            $app->extend('twig', function (Environment $twig) {
36
+            $app->extend('twig', function(Environment $twig) {
37 37
                 $twig->addFilter($this->getFilter());
38 38
                 $twig->addFunction($this->getMoneyFormTableFunction($twig));
39 39
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $moneyFacade = $this->getFacade();
60 60
 
61
-        $filter = new TwigFilter('money', function ($money, $withSymbol = true, $isoCode = null) use ($moneyFacade) {
61
+        $filter = new TwigFilter('money', function($money, $withSymbol = true, $isoCode = null) use ($moneyFacade) {
62 62
             if (!($money instanceof MoneyTransfer)) {
63 63
                 if (is_int($money)) {
64 64
                     $money = $moneyFacade->fromInteger($money, $isoCode);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
         return new TwigFunction(
96 96
             static::FUNCTION_NAME_MONEY_COLLECTION,
97
-            function ($moneyValueFormViewCollection) use ($twig) {
97
+            function($moneyValueFormViewCollection) use ($twig) {
98 98
                 return $twig->render(
99 99
                     static::TEMPLATE_PATH_MONEY_TABLE,
100 100
                     [
Please login to merge, or discard this patch.
Yves/Money/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.
Communication/Plugin/ServiceProvider/GuiTwigExtensionServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $this->provideFormTypeExtension($app);
30 30
 
31 31
         $app['twig'] = $app->share(
32
-            $app->extend('twig', function (Environment $twig) {
32
+            $app->extend('twig', function(Environment $twig) {
33 33
 
34 34
                 $this->registerTwigFunctions($twig);
35 35
                 $this->registerTwigFilters($twig);
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function provideFormTypeExtension(Application $app)
99 99
     {
100
-        $app['form.type.extensions'] = $app->share(function () {
100
+        $app['form.type.extensions'] = $app->share(function() {
101 101
             return [
102 102
                 new NoValidateTypeExtension(),
103 103
             ];
Please login to merge, or discard this patch.
Spryker/Shared/Application/ServiceProvider/FormFactoryServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@
 block discarded – undo
26 26
     public function register(Application $app)
27 27
     {
28 28
         $containerGlobals = new ContainerGlobals();
29
-        $containerGlobals[ApplicationConstants::FORM_FACTORY] = $containerGlobals->share(function () use ($app) {
29
+        $containerGlobals[ApplicationConstants::FORM_FACTORY] = $containerGlobals->share(function() use ($app) {
30 30
             return $app['form.factory'];
31 31
         });
32 32
 
33 33
         $app['twig'] = $app->share(
34
-            $app->extend('twig', function (Environment $twig) use ($app) {
34
+            $app->extend('twig', function(Environment $twig) use ($app) {
35 35
                 $data = [
36
-                    FormRenderer::class => function () use ($app) {
36
+                    FormRenderer::class => function() use ($app) {
37 37
                         return $app['twig.form.renderer'];
38 38
                     },
39 39
                 ];
40 40
                 if (class_exists(TwigRenderer::class)) {
41
-                    $data[TwigRenderer::class] = function () use ($app) {
41
+                    $data[TwigRenderer::class] = function() use ($app) {
42 42
                         return $app['twig.form.renderer'];
43 43
                     };
44 44
                 }
Please login to merge, or discard this patch.
Service/UtilDateTime/ServiceProvider/DateTimeFormatterServiceProvider.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
         $utilDateTimeService = new UtilDateTimeService();
26 26
 
27 27
         $app['twig'] = $app->share(
28
-            $app->extend('twig', function (Environment $twig) use ($utilDateTimeService) {
28
+            $app->extend('twig', function(Environment $twig) use ($utilDateTimeService) {
29 29
                 $twig->addExtension(new DateTimeFormatterTwigExtension($utilDateTimeService));
30 30
 
31 31
                 return $twig;
Please login to merge, or discard this patch.
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.