We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4457f0 + cd33d7d commit aef4f4bCopy full SHA for aef4f4b
1 file changed
flymake-phpcs.el
@@ -51,6 +51,11 @@
51
:group 'flymake-phpcs
52
:type 'string)
53
54
+(defcustom flymake-phpcs-options "-w"
55
+ "Configure phpcs options."
56
+ :group 'flymake-phpcs
57
+ :type 'string)
58
+
59
(defcustom flymake-phpcs-location 'inplace
60
"Where to create the temporary copy: one of 'tempdir or 'inplace (default)."
61
:type `(choice
@@ -61,6 +66,7 @@
66
(defun flymake-phpcs-build-command-line (filename)
62
67
"Construct a command that flymake can use to check PHP source."
63
68
(list flymake-phpcs-command "--report=csv"
69
+ flymake-phpcs-options
64
70
(concat "--standard="
65
71
(if (string-match "/" flymake-phpcs-standard)
72
(expand-file-name flymake-phpcs-standard)
0 commit comments