Flycheck integration for Psalm.

Put the following into your .emacs file (~/.emacs.d/init.el)

    (defun my-php-mode-setup ()
      "My PHP-mode hook."
      (require 'flycheck-psalm)
      (flycheck-mode t))

    (add-hook 'php-mode-hook 'my-php-mode-setup)