Passed
Pull Request — master (#3)
by Tim
03:11 queued 48s
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         if ($logFile === null) {
48 48
             $config = Configuration::getInstance();
49 49
             $loggingDir = $config->getPathValue('loggingdir', 'log/');
50
-            $logFile = $loggingDir . $config->getString('logging.logfile', 'simplesamlphp.log');
50
+            $logFile = $loggingDir.$config->getString('logging.logfile', 'simplesamlphp.log');
51 51
         }
52 52
 
53 53
         $this->setLogFile($logFile);
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         $configUtils = new Utils\Config();
125 125
         $configDir = $configUtils->getConfigDir();
126
-        include($configDir . '/' . $configFile);
126
+        include($configDir.'/'.$configFile);
127 127
 
128 128
         return static::fromArray($config ?? []);
129 129
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     {
138 138
         $configUtils = new Utils\Config();
139 139
         $configDir = $configUtils->getConfigDir();
140
-        $yamlConfig = Yaml::parse(file_get_contents($configDir . '/' . $configFile));
140
+        $yamlConfig = Yaml::parse(file_get_contents($configDir.'/'.$configFile));
141 141
 
142 142
         return static::fromArray($yamlConfig ?? []);
143 143
     }
Please login to merge, or discard this patch.