Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Bundles/Security/src/Spryker/Yves/Security/SecurityDependencyProvider.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 provideDependencies(Container $container): Container
27 27
     {
28
-        $container->set(static::PLUGINS_SECURITY, function () {
28
+        $container->set(static::PLUGINS_SECURITY, function() {
29 29
             return $this->getSecurityPlugins();
30 30
         });
31 31
 
Please login to merge, or discard this patch.
src/Spryker/Yves/Security/Plugin/Security/RememberMeSecurityPlugin.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this->addAuthenticationListenerFactory($container);
43 43
         $this->addPrototypes($container);
44 44
 
45
-        $securityBuilder->addEventSubscriber(function () {
45
+        $securityBuilder->addEventSubscriber(function() {
46 46
             return new ResponseListener();
47 47
         });
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addAuthenticationListenerFactory(ContainerInterface $container): ContainerInterface
58 58
     {
59
-        $container->set('security.authentication_listener.factory.remember_me', $container->protect(function ($name, $options) use ($container) {
59
+        $container->set('security.authentication_listener.factory.remember_me', $container->protect(function($name, $options) use ($container) {
60 60
             if (empty($options['key'])) {
61 61
                 $options['key'] = $name;
62 62
             }
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
      */
108 108
     protected function addRememberMeServicePrototype(ContainerInterface $container): ContainerInterface
109 109
     {
110
-        $container->set('security.remember_me.service._proto', $container->protect(function ($providerKey, $options) use ($container) {
111
-            return function () use ($providerKey, $options, $container) {
110
+        $container->set('security.remember_me.service._proto', $container->protect(function($providerKey, $options) use ($container) {
111
+            return function() use ($providerKey, $options, $container) {
112 112
                 $options = array_replace([
113 113
                     'name' => 'REMEMBERME',
114 114
                     'lifetime' => static::LIFETIME_ONE_YEAR,
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
      */
141 141
     protected function addAuthenticationListenerPrototype(ContainerInterface $container): ContainerInterface
142 142
     {
143
-        $container->set('security.authentication_listener.remember_me._proto', $container->protect(function ($providerKey) use ($container) {
144
-            return function () use ($container, $providerKey) {
143
+        $container->set('security.authentication_listener.remember_me._proto', $container->protect(function($providerKey) use ($container) {
144
+            return function() use ($container, $providerKey) {
145 145
                 $listener = new RememberMeListener(
146 146
                     $container->get('security.token_storage'),
147 147
                     $container->get('security.remember_me.service.' . $providerKey),
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
      */
165 165
     protected function addAuthenticationProviderPrototype(ContainerInterface $container): ContainerInterface
166 166
     {
167
-        $container->set('security.authentication_provider.remember_me._proto', $container->protect(function ($name, $options) use ($container) {
168
-            return function () use ($container, $name, $options) {
167
+        $container->set('security.authentication_provider.remember_me._proto', $container->protect(function($name, $options) use ($container) {
168
+            return function() use ($container, $name, $options) {
169 169
                 return new RememberMeAuthenticationProvider($container->get('security.user_checker'), $options['key'], $name);
170 170
             };
171 171
         }));
Please login to merge, or discard this patch.
Security/tests/SprykerTest/Yves/Security/_support/Helper/SecurityHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
     {
65 65
         /** @var \Spryker\Yves\Security\Plugin\Application\SecurityApplicationPlugin $securityApplicationPlugin */
66 66
         $securityApplicationPlugin = Stub::make(SecurityApplicationPlugin::class, [
67
-            'getConfig' => function () {
67
+            'getConfig' => function() {
68 68
                 return $this->getConfig();
69 69
             },
70
-            'getFactory' => function () {
70
+            'getFactory' => function() {
71 71
                 return $this->getFactory();
72 72
             },
73 73
         ]);
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     public function mockSecurityPlugin(SecurityConfiguration $securityConfiguration)
120 120
     {
121 121
         $securityPluginStub = Stub::makeEmpty(SecurityPluginInterface::class, [
122
-            'extend' => function (SecurityBuilderInterface $securityBuilder) use ($securityConfiguration) {
122
+            'extend' => function(SecurityBuilderInterface $securityBuilder) use ($securityConfiguration) {
123 123
                 $securityConfiguration = $securityConfiguration->getConfiguration();
124 124
                 $securityBuilder = $this->addFirewalls($securityBuilder, $securityConfiguration);
125 125
                 $securityBuilder = $this->addAccessRules($securityBuilder, $securityConfiguration);
Please login to merge, or discard this patch.
Agent/tests/SprykerTest/Shared/Agent/_support/Helper/AgentHelper.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
         $userTransfer = $this->createAgent($seedData);
30 30
         $userTransfer = $this->registerAgent($userTransfer);
31 31
 
32
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($userTransfer) {
32
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($userTransfer) {
33 33
             $this->debug(sprintf('Deactivating User: %s', $userTransfer->getUsername()));
34 34
             $this->getUserFacade()->deactivateUser($userTransfer->getIdUser());
35 35
         });
Please login to merge, or discard this patch.
Session/tests/SprykerTest/Yves/Session/_support/Helper/SessionHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,16 +69,16 @@
 block discarded – undo
69 69
     {
70 70
         /** @var \Spryker\Yves\Session\Plugin\Application\SessionApplicationPlugin $sessionApplicationPlugin */
71 71
         $sessionApplicationPlugin = Stub::make(SessionApplicationPlugin::class, [
72
-            'getConfig' => function () {
72
+            'getConfig' => function() {
73 73
                 return $this->getConfig();
74 74
             },
75
-            'getFactory' => function () {
75
+            'getFactory' => function() {
76 76
                 return $this->getFactory();
77 77
             },
78
-            'getClient' => function () {
78
+            'getClient' => function() {
79 79
                 return $this->getClient();
80 80
             },
81
-            'isSessionTestEnabled' => function () {
81
+            'isSessionTestEnabled' => function() {
82 82
                 return true;
83 83
             },
84 84
         ]);
Please login to merge, or discard this patch.
Router/tests/SprykerTest/Yves/Router/_support/Helper/RouterHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $chainRouter = new ChainRouter([]);
69 69
 
70 70
         $loader = new ClosureLoader();
71
-        $resource = function () {
71
+        $resource = function() {
72 72
             return $this->getRouteCollection();
73 73
         };
74 74
         $router = new Router($loader, $resource);
Please login to merge, or discard this patch.
SprykerTest/Yves/EventDispatcher/_support/Helper/EventDispatcherHelper.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
     {
58 58
         /** @var \Spryker\Yves\EventDispatcher\Plugin\Application\EventDispatcherApplicationPlugin $eventDispatcherApplicationPlugin */
59 59
         $eventDispatcherApplicationPlugin = Stub::make(EventDispatcherApplicationPlugin::class, [
60
-            'getFactory' => function () {
60
+            'getFactory' => function() {
61 61
                 return $this->getFactory();
62 62
             },
63 63
         ]);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     protected function getFactory(): EventDispatcherFactory
84 84
     {
85 85
         $factoryHelper = $this->getFactoryHelper();
86
-        $factoryHelper->mockFactoryMethod('getEventDispatcherPlugins', function () {
86
+        $factoryHelper->mockFactoryMethod('getEventDispatcherPlugins', function() {
87 87
             return $this->eventDispatcherPlugins;
88 88
         }, static::MODULE_NAME);
89 89
 
Please login to merge, or discard this patch.
Business/ConfigurableBundlePageSearchFacade.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
      * {@inheritDoc}
57 57
      *
58 58
      * @api
59
-
60 59
      * @param \Generated\Shared\Transfer\ConfigurableBundleTemplatePageSearchFilterTransfer $configurableBundleTemplatePageSearchFilterTransfer
61 60
      *
62 61
      * @return \Generated\Shared\Transfer\ConfigurableBundleTemplatePageSearchCollectionTransfer
Please login to merge, or discard this patch.
Business/Publisher/ConfigurableBundleTemplatePublisher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         );
88 88
         $configurableBundleTemplatePageSearchTransfers = $this->getConfigurableBundleTemplatePageSearchTransfers($configurableBundleTemplateIds);
89 89
 
90
-        $this->getTransactionHandler()->handleTransaction(function () use ($configurableBundleTemplateTransfers, $configurableBundleTemplatePageSearchTransfers): void {
90
+        $this->getTransactionHandler()->handleTransaction(function() use ($configurableBundleTemplateTransfers, $configurableBundleTemplatePageSearchTransfers): void {
91 91
             $this->executePublishTransaction($configurableBundleTemplateTransfers->getConfigurableBundleTemplates()->getArrayCopy(), $configurableBundleTemplatePageSearchTransfers);
92 92
         });
93 93
     }
Please login to merge, or discard this patch.