-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.emacs.php.el
27 lines (22 loc) · 918 Bytes
/
.emacs.php.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(setq current-dir (file-name-directory load-file-name))
(setq liblocs (concat current-dir
"lib:"
current-dir
"../horde-release/horde-webmail/pear:"
"/usr/share/php5:"
"/usr/share/php"))
(setq logopts (concat " -d log_errors=1"
" -d error_log=\""
current-dir
"log/php-errors.log\" "))
(setq phpunit_pre "export XDEBUG_CONFIG=\"idekey=php_unit_run\"")
(setq phpunit_options "--verbose")
(setq phpunit_command "phpunit")
(setq phpunit_phpoptions "-d log_errors=1 -d error_log=\"php-errors.log\" -d error_reporting=\"E_ALL\"")
(setq phpunit_includes liblocs)
(setq phplint_command (concat "php -d include_path=\".:" liblocs "\" " current-dir "/../tools/test_lint --verbose"))
(setq phpoptions (concat liblocs
logopts
" -c \""
current-dir
"php.ini\" "))