php: add phpunit.el
This commit is contained in:
parent
c432c961a4
commit
9823e68585
2 changed files with 14 additions and 4 deletions
9
Cask
9
Cask
|
@ -192,11 +192,12 @@
|
||||||
(depends-on "moonscript" :git "https://github.com/k2052/moonscript-mode")
|
(depends-on "moonscript" :git "https://github.com/k2052/moonscript-mode")
|
||||||
|
|
||||||
;; PHP -- modules/module-php.el
|
;; 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 "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
|
;; Processing -- modules/module-processing.el
|
||||||
(depends-on "processing-mode")
|
(depends-on "processing-mode")
|
||||||
|
|
|
@ -63,6 +63,15 @@
|
||||||
(extract-method "extract method" t)
|
(extract-method "extract method" t)
|
||||||
(rename-local-variable "rename local variable" nil))))
|
(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
|
(use-package php-boris :commands php-boris) ; PHP REPL
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue