Skip to content

Commit

Permalink
Update configuration file setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nlamirault committed Mar 2, 2015
1 parent b6177eb commit 1e88a73
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions phpunit.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -49,8 +46,6 @@
"PHPUnit utility"
:group 'php)



(defcustom phpunit-program "phpunit"
"PHPUnit binary path."
:type 'file
Expand Down Expand Up @@ -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-*("
Expand Down

0 comments on commit 1e88a73

Please sign in to comment.