Passed
Pull Request — master (#5)
by Dominique
38:29
created
Flysystem/tests/SprykerTest/Service/Flysystem/FlysystemServiceTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,13 +62,13 @@
 block discarded – undo
62 62
         $this->testDataFileSystemRootDirectory = Configuration::dataDir() . static::ROOT_DIRECTORY;
63 63
 
64 64
         $container = new Container();
65
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function (Container $container) {
65
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FILESYSTEM_BUILDER] = function(Container $container) {
66 66
             return [
67 67
                 new LocalFilesystemBuilderPlugin(),
68 68
             ];
69 69
         };
70 70
 
71
-        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function (Container $container) {
71
+        $container[FlysystemDependencyProvider::PLUGIN_COLLECTION_FLYSYSTEM] = function(Container $container) {
72 72
             return [];
73 73
         };
74 74
 
Please login to merge, or discard this patch.
StateMachine/src/Spryker/Zed/StateMachine/Business/StateMachine/Builder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             $processFile = $this->getAttributeString($xmlProcess, self::PROCESS_FILE_ATTRIBUTE);
133 133
 
134 134
             if ($processFile === null) {
135
-                 continue;
135
+                    continue;
136 136
             }
137 137
 
138 138
             $processName = $this->getAttributeString($xmlProcess, 'name');
Please login to merge, or discard this patch.
Shipment/tests/SprykerTest/Zed/Shipment/Business/ShipmentFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
             ->expects($this->any())
400 400
             ->method('getByIdCurrency')
401 401
             ->willReturnCallback(
402
-                function ($idCurrency) {
402
+                function($idCurrency) {
403 403
                     return (new CurrencyTransfer())->setIdCurrency($idCurrency);
404 404
                 }
405 405
             );
Please login to merge, or discard this patch.
Zed/Development/Business/ArchitectureSniffer/ArchitectureSniffer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
             }
72 72
         }
73 73
 
74
-        $sortAlphabetically = function ($first, $second) {
74
+        $sortAlphabetically = function($first, $second) {
75 75
             return strcasecmp($first['name'], $second['name']) < 0;
76 76
         };
77 77
         usort($rules, $sortAlphabetically);
78 78
 
79
-        $sortPriority = function ($first, $second) {
79
+        $sortPriority = function($first, $second) {
80 80
             return $first['priority'] - $second['priority'];
81 81
         };
82 82
         usort($rules, $sortPriority);
Please login to merge, or discard this patch.
Bundles/Log/src/Spryker/Shared/Log/Handler/AbstractQueueHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $level = $this->level;
43 43
 
44
-        $records = array_filter($records, function ($record) use ($level) {
44
+        $records = array_filter($records, function($record) use ($level) {
45 45
             return ($record['level'] >= $level);
46 46
         });
47 47
 
Please login to merge, or discard this patch.
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.