| @@ -83,11 +83,11 @@ discard block | ||
| 83 | 83 | $result = ''; | 
| 84 | 84 | |
| 85 | 85 |          if ($entry['tcomment'] !== '') { | 
| 86 | - $result .= "# " . $entry['tcomment'] . "\n"; | |
| 86 | + $result .= "# ".$entry['tcomment']."\n"; | |
| 87 | 87 | } | 
| 88 | 88 | |
| 89 | 89 |          if ($entry['ccomment'] !== '') { | 
| 90 | - $result .= '#. ' . $entry['ccomment'] . "\n"; | |
| 90 | + $result .= '#. '.$entry['ccomment']."\n"; | |
| 91 | 91 | } | 
| 92 | 92 | |
| 93 | 93 | return $result; | 
| @@ -103,11 +103,11 @@ discard block | ||
| 103 | 103 | $result = ''; | 
| 104 | 104 | |
| 105 | 105 |          if (count($entry['flags']) > 0) { | 
| 106 | -            $result .= "#, " . implode(', ', $entry['flags']) . "\n"; | |
| 106 | +            $result .= "#, ".implode(', ', $entry['flags'])."\n"; | |
| 107 | 107 | } | 
| 108 | 108 | |
| 109 | 109 |          if (isset($entry['@'])) { | 
| 110 | - $result .= "#@ " . $entry['@'] . "\n"; | |
| 110 | + $result .= "#@ ".$entry['@']."\n"; | |
| 111 | 111 | } | 
| 112 | 112 | |
| 113 | 113 | return $result; | 
| @@ -124,7 +124,7 @@ discard block | ||
| 124 | 124 | |
| 125 | 125 |          if (count($entry['references']) > 0) { | 
| 126 | 126 |              foreach ($entry['references'] as $ref) { | 
| 127 | - $result .= '#: ' . $ref . "\n"; | |
| 127 | + $result .= '#: '.$ref."\n"; | |
| 128 | 128 | } | 
| 129 | 129 | } | 
| 130 | 130 | |
| @@ -141,7 +141,7 @@ discard block | ||
| 141 | 141 | $result = ''; | 
| 142 | 142 | |
| 143 | 143 |          if ($entry['msgctxt'] !== '') { | 
| 144 | - $result .= 'msgctxt ' . $this->cleanExport($entry['msgctxt']) . "\n"; | |
| 144 | + $result .= 'msgctxt '.$this->cleanExport($entry['msgctxt'])."\n"; | |
| 145 | 145 | } | 
| 146 | 146 | |
| 147 | 147 | return $result; | 
| @@ -171,13 +171,13 @@ discard block | ||
| 171 | 171 | return $result; | 
| 172 | 172 | } | 
| 173 | 173 | |
| 174 | - $result .= $type . ' '; | |
| 174 | + $result .= $type.' '; | |
| 175 | 175 |          if (is_array($entry[$type])) { | 
| 176 | 176 |              foreach ($entry[$type] as $id) { | 
| 177 | - $result .= $this->cleanExport($id) . "\n"; | |
| 177 | + $result .= $this->cleanExport($id)."\n"; | |
| 178 | 178 | } | 
| 179 | 179 |          } else { | 
| 180 | - $result .= $this->cleanExport($entry[$type]) . "\n"; | |
| 180 | + $result .= $this->cleanExport($entry[$type])."\n"; | |
| 181 | 181 | } | 
| 182 | 182 | |
| 183 | 183 | return $result; | 
| @@ -211,7 +211,7 @@ discard block | ||
| 211 | 211 | } | 
| 212 | 212 | } | 
| 213 | 213 | |
| 214 | - $result .= $this->cleanExport($value) . "\n"; | |
| 214 | + $result .= $this->cleanExport($value)."\n"; | |
| 215 | 215 | } | 
| 216 | 216 | |
| 217 | 217 | return $result; | 
| @@ -236,7 +236,7 @@ discard block | ||
| 236 | 236 | |
| 237 | 237 | $string = str_replace(array_keys($replaces), array_values($replaces), $string); | 
| 238 | 238 | |
| 239 | -        $po = $quote . implode("${slash}n$quote$newline$quote", explode($newline, $string)) . $quote; | |
| 239 | +        $po = $quote.implode("${slash}n$quote$newline$quote", explode($newline, $string)).$quote; | |
| 240 | 240 | |
| 241 | 241 | // remove empty strings | 
| 242 | 242 |          return str_replace("$newline$quote$quote", '', $po); |