You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main function of this package runs phan against a directory, and
returns all the results in a compilation buffer.
Type M-x phan-run-on-directory RET /directory/to/check RET to use it.
Flycheck checker
This is more an experiment than a production feature. Flycheck should
not be used to perform such heavy tasks.
First, load the flycheck checker:
(require'flycheck-phan)
Then, declare the variable phan-flycheck-directory in a
.dir-locals.el file in your project so that the checker is able to
know which sources should be analyzed:
This should be enough to have the flycheck checker run on your project.
Configuration
By default, this package will use git and composer to install a local phan version.
If you prefer to install and manage phan by yourself, just install
phan anywhere in your computer and customize the variable
phan-program-location to set the path to your phan executable.
Type M-x customize-group RET phan RET to see the other customization options.