php: add phpunit.el

This commit is contained in:
Henrik Lissner 2016-05-19 03:18:57 -04:00
parent c432c961a4
commit 9823e68585
2 changed files with 14 additions and 4 deletions

9
Cask
View file

@ -192,11 +192,12 @@
(depends-on "moonscript" :git "https://github.com/k2052/moonscript-mode")
;; PHP -- modules/module-php.el
(depends-on "php-mode")
(depends-on "php-refactor-mode")
(depends-on "php-boris")
(depends-on "php-extras")
(depends-on "hack-mode" :git "https://github.com/beefsack/hack-mode")
(depends-on "php-mode")
(depends-on "php-extras")
(depends-on "php-refactor-mode")
(depends-on "phpunit")
(depends-on "php-boris")
;; Processing -- modules/module-processing.el
(depends-on "processing-mode")

View file

@ -63,6 +63,15 @@
(extract-method "extract method" t)
(rename-local-variable "rename local variable" nil))))
(use-package phpunit
:commands (phpunit-current-test phpunit-current-class phpunit-current-project)
:config
(map! :map php-mode-map
(:localleader
:n "tr" 'phpunit-current-project
:n "ta" 'phpunit-current-class
:n "ts" 'phpunit-current-test)))
(use-package php-boris :commands php-boris) ; PHP REPL
;;