File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,10 @@ INTEGER or STRING
120120 Number of PHPStan rule level.
121121
122122max
123- The highest of PHPStan rule level." )
123+ The highest of PHPStan rule level.
124+
125+ NIL
126+ Use rule level specified in `phpstan' configuration file." )
124127 (make-variable-buffer-local 'phpstan-level )
125128 (put 'phpstan-level 'safe-local-variable
126129 #' (lambda (v ) (or (null v)
@@ -210,7 +213,7 @@ it returns the value of `SOURCE' as it is."
210213(defun phpstan-get-level ()
211214 " Return path to phpstan configure file or `NIL' ."
212215 (cond
213- ((null phpstan-level) " 0 " )
216+ ((null phpstan-level) nil )
214217 ((integerp phpstan-level) (int-to-string phpstan-level))
215218 ((symbolp phpstan-level) (symbol-name phpstan-level))
216219 (t phpstan-level)))
You can’t perform that action at this time.
0 commit comments