Passed
Push — main ( 4ddaea...7c5fe7 )
by Thierry
04:58
created
jaxon-attributes/src/register.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 function register(): void
31 31
 {
32 32
     // Do nothing if running in cli.
33
-    if(php_sapi_name() !== 'cli')
33
+    if (php_sapi_name() !== 'cli')
34 34
     {
35 35
         _register();
36 36
     };
Please login to merge, or discard this patch.
jaxon-attributes/src/Attribute/Before.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Jaxon\App\Metadata\Metadata;
19 19
 use Attribute;
20 20
 
21
-#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_CLASS|Attribute::TARGET_METHOD|Attribute::IS_REPEATABLE)]
22 22
 class Before extends AbstractAttribute
23 23
 {
24 24
     /**
Please login to merge, or discard this patch.
jaxon-attributes/src/Attribute/Callback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Jaxon\App\Metadata\Metadata;
19 19
 use Attribute;
20 20
 
21
-#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_CLASS|Attribute::TARGET_METHOD|Attribute::IS_REPEATABLE)]
22 22
 class Callback extends AbstractAttribute
23 23
 {
24 24
     /**
Please login to merge, or discard this patch.
jaxon-attributes/src/Attribute/Exclude.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Jaxon\App\Metadata\Metadata;
19 19
 use Attribute;
20 20
 
21
-#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
21
+#[Attribute(Attribute::TARGET_CLASS|Attribute::TARGET_METHOD)]
22 22
 class Exclude extends AbstractAttribute
23 23
 {
24 24
     /**
Please login to merge, or discard this patch.
jaxon-attributes/src/Attribute/After.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Jaxon\App\Metadata\Metadata;
19 19
 use Attribute;
20 20
 
21
-#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_CLASS|Attribute::TARGET_METHOD|Attribute::IS_REPEATABLE)]
22 22
 class After extends AbstractAttribute
23 23
 {
24 24
     /**
Please login to merge, or discard this patch.
jaxon-core/tests/src/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      */
96 96
     public function delete(string $sKey): void
97 97
     {
98
-        if(isset($_SESSION[$sKey]))
98
+        if (isset($_SESSION[$sKey]))
99 99
         {
100 100
             unset($_SESSION[$sKey]);
101 101
         }
Please login to merge, or discard this patch.
jaxon-core/tests/src/response/TestHk.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
     public function param($param)
69 69
     {
70
-        if($this->method === 'param' && $this->args[0] === $param)
70
+        if ($this->method === 'param' && $this->args[0] === $param)
71 71
         {
72 72
             $this->response->html('div-id', 'This is the method with params!');
73 73
         }
Please login to merge, or discard this patch.
jaxon-core/templates/pagination/wrapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <ul class="pagination"><?php
2
-    if(($this->prev))
2
+    if (($this->prev))
3 3
     {
4 4
         echo $this->prev;
5 5
     }
6
-    foreach($this->links as $link)
6
+    foreach ($this->links as $link)
7 7
     {
8 8
         echo $link;
9 9
     }
10
-    if(($this->next))
10
+    if (($this->next))
11 11
     {
12 12
         echo $this->next;
13 13
     }
Please login to merge, or discard this patch.
jaxon-core/templates/plugins/config.js.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,20 +6,20 @@
 block discarded – undo
6 6
 jaxon.config.defaultMethod = "<?php echo $this->sDefaultMethod ?>";
7 7
 jaxon.config.responseType = "<?php echo $this->sResponseType ?>";
8 8
 
9
-<?php if($this->nResponseQueueSize > 0): ?>
9
+<?php if ($this->nResponseQueueSize > 0): ?>
10 10
 jaxon.config.responseQueueSize = <?php echo $this->nResponseQueueSize ?>;
11 11
 <?php endif ?>
12 12
 
13
-<?php if(($this->bDebug)): ?>
13
+<?php if (($this->bDebug)): ?>
14 14
 jaxon.debug.active = true;
15
-<?php if(($this->sDebugOutputID)): ?>
15
+<?php if (($this->sDebugOutputID)): ?>
16 16
 jaxon.debug.outputID = "<?php echo $this->sDebugOutputID ?>";
17 17
 <?php endif ?>
18
-<?php if(($this->bVerboseDebug)): ?>
18
+<?php if (($this->bVerboseDebug)): ?>
19 19
 jaxon.debug.verbose.active = true;
20 20
 <?php endif ?>
21 21
 <?php endif ?>
22 22
 
23
-<?php if(($this->sCsrfMetaName)): ?>
23
+<?php if (($this->sCsrfMetaName)): ?>
24 24
 jaxon.setCsrf('<?php echo $this->sCsrfMetaName ?>');
25 25
 <?php endif ?>
Please login to merge, or discard this patch.