Failed Conditions
Push — master ( e1d726...46c63a )
by mark
50:35
created
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.
Bundles/Url/src/Spryker/Shared/Url/UrlBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function fillNullValues($hasQueryParameter, array $mca)
44 44
     {
45
-        $mapCallback = function ($value) use ($hasQueryParameter) {
45
+        $mapCallback = function($value) use ($hasQueryParameter) {
46 46
             return ($value) ?: (($hasQueryParameter) ? 'index' : null);
47 47
         };
48 48
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function removeNullValues(array $mca)
59 59
     {
60
-        $filterCallback = function ($value) {
60
+        $filterCallback = function($value) {
61 61
             return $value !== null;
62 62
         };
63 63
 
Please login to merge, or discard this patch.