Skip to content

Commit d3a7a51

Browse files
committed
Update README about Flymake
1 parent a93b408 commit d3a7a51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.org

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ Emacs interface to [[https://github.com/phpstan/phpstan][PHPStan]], includes che
2424
#+END_SRC
2525

2626
*** For Flymake user
27-
The function for flymake will be implemented soon. You do not have to depend on flycheck.
27+
#+BEGIN_SRC emacs-lisp
28+
(add-hook 'php-mode-hook #'flymake-phpstan-turn-on)
29+
#+END_SRC
30+
2831
*** Using Docker (phpstan/docker-image)
2932
Install [[https://www.docker.com/get-started][Docker]] and [[https://hub.docker.com/r/phpstan/phpstan][phpstan/phpstan image]].
3033

0 commit comments

Comments
 (0)