| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | */ | 
| 48 | 48 | public function deny(Host $host) | 
| 49 | 49 |      { | 
| 50 | -        $this->addLine('deny from ' . $host->toString()); | |
| 50 | +        $this->addLine('deny from '.$host->toString()); | |
| 51 | 51 | } | 
| 52 | 52 | |
| 53 | 53 | /** | 
| @@ -57,7 +57,7 @@ discard block | ||
| 57 | 57 | */ | 
| 58 | 58 | public function undeny(Host $host) | 
| 59 | 59 |      { | 
| 60 | -        $this->removeLine('deny from ' . $host->toString()); | |
| 60 | +        $this->removeLine('deny from '.$host->toString()); | |
| 61 | 61 | } | 
| 62 | 62 | |
| 63 | 63 | /** | 
| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 | |
| 87 | 87 | $insertion = array(); | 
| 88 | 88 |          foreach ($lines as $line) { | 
| 89 | - $insertion[] = '#' . $line; | |
| 89 | + $insertion[] = '#'.$line; | |
| 90 | 90 | } | 
| 91 | 91 | |
| 92 | 92 | $this->writeLines($insertion); | 
| @@ -118,7 +118,7 @@ discard block | ||
| 118 | 118 |      { | 
| 119 | 119 |          $message = trim(preg_replace('/\s+/', ' ', $message)); | 
| 120 | 120 | |
| 121 | - $line = 'ErrorDocument 403 "' . $message . '"'; | |
| 121 | + $line = 'ErrorDocument 403 "'.$message.'"'; | |
| 122 | 122 | |
| 123 | 123 | $insertion = array_merge( | 
| 124 | 124 |              array('order allow,deny'), | 
| @@ -251,9 +251,9 @@ discard block | ||
| 251 | 251 |              if ($this->isEndOfSection($oldLine)) { | 
| 252 | 252 | $newLines = array_merge( | 
| 253 | 253 | $newLines, | 
| 254 | -                    array('# BEGIN ' . self::$sectionLabel), | |
| 254 | +                    array('# BEGIN '.self::$sectionLabel), | |
| 255 | 255 | $lines, | 
| 256 | -                    array('# END ' . self::$sectionLabel) | |
| 256 | +                    array('# END '.self::$sectionLabel) | |
| 257 | 257 | ); | 
| 258 | 258 | |
| 259 | 259 | $sectionExists = true; | 
| @@ -268,9 +268,9 @@ discard block | ||
| 268 | 268 |          if (!$sectionExists) { | 
| 269 | 269 | $newLines = array_merge( | 
| 270 | 270 | $oldLines, | 
| 271 | -                array('# BEGIN ' . self::$sectionLabel), | |
| 271 | +                array('# BEGIN '.self::$sectionLabel), | |
| 272 | 272 | $lines, | 
| 273 | -                array('# END ' . self::$sectionLabel) | |
| 273 | +                array('# END '.self::$sectionLabel) | |
| 274 | 274 | ); | 
| 275 | 275 | } | 
| 276 | 276 | |
| @@ -286,7 +286,7 @@ discard block | ||
| 286 | 286 | */ | 
| 287 | 287 | private function isBeginOfSection($line) | 
| 288 | 288 |      { | 
| 289 | - return strpos($line, '# BEGIN ' . self::$sectionLabel) === 0; | |
| 289 | + return strpos($line, '# BEGIN '.self::$sectionLabel) === 0; | |
| 290 | 290 | } | 
| 291 | 291 | |
| 292 | 292 | /** | 
| @@ -298,6 +298,6 @@ discard block | ||
| 298 | 298 | */ | 
| 299 | 299 | private function isEndOfSection($line) | 
| 300 | 300 |      { | 
| 301 | - return strpos($line, '# END ' . self::$sectionLabel) === 0; | |
| 301 | + return strpos($line, '# END '.self::$sectionLabel) === 0; | |
| 302 | 302 | } | 
| 303 | 303 | } |