Skip to content

Commit aef4f4b

Browse files
author
Akiha Senda
committed
Merge pull request #4 from yoshida-mediba/master
phpcsにオプションを付けれるようにした
2 parents e4457f0 + cd33d7d commit aef4f4b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

flymake-phpcs.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
:group 'flymake-phpcs
5252
:type 'string)
5353

54+
(defcustom flymake-phpcs-options "-w"
55+
"Configure phpcs options."
56+
:group 'flymake-phpcs
57+
:type 'string)
58+
5459
(defcustom flymake-phpcs-location 'inplace
5560
"Where to create the temporary copy: one of 'tempdir or 'inplace (default)."
5661
:type `(choice
@@ -61,6 +66,7 @@
6166
(defun flymake-phpcs-build-command-line (filename)
6267
"Construct a command that flymake can use to check PHP source."
6368
(list flymake-phpcs-command "--report=csv"
69+
flymake-phpcs-options
6470
(concat "--standard="
6571
(if (string-match "/" flymake-phpcs-standard)
6672
(expand-file-name flymake-phpcs-standard)

0 commit comments

Comments
 (0)