Skip to content

Commit c6587be

Browse files
committed
Make phpstan-level default value NIL
1 parent 9345480 commit c6587be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

phpstan.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ NIL
114114

115115
;;;###autoload
116116
(progn
117-
(defvar phpstan-level "0"
117+
(defvar-local phpstan-level nil
118118
"Rule level of PHPStan.
119119
120120
INTEGER or STRING
@@ -125,7 +125,6 @@ max
125125
126126
NIL
127127
Use rule level specified in `phpstan' configuration file.")
128-
(make-variable-buffer-local 'phpstan-level)
129128
(put 'phpstan-level 'safe-local-variable
130129
#'(lambda (v) (or (null v)
131130
(integerp v)

0 commit comments

Comments
 (0)