Skip to content

Commit

Permalink
Make enable php-mode-lineup-cascaded-calls in default
Browse files Browse the repository at this point in the history
refs #563
  • Loading branch information
zonuexe committed Sep 16, 2019
1 parent c08d1fc commit 8c960e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ but only if the setting is enabled"
(tab-width . ,(default-value 'tab-width))
(fill-column . ,(default-value 'fill-column))
(show-trailing-whitespace . ,(default-value 'show-trailing-whitespace))
(php-mode-lineup-cascaded-calls . t)
(php-style-delete-trailing-whitespace . nil)))

(defun php-enable-default-coding-style ()
Expand All @@ -687,6 +688,7 @@ but only if the setting is enabled"
(tab-width . 2)
(fill-column . 78)
(show-trailing-whitespace . t)
(php-mode-lineup-cascaded-calls . nil)
(php-style-delete-trailing-whitespace . t)))

(defun php-enable-drupal-coding-style ()
Expand All @@ -713,6 +715,7 @@ but only if the setting is enabled"
'("php"
(c-offsets-alist . ((statement-cont . php-lineup-hanging-semicolon)))
(c-indent-comments-syntactically-p . t)
(php-mode-lineup-cascaded-calls . nil)
(fill-column . 78)))

(defun php-enable-symfony2-coding-style ()
Expand All @@ -727,6 +730,7 @@ but only if the setting is enabled"
(c-indent-comments-syntactically-p . t)
(fill-column . 78)
(show-trailing-whitespace . t)
(php-mode-lineup-cascaded-calls . nil)
(php-style-delete-trailing-whitespace . t)))

(defun php-enable-psr2-coding-style ()
Expand Down

0 comments on commit 8c960e5

Please sign in to comment.