Passed
Pull Request — master (#3)
by Tim
02:38
created
lib/File/ReverseRead.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 
134 134
                 if ($eolPos === false) {
135 135
                     // No eol found. Make buffer head of remainder and empty buffer.
136
-                    $this->remainder = $buff . $this->remainder;
136
+                    $this->remainder = $buff.$this->remainder;
137 137
                     $buff = '';
138 138
                 } elseif ($eolPos !== 0) {
139 139
                     // eol found.
Please login to merge, or discard this patch.
lib/Controller/Logpeek.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,13 +133,13 @@
 block discarded – undo
133 133
         $results = [];
134 134
         $line = $objFile->getPreviousLine();
135 135
         while ($line !== false && ($i++ < $cut)) {
136
-            if (strstr($line, '[' . $tag . ']')) {
136
+            if (strstr($line, '['.$tag.']')) {
137 137
                 $results[] = $line;
138 138
             }
139 139
             $line = $objFile->getPreviousLine();
140 140
         }
141 141
 
142
-        $results[] = 'Searched ' . $i . ' lines backward. ' . count($results) . ' lines found.';
142
+        $results[] = 'Searched '.$i.' lines backward. '.count($results).' lines found.';
143 143
         $results = array_reverse($results);
144 144
         return $results;
145 145
     }
Please login to merge, or discard this patch.
lib/Config/Logpeek.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@
 block discarded – undo
43 43
     {
44 44
         $configUtils = new Utils\Config();
45 45
         $configDir = $configUtils->getConfigDir();
46
-        $yamlConfig = Yaml::parse(file_get_contents($configDir . '/' . $defaultConfigFile)) ?? [];
46
+        $yamlConfig = Yaml::parse(file_get_contents($configDir.'/'.$defaultConfigFile)) ?? [];
47 47
         if (isset($yamlConfig['logFile'])) {
48 48
             $this->setLogfile($yamlConfig['logFile']);
49 49
         } else {
50 50
             $config = Configuration::getInstance();
51 51
             $loggingDir = $config->getPathValue('loggingdir', 'log/');
52
-            $this->setLogfile($loggingDir . $config->getString('logging.logfile', 'simplesamlphp.log'));
52
+            $this->setLogfile($loggingDir.$config->getString('logging.logfile', 'simplesamlphp.log'));
53 53
         }
54 54
 
55 55
         if (isset($yamlConfig['lines'])) {
Please login to merge, or discard this patch.