Passed
Push — master ( aa949f...4779f0 )
by Alex
02:17
created
Mezon/Application/CommonApplication.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         }
308 308
 
309 309
         foreach ($value as $configKey => $configValue) {
310
-            if (! in_array($configKey, [
310
+            if (!in_array($configKey, [
311 311
                 'class',
312 312
                 'name',
313 313
                 'placeholder'
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
     {
350 350
         $method = 'action' . basename($path, '.json');
351 351
 
352
-        $this->$method = function () use ($path): array {
352
+        $this->$method = function() use ($path): array {
353 353
             $result = [];
354 354
             $views = [];
355 355
             $presenter = null;
Please login to merge, or discard this patch.
Mezon/Application/Tests/CommonApplicationActionsUnitTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             // #0, default behaviour, layout is not set, extra view variable is set
38 38
             [
39 39
                 'from-config',
40
-                function (string $result) {
40
+                function(string $result) {
41 41
                     $this->assertCommonCall($result, '<!-- index1 -->');
42 42
                     $this->assertStringContainsString('someVarValue', $result);
43 43
                 }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             // #1, default behaviour, layout is set, no name is defined for the other-view
46 46
             [
47 47
                 'from-config2',
48
-                function (string $result) {
48
+                function(string $result) {
49 49
                     $this->assertCommonCall($result, '<!-- index2 -->');
50 50
 
51 51
                     $this->assertTrue(TestingView::$defaultViewWasRendered);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             // #2, inherit from from-config2
55 55
             [
56 56
                 'from-config3',
57
-                function (string $result) {
57
+                function(string $result) {
58 58
                     $this->assertCommonCall($result, '<!-- index1 -->');
59 59
 
60 60
                     $this->assertTrue(TestingView::$defaultViewWasRendered);
Please login to merge, or discard this patch.