-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6177eb
commit 1e88a73
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
|
||
;; Author: Nicolas Lamirault <[email protected]> | ||
;; URL: https://github.com/nlamirault/phpunit.el | ||
;; Version: 0.3.0 | ||
;; Version: 0.4.0 | ||
;; Keywords: php, tests, phpunit | ||
|
||
;; Package-Requires: ((s "1.9.0") (f "0.16.0") (pkg-info "0.5")) | ||
|
||
;;; License: | ||
|
||
;; Copyright (C) 2014 Nicolas Lamirault <[email protected]> | ||
;; Copyright (C) 2014, 2015 Nicolas Lamirault <[email protected]> | ||
|
||
;; This program is free software; you can redistribute it and/or | ||
;; modify it under the terms of the GNU General Public License | ||
|
@@ -37,9 +37,6 @@ | |
;; (define-key web-mode-map (kbd "C-x c") 'phpunit-current-class) | ||
;; (define-key web-mode-map (kbd "C-x p") 'phpunit-current-project) | ||
|
||
;; Configuration | ||
(setq phpunit-configuration-file "phpunit.xml") | ||
|
||
;;; Code: | ||
|
||
(require 's) | ||
|
@@ -49,8 +46,6 @@ | |
"PHPUnit utility" | ||
:group 'php) | ||
|
||
|
||
|
||
(defcustom phpunit-program "phpunit" | ||
"PHPUnit binary path." | ||
:type 'file | ||
|
@@ -81,6 +76,11 @@ | |
:type 'boolean | ||
:group 'phpunit) | ||
|
||
(defcustom phpunit-configuration-file "phpunit.xml" | ||
"The PHPUnit configuration file." | ||
:type 'string | ||
:group 'phpunit) | ||
|
||
|
||
(defconst php-beginning-of-defun-regexp | ||
"^\\s-*\\(?:\\(?:abstract\\|final\\|private\\|protected\\|public\\|static\\)\\s-+\\)*function\\s-+&?\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-*(" | ||
|