Skip to content

Commit

Permalink
Add extra newline after <?php in saver classes
Browse files Browse the repository at this point in the history
* Add extra newline after `<?php` in src/TranslationSaver.php
* Add extra newline after `<?php` in src/SourceSaver.php
  • Loading branch information
didier-84 authored Jul 24, 2024
2 parents f4e63b9 + d232a54 commit be0f597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SourceSaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function call($sourceEdit, $sourceLocale)
// Leave the extra newline at the end
$fileContent = <<<'EOT'
<?php
return {{translations}};

EOT;
Expand Down
1 change: 1 addition & 0 deletions src/TranslationSaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private function save($locale, $group, $translations)
// Leave the extra newline at the end
$fileContent = <<<'EOT'
<?php
return {{translations}};

EOT;
Expand Down

0 comments on commit be0f597

Please sign in to comment.