Passed
Push — master ( 506ed8...a1c563 )
by
unknown
38:44
created
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.
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.
Discount/src/Spryker/Zed/Discount/Business/Persistence/DiscountPersist.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $discountEntity = $this->createDiscountEntity();
65 65
         $this->hydrateDiscountEntity($discountConfiguratorTransfer, $discountEntity);
66 66
 
67
-        $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
67
+        $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
68 68
             $this->executeSaveDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
69 69
         });
70 70
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             );
123 123
         }
124 124
 
125
-        $affectedRows = $this->handleDatabaseTransaction(function () use ($discountEntity, $discountConfiguratorTransfer) {
125
+        $affectedRows = $this->handleDatabaseTransaction(function() use ($discountEntity, $discountConfiguratorTransfer) {
126 126
             return $this->executeUpdateDiscountTransaction($discountEntity, $discountConfiguratorTransfer);
127 127
         });
128 128
 
Please login to merge, or discard this patch.
src/Spryker/Client/ProductLabel/Storage/LabelDictionaryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             return $productLabelCollection;
137 137
         }
138 138
 
139
-        usort($productLabelCollection, function (
139
+        usort($productLabelCollection, function(
140 140
             StorageProductLabelTransfer $productLabelTransferA,
141 141
             StorageProductLabelTransfer $productLabelTransferB
142 142
         ) {
Please login to merge, or discard this patch.
Label/LocalizedAttributesCollection/LocalizedAttributesCollectionWriter.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
      */
49 49
     public function save(ArrayObject $localizedAttributesTransferCollection)
50 50
     {
51
-        $this->handleDatabaseTransaction(function () use ($localizedAttributesTransferCollection) {
51
+        $this->handleDatabaseTransaction(function() use ($localizedAttributesTransferCollection) {
52 52
             $this->executeSetTransaction($localizedAttributesTransferCollection);
53 53
         });
54 54
     }
Please login to merge, or discard this patch.