@@ -133,7 +133,7 @@ |
||
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. |
@@ -133,13 +133,13 @@ |
||
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 | } |
@@ -48,7 +48,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |