diff --git a/config.el b/config.el index b6c003e..52588f0 100644 --- a/config.el +++ b/config.el @@ -74,8 +74,10 @@ ;; Execute `garbage-collect' when emacs is idle for a specified time. ;; (run-with-idle-timer 300 t #'garbage-collect) +;; execute php-cs-fixer before save .php file ;; cleanup trailing whitespaces before save buffers. (add-hook! before-save + #'php-cs-fixer-before-save #'delete-trailing-whitespace #'whitespace-cleanup)