Completed
Push — development ( b57b53...4e4888 )
by Thomas
18s queued 11s
created
htdocs/src/Oc/Postfix/LogEntity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function toDatabaseArray(): array
28 28
     {
29 29
         return [
30
-            'id' => (int) $this->id,
30
+            'id' => (int)$this->id,
31 31
             'email' => $this->email,
32 32
             'status' => $this->status,
33 33
             'created' => $this->created,
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     public function fromDatabaseArray(array $data): self
38 38
     {
39
-        $this->id = (int) $data['id'];
39
+        $this->id = (int)$data['id'];
40 40
         $this->email = $data['email'];
41 41
         $this->status = $data['status'];
42 42
         $this->created = $data['created'];
Please login to merge, or discard this patch.
htdocs/src/Oc/Validator/Validator.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * Validates a single item.
22 22
      *
23 23
      * @param mixed $item Item to validate
24
-
25 24
      * @throws ValidationException
26 25
      */
27 26
     public function validate($item): void
Please login to merge, or discard this patch.
htdocs/src/Oc/Validator/Exception/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $this->setViolations($violations);
19 19
 
20
-        parent::__construct((string) $this);
20
+        parent::__construct((string)$this);
21 21
     }
22 22
 
23 23
     public function __toString(): string
Please login to merge, or discard this patch.
htdocs/src/Oc/Command/CodeSnifferCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         }
73 73
 
74 74
         $process = new Process($cmd, $this->rootPath, null, null, 9600);
75
-        $process->run(function ($type, $buffer): void {
75
+        $process->run(function($type, $buffer): void {
76 76
             echo $buffer;
77 77
         });
78 78
 
Please login to merge, or discard this patch.
htdocs/src/Oc/Command/CreateWebCacheCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         $filesJson = json_decode(file_get_contents($projectDir . '/theme/frontend/js/files.json'), true);
104 104
         $ownFiles = $filesJson['files'];
105 105
 
106
-        $ownFiles = array_map(function ($file) use ($applicationJsPath) {
106
+        $ownFiles = array_map(function($file) use ($applicationJsPath) {
107 107
             if (strpos($file, '**') !== false) {
108 108
                 return null;
109 109
             }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $finder = new Finder();
117 117
         $finder->in($applicationJsPath . '/plugins/')->name('*.js');
118 118
 
119
-        $jsPlugins = array_map(function ($file) {
119
+        $jsPlugins = array_map(function($file) {
120 120
             return $file->getRealPath();
121 121
         }, iterator_to_array($finder->files()));
122 122
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         $scss = new Compiler();
148 148
         $scss->setIgnoreErrors(true);
149 149
         $scss->addImportPath($applicationScssPath);
150
-        $scss->addImportPath(function ($path) use ($projectDir) {
150
+        $scss->addImportPath(function($path) use ($projectDir) {
151 151
             //Check for tilde as this refers to the node_modules dir
152 152
             if (strpos($path, '~') === 0) {
153 153
                 $path = str_replace(
Please login to merge, or discard this patch.
htdocs/src/Oc/Util/CBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         [$uSec, $sec] = explode(' ', microtime());
27 27
 
28
-        return ((float) $uSec + (float) $sec);
28
+        return ((float)$uSec + (float)$sec);
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
local/ocxml11client/xml2array.inc.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
 
14 14
     public function push_pos(&$pos): void
15 15
     {
16
-        $this->stack[count($this->stack)] =& $pos;
17
-        $this->stack_ref =& $pos;
16
+        $this->stack[count($this->stack)] = & $pos;
17
+        $this->stack_ref = & $pos;
18 18
     }
19 19
 
20 20
     public function pop_pos(): void
21 21
     {
22 22
         unset($this->stack[count($this->stack) - 1]);
23
-        $this->stack_ref =& $this->stack[count($this->stack) - 1];
23
+        $this->stack_ref = & $this->stack[count($this->stack) - 1];
24 24
     }
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
htdocs/lib2/common.inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 $opt['rootpath'] = __DIR__ . '/../';
12 12
 
13 13
 spl_autoload_register(
14
-    function ($className): void {
14
+    function($className): void {
15 15
         if (!preg_match('/^[\w]{1,}$/', $className)) {
16 16
             return;
17 17
         }
Please login to merge, or discard this patch.
htdocs/src/Oc/FieldNotes/Import/ImportService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,6 @@
 block discarded – undo
125 125
          */
126 126
         $expressionAst = (new ExpressionLanguage())->parse($violation->getPropertyPath(), [])->getNodes();
127 127
 
128
-        return (int) $expressionAst->nodes['node']->nodes[1]->attributes['value'];
128
+        return (int)$expressionAst->nodes['node']->nodes[1]->attributes['value'];
129 129
     }
130 130
 }
Please login to merge, or discard this patch.