Skip to content

Commit be0f597

Browse files
authored
Add extra newline after <?php in saver classes
* Add extra newline after `<?php` in src/TranslationSaver.php * Add extra newline after `<?php` in src/SourceSaver.php
2 parents f4e63b9 + d232a54 commit be0f597

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/SourceSaver.php

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function call($sourceEdit, $sourceLocale)
6060
// Leave the extra newline at the end
6161
$fileContent = <<<'EOT'
6262
<?php
63+
6364
return {{translations}};
6465

6566
EOT;

src/TranslationSaver.php

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ private function save($locale, $group, $translations)
7171
// Leave the extra newline at the end
7272
$fileContent = <<<'EOT'
7373
<?php
74+
7475
return {{translations}};
7576

7677
EOT;

0 commit comments

Comments
 (0)