Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
SequenceNumber/src/Spryker/Zed/SequenceNumber/SequenceNumberConfig.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 mergeSettings(array $defaultSettingsArray, array $settingsArray)
46 46
     {
47
-        $settingsArray = array_filter($settingsArray, function ($value) {
47
+        $settingsArray = array_filter($settingsArray, function($value) {
48 48
             return ($value !== null);
49 49
         });
50 50
         $settingsArray += $defaultSettingsArray;
Please login to merge, or discard this patch.
Config/Plugin/ServiceProvider/AbstractConfigProfilerServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
      */
50 50
     protected function addConfigProfilerCollector(Application $app)
51 51
     {
52
-        $app->extend('data_collectors', function ($collectors) {
53
-            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function () {
52
+        $app->extend('data_collectors', function($collectors) {
53
+            $collectors[ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER] = function() {
54 54
                 return ConfigProfilerCollectorFactory::createConfigProfilerCollector();
55 55
             };
56 56
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     protected function addCollectorTemplates(Application $app)
69 69
     {
70
-        $app['data_collector.templates'] = $app->extend('data_collector.templates', function ($templates) {
70
+        $app['data_collector.templates'] = $app->extend('data_collector.templates', function($templates) {
71 71
             $templates[] = [ConfigProfilerCollector::SPRYKER_CONFIG_PROFILER, $this->getTemplateName()];
72 72
 
73 73
             return $templates;
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     protected function addPathToLoader(Application $app)
123 123
     {
124 124
         $loaderKey = $this->getLoaderKey();
125
-        $app[$loaderKey] = $app->extend($loaderKey, function (TwigFilesystemLoader $loader) {
125
+        $app[$loaderKey] = $app->extend($loaderKey, function(TwigFilesystemLoader $loader) {
126 126
             $pathToTemplates = $this->getPathToTemplates();
127 127
             if (method_exists($loader, 'addPath')) {
128 128
                 $loader->addPath($pathToTemplates);
Please login to merge, or discard this patch.
src/Spryker/Yves/Session/Plugin/ServiceProvider/SessionServiceProvider.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
      */
69 69
     protected function setSessionStorageHandler(Application $application)
70 70
     {
71
-        $application['session.storage.handler'] = function () {
71
+        $application['session.storage.handler'] = function() {
72 72
             return $this->getFactory()->createSessionStorage()->getAndRegisterHandler();
73 73
         };
74 74
     }
Please login to merge, or discard this patch.
src/Spryker/Client/Session/ServiceProvider/SessionClientServiceProvider.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
     public function register(Application $app)
26 26
     {
27 27
         $containerGlobals = new ContainerGlobals();
28
-        $containerGlobals[static::CLIENT_SESSION] = function () {
28
+        $containerGlobals[static::CLIENT_SESSION] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->session()->client();
Please login to merge, or discard this patch.
Spryker/Shared/Session/Business/Handler/Lock/Redis/RedisSpinLockLocker.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
     return redis.call("DEL", KEYS[1])
243 243
 end
244 244
 return 0
245
-LUA;
245
+lua;
246 246
     }
247 247
 
248 248
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/Session/Communication/Console/SessionRemoveLockConsole.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 For Zed:
52 52
 session:lock:remove --zed <session_id>
53
-HELPTEXT;
53
+helptext;
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.
Zed/ProductSetGui/Communication/Form/General/LocalizedGeneralFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function configureOptions(OptionsResolver $resolver)
49 49
     {
50 50
         $resolver->setDefaults([
51
-            'validation_groups' => function (FormInterface $form) {
51
+            'validation_groups' => function(FormInterface $form) {
52 52
                 $originalUrl = $form->getData()[static::FIELD_ORIGINAL_URL];
53 53
                 $updatedUrl = $form->getData()[static::FIELD_URL];
54 54
 
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/Provider/CookieServiceProvider.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
     public function register(Application $app)
30 30
     {
31 31
         $this->app = $app;
32
-        $app['cookies'] = $app->share(function () {
32
+        $app['cookies'] = $app->share(function() {
33 33
             return new ArrayObject();
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/Provider/YvesControllerProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     protected function createRedirectController($path, $name, $redirectPath, $status = 302)
133 133
     {
134 134
         $controller = $this->controllerCollection
135
-            ->match($path, function () use ($redirectPath, $status) {
135
+            ->match($path, function() use ($redirectPath, $status) {
136 136
                 return new RedirectResponse($redirectPath, $status);
137 137
             })
138 138
             ->bind($name);
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     private function addJsonParsing(Controller $controller)
187 187
     {
188
-        $controller->before(function (Request $request) {
188
+        $controller->before(function(Request $request) {
189 189
             $isJson = (strpos($request->headers->get('Content-Type'), 'application/json') === 0);
190 190
             if ($isJson) {
191 191
                 $data = json_decode($request->getContent(), true);
Please login to merge, or discard this patch.