 (defun php/init-phpunit ()
   (use-package phpunit
     :defer t))
-
-(defun php/post-init-flycheck ()
-  (add-hook 'php-mode-hook 'flycheck-mode))
-
-(when (configuration-layer/layer-usedp 'auto-completion)
-  (defun php/post-init-company ()
-    (spacemacs|add-company-hook php-mode)))

        php-mode
        phpcbf
        phpunit
        flycheck
        ))

(defun php/init-drupal-mode ()
  (use-package drupal-mode

        company
        drupal-mode
        eldoc
        flycheck
        ggtags
        helm-gtags
        php-auto-yasnippets
