Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
src/Spryker/Zed/SequenceNumber/Business/Model/SequenceNumber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     protected function createNumber()
86 86
     {
87 87
         try {
88
-            $idCurrent = $this->handleDatabaseTransaction(function () {
88
+            $idCurrent = $this->handleDatabaseTransaction(function() {
89 89
                 return $this->createNumberTransaction();
90 90
             });
91 91
         } catch (Exception $e) {
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/TwigGlobalVariablesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function register(Application $app)
29 29
     {
30 30
         $app['twig.global.variables'] = $app->share(
31
-            $app->extend('twig.global.variables', function (array $variables) {
31
+            $app->extend('twig.global.variables', function(array $variables) {
32 32
                 $variables += [
33 33
                     'environment' => APPLICATION_ENV,
34 34
                     'store' => Store::getInstance()->getStoreName(),
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/CalendarWeekDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $dateTime = new DateTime();
34 34
 
35 35
         $comparatorMock = $this->createComparatorMock();
36
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $calendarWeek) {
36
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $calendarWeek) {
37 37
             return $clauseTransfer->getValue() === $calendarWeek;
38 38
         });
39 39
 
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/DecisionRule/TimeDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $dateTime = new DateTime();
33 33
 
34 34
         $comparatorMock = $this->createComparatorMock();
35
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currentMonth) {
35
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currentMonth) {
36 36
             return $clauseTransfer->getValue() === $currentMonth;
37 37
         });
38 38
 
Please login to merge, or discard this patch.
SprykerTest/Zed/Discount/Business/DecisionRule/MonthDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $dateTime = new DateTime();
33 33
 
34 34
         $comparatorMock = $this->createComparatorMock();
35
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currentMonth) {
35
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currentMonth) {
36 36
             return $clauseTransfer->getValue() === $currentMonth;
37 37
         });
38 38
 
Please login to merge, or discard this patch.
Zed/Discount/Business/DecisionRule/DayOfTheWeekDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $dateTime = new DateTime();
34 34
 
35 35
         $comparatorMock = $this->createComparatorMock();
36
-        $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $calendarWeek) {
36
+        $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $calendarWeek) {
37 37
             return $clauseTransfer->getValue() === $calendarWeek;
38 38
         });
39 39
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/DevelopmentFacadeInterface.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,6 @@
 block discarded – undo
110 110
     /**
111 111
      * Specification:
112 112
      * - Calculates the stability of each module.
113
-
114 113
      * @api
115 114
      *
116 115
      * @return array
Please login to merge, or discard this patch.
Spryker/Zed/Development/Communication/Controller/DependencyController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             return $this->redirectResponse('/development/dependency');
138 138
         }
139 139
 
140
-        $callback = function () use ($request) {
140
+        $callback = function() use ($request) {
141 141
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
142 142
 
143 143
             if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      */
158 158
     public function simpleAction(Request $request)
159 159
     {
160
-        $callback = function () use ($request) {
160
+        $callback = function() use ($request) {
161 161
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
162 162
             $showEngineBundle = $request->query->getBoolean('show-engine-bundle', true);
163 163
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function externalDependencyTreeAction(Request $request)
197 197
     {
198
-        $callback = function () use ($request) {
198
+        $callback = function() use ($request) {
199 199
             $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*');
200 200
 
201 201
             if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) {
Please login to merge, or discard this patch.
ProductBundle/Business/ProductBundle/Checkout/ProductBundleOrderSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function saveOrderBundleItems(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer)
51 51
     {
52
-        $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) {
52
+        $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) {
53 53
             $this->saveOrderBundleItemsTransaction($quoteTransfer, $saveOrderTransfer);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.