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