From de00da24b4be8db49d6fcc3aee814219833cfa2e Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 30 Jan 2019 20:53:48 +0100 Subject: [PATCH] Sync new lines at the end of the files This patch syncs new lines at the end of the files across the source code. According to POSIX [1] a line is a sequence of zero or more `non- ` characters plus a terminating `` character. Although it is not mandatory for all files to have a single final new line, this patch simplifes and syncs the source code files where possible to have a single final new line either using a `LF` or `CRLF` character as used prior to this patch in particular file. This patch also makes editing simpler in certain editors which automatically or with `.editorconfig` add final new lines to files. Some editors even automatically trim end of the files to have only single new line. Refs: [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 --- drush/drush.yml | 2 +- drush/sites/self.site.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drush/drush.yml b/drush/drush.yml index de78500f05..a8cbd00730 100644 --- a/drush/drush.yml +++ b/drush/drush.yml @@ -3,4 +3,4 @@ # # Docs at https://github.com/drush-ops/drush/blob/master/examples/example.drush.yml # -# Edit or remove this file as needed. \ No newline at end of file +# Edit or remove this file as needed. diff --git a/drush/sites/self.site.yml b/drush/sites/self.site.yml index cf57d09cf5..fda7194097 100644 --- a/drush/sites/self.site.yml +++ b/drush/sites/self.site.yml @@ -11,4 +11,4 @@ # host: stage.domain.com # user: www-admin # root: /path/to/drupal -# uri: http://stage.example.com \ No newline at end of file +# uri: http://stage.example.com