We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403f1e1 commit 9627260Copy full SHA for 9627260
ob-phpstan.el
@@ -50,9 +50,8 @@
50
"Org mode fish evaluate function"
51
(let ((tmp-file (org-babel-temp-file "phpstan-" ".php"))
52
(body (concat "<?php\n" body))
53
- (level org-babel-phpstan-level))
+ (level (or (cdr (assoc :level params)) org-babel-phpstan-level)))
54
(with-temp-file tmp-file (insert (org-babel-expand-body:generic body params)))
55
-
56
(org-babel-eval (format "%s analyze %s --level %s"
57
org-babel-phpstan-command
58
(org-babel-process-file-name tmp-file)
0 commit comments