Passed
Push — master ( c4519d...a8a876 )
by
unknown
39:37 queued 17:26
created
Zed/Application/Business/Model/Twig/EnvironmentInfoFunctionProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getFunction()
32 32
     {
33
-        return function ($currentController) {
33
+        return function($currentController) {
34 34
             $utilNetworkHost = new Host();
35 35
             $html = '<div class="zed:header__environment"><i class="icon-cogs"></i>'
36 36
                 . '<span>' . APPLICATION_ENV . '</span>'
Please login to merge, or discard this patch.
Plugin/ServiceProvider/EnvironmentInformationServiceProvider.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
     public function register(Application $app)
33 33
     {
34 34
         $app['twig'] = $app->share(
35
-            $app->extend('twig', function (Environment $twig) {
35
+            $app->extend('twig', function(Environment $twig) {
36 36
                 $functionProvider = new EnvironmentInfoFunctionProvider();
37 37
                 $twig->addFunction(new TwigFunction(
38 38
                     $functionProvider->getFunctionName(),
Please login to merge, or discard this patch.
src/Spryker/Zed/Application/Communication/Twig/YvesUrlFunctionProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function getFunction()
41 41
     {
42
-        return function ($url, array $query = [], array $options = []) {
42
+        return function($url, array $query = [], array $options = []) {
43 43
             $url = Url::generate($url, $query, $this->formatOptions($options));
44 44
 
45 45
             return $url->buildEscaped();
Please login to merge, or discard this patch.
Session/Communication/Plugin/ServiceProvider/SessionServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
         $sessionHandlerProviderPluginMock->method('getSessionHandlerName')->willReturn(static::DUMMY_SESSION_HANDLER_NAME);
191 191
         $sessionHandlerProviderPluginMock->method('getSessionHandler')->willReturn(new SessionHandlerStub());
192 192
 
193
-        $this->tester->setDependency(SessionDependencyProvider::PLUGINS_SESSION_HANDLER, function (Container $container) use ($sessionHandlerProviderPluginMock) {
193
+        $this->tester->setDependency(SessionDependencyProvider::PLUGINS_SESSION_HANDLER, function(Container $container) use ($sessionHandlerProviderPluginMock) {
194 194
             return [
195 195
                 $sessionHandlerProviderPluginMock,
196 196
             ];
Please login to merge, or discard this patch.
Zed/ZedUi/Communication/Twig/NavigationComponentConfigFunctionProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function getFunction(): callable
53 53
     {
54
-        return function (array $navigationItems = []): ?string {
54
+        return function(array $navigationItems = []): ?string {
55 55
             $menuTree = $this->getMenuTree($navigationItems);
56 56
 
57 57
             return $this->utilEncodingService->encodeJson($menuTree);
Please login to merge, or discard this patch.
Zed/GuiTable/Communication/Twig/GuiTableConfigurationFunctionProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      */
68 68
     public function getFunction(): callable
69 69
     {
70
-        return function (GuiTableConfigurationTransfer $guiTableConfigurationTransfer, bool $jsonEncode = true, array $overwrite = []) {
70
+        return function(GuiTableConfigurationTransfer $guiTableConfigurationTransfer, bool $jsonEncode = true, array $overwrite = []) {
71 71
             $guiTableConfigurationTransfer = $this->configurationDefaultValuesExpander->setDefaultValues($guiTableConfigurationTransfer);
72 72
             $guiTableConfigurationTransfer = $this->configurationTranslator->translateConfiguration($guiTableConfigurationTransfer);
73 73
 
Please login to merge, or discard this patch.
Spryker/Zed/Twig/Communication/Plugin/Application/TwigApplicationPlugin.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 addTwigService(ContainerInterface $container): ContainerInterface
49 49
     {
50
-        $container->set(static::SERVICE_TWIG, function (ContainerInterface $container) {
50
+        $container->set(static::SERVICE_TWIG, function(ContainerInterface $container) {
51 51
             /** @var \Twig\Loader\LoaderInterface $twigLoader */
52 52
             $twigLoader = $this->getChainLoader();
53 53
             $twigOptions = $this->getTwigOptions($container);
Please login to merge, or discard this patch.
Yves/Session/Plugin/ServiceProvider/SessionServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
         $sessionHandlerProviderPluginMock->method('getSessionHandlerName')->willReturn(static::DUMMY_SESSION_HANDLER_NAME);
191 191
         $sessionHandlerProviderPluginMock->method('getSessionHandler')->willReturn(new SessionHandlerStub());
192 192
 
193
-        $this->tester->setDependency(SessionDependencyProvider::PLUGINS_SESSION_HANDLER, function (Container $container) use ($sessionHandlerProviderPluginMock) {
193
+        $this->tester->setDependency(SessionDependencyProvider::PLUGINS_SESSION_HANDLER, function(Container $container) use ($sessionHandlerProviderPluginMock) {
194 194
             return [
195 195
                 $sessionHandlerProviderPluginMock,
196 196
             ];
Please login to merge, or discard this patch.
Twig/src/Spryker/Yves/Twig/Plugin/Application/TwigApplicationPlugin.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 addTwigService(ContainerInterface $container): ContainerInterface
49 49
     {
50
-        $container->set(static::SERVICE_TWIG, function (ContainerInterface $container) {
50
+        $container->set(static::SERVICE_TWIG, function(ContainerInterface $container) {
51 51
             /** @var \Twig\Loader\LoaderInterface $twigLoader */
52 52
             $twigLoader = $this->getChainLoader();
53 53
             $twigOptions = $this->getTwigOptions($container);
Please login to merge, or discard this patch.