   :config
   ;; Disable HTML compatibility in php-mode. `web-mode' has superior support for
   ;; php+html. Use the .phtml extension instead.
-  (setq php-template-compatibility nil)
+  (setq php-mode-template-compatibility nil)
 
   (set-docsets! 'php-mode "PHP" "PHPUnit" "Laravel" "CakePHP" "CodeIgniter" "Doctrine_ORM")
   (set-repl-handler! 'php-mode #'php-boris)


(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"))

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