Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Bundles/Application/src/Spryker/Yves/Application/Routing/AbstractRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             $url = $wantedScheme . '://' . $this->context->getHost() . $pathInfo;
91 91
 
92 92
             return [
93
-                '_controller' => function ($url) {
93
+                '_controller' => function($url) {
94 94
                     return new RedirectResponse($url, 301);
95 95
                 },
96 96
                 '_route' => null,
Please login to merge, or discard this patch.
Application/Communication/Plugin/ServiceProvider/RequestServiceProvider.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
     public function boot(Application $app)
46 46
     {
47
-        $app->before(function (Request $request) {
47
+        $app->before(function(Request $request) {
48 48
             if ($this->isCli() && $request->server->get('argv', false)) {
49 49
                 $this->parseCliRequestData($request);
50 50
             } else {
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/SubRequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function register(Application $app)
28 28
     {
29
-        $app['sub_request'] = $app->share(function () use ($app) {
29
+        $app['sub_request'] = $app->share(function() use ($app) {
30 30
             return new SubRequestHandler($app);
31 31
         });
32 32
     }
Please login to merge, or discard this patch.
Zed/User/Communication/Plugin/ServiceProvider/UserServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function register(Application $app)
41 41
     {
42 42
         $app['twig.global.variables'] = $app->share(
43
-            $app->extend('twig.global.variables', function (array $variables) {
43
+            $app->extend('twig.global.variables', function(array $variables) {
44 44
                 $variables['username'] = $this->getUsername();
45 45
 
46 46
                 return $variables;
Please login to merge, or discard this patch.
Communication/Form/NavigationNodeLocalizedAttributesFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         $resolver->setDefaults([
75 75
             'data_class' => NavigationNodeLocalizedAttributesTransfer::class,
76 76
             'required' => false,
77
-            'validation_groups' => function (FormInterface $form) {
77
+            'validation_groups' => function(FormInterface $form) {
78 78
                 $nodeType = $form->getParent()
79 79
                     ->getParent()
80 80
                     ->get(NavigationNodeFormType::FIELD_NODE_TYPE)
Please login to merge, or discard this patch.
src/Spryker/Zed/StateMachine/Business/StateMachine/StateUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         }
74 74
 
75 75
         foreach ($stateMachineItems as $stateMachineItemTransfer) {
76
-            $this->handleDatabaseTransaction(function () use ($processes, $sourceStates, $stateMachineItemTransfer) {
76
+            $this->handleDatabaseTransaction(function() use ($processes, $sourceStates, $stateMachineItemTransfer) {
77 77
                 $this->executeUpdateItemStateTransaction($processes, $sourceStates, $stateMachineItemTransfer);
78 78
             });
79 79
         }
Please login to merge, or discard this patch.
src/Spryker/Zed/StateMachine/Communication/Controller/GraphController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
         $response = $this->getFacade()->drawProcess($stateMachineProcessTransfer, $highlightState, $format, $fontSize);
78 78
 
79
-        $callback = function () use ($response) {
79
+        $callback = function() use ($response) {
80 80
             echo $response;
81 81
         };
82 82
 
Please login to merge, or discard this patch.
src/Spryker/Zed/SalesProductConnector/Business/Model/ItemMetadataSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function saveItemsMetadata(QuoteTransfer $quoteTransfer)
52 52
     {
53
-        $this->handleDatabaseTransaction(function () use ($quoteTransfer) {
53
+        $this->handleDatabaseTransaction(function() use ($quoteTransfer) {
54 54
             foreach ($quoteTransfer->getItems() as $item) {
55 55
                 $this->saveItemMetadata($item);
56 56
             }
Please login to merge, or discard this patch.
tests/SprykerTest/Service/UtilEncoding/UtilEncodingServiceTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     "1": "one",
30 30
     "2": "two"
31 31
 }
32
-JSON;
32
+json;
33 33
 
34 34
     /**
35 35
      * @var array
Please login to merge, or discard this patch.