Passed
Push — development ( dd52ea...d8ac72 )
by Thomas
06:36
created
htdocs/src/OcBundle/Translation/TranslationStruct.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
     public function fromCsvArray(array $data)
58 58
     {
59
-        $this->identifier = (int) $data['Identifier'];
59
+        $this->identifier = (int)$data['Identifier'];
60 60
         $this->sourceString = $data['SourceString'];
61 61
         $this->comment = $data['Comment'];
62 62
         $this->de = $data['DE'];
Please login to merge, or discard this patch.
htdocs/myhome.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     $allpics = 'ownlogs';
138 138
 }
139 139
 if ($allpics == 'ownlogs' || $allpics == 'owncaches') {
140
-    $gallery =  ($allpics == 'ownlogs' ? LogPics::FOR_OWNLOGS_GALLERY : LogPics::FOR_OWNCACHES_GALLERY);
140
+    $gallery = ($allpics == 'ownlogs' ? LogPics::FOR_OWNLOGS_GALLERY : LogPics::FOR_OWNCACHES_GALLERY);
141 141
     $all_pictures = LogPics::get($gallery);
142 142
     LogPics::setPaging($gallery, 0, 0, "myhome.php?allpics=1");
143 143
 } else {
Please login to merge, or discard this patch.
htdocs/src/OcBundle/Command/OkapiCronjobsCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 
26 26
     protected function execute(InputInterface $input, OutputInterface $output)
27 27
     {
28
-        require_once __DIR__.'/../../../okapi/core.php';
29
-        require_once __DIR__.'/../../../okapi/vendor/autoload.php';
28
+        require_once __DIR__ . '/../../../okapi/core.php';
29
+        require_once __DIR__ . '/../../../okapi/vendor/autoload.php';
30 30
         Okapi::execute_cron5_cronjobs();
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
htdocs/lib2/edithelper.inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             // save plain text input => convert to HTML;
49 49
             // also implemented in okapi/services/logs/submit.php
50 50
             $text = nl2br(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
51
-            $text = str_replace('  ', '  ', $text);   // can produce new '  ' ('  ' + ' ')
51
+            $text = str_replace('  ', '  ', $text); // can produce new '  ' ('  ' + ' ')
52 52
             $text = str_replace('  ', '  ', $text);
53 53
         } else {
54 54
             // mode switch from HTML editor to plain text, or decode HTML-encoded plain text
Please login to merge, or discard this patch.