   (set-formatter! 'php-mode #'php-cs-fixer-fix)
   (set-ligatures! 'php-mode
     ;; Functional
-    :lambda "function()"
+    :lambda "function()" :lambda "fn"
     :def "function"
     ;; Types
     :null "null"


(defvar +php--company-backends nil
  "List of company backends to use in `php-mode'.")

(after! projectile
  (add-to-list 'projectile-project-root-files "composer.json"))

(def-project-mode! +php-composer-mode
  :modes '(web-mode php-mode)
  :files ("composer.json"))

(def-project-mode! +phpunit-docker-compose-mode
  :modes '(php-mode docker-compose-mode)
  :files (and "phpunit.xml" "docker-compose.yml")
  :on-enter
  (setq phpunit-args `("exec" ,+php/default-docker-container "php" "vendor/bin/phpunit")
        phpunit-executable (executable-find "docker-compose")))
