GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phpstan/vim-phpstan: A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
autoload
autoload
 
 
plugin
plugin
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
vim-phpstan-qf.png
vim-phpstan-qf.png
 
 

Repository files navigation

vim-phpstan

A Vim plugin for PHPStan. It calls phpstan to do static analysis of your PHP code and displays the errors in Vim's quickfix list.

See :help quickfix for more on how to use the quickfix.

Usage

Call the PHPStanAnalyse command and pass the directories you want analysed as arguments:

:PHPStanAnalyse src test

And the quickfix list will be populated with something like this:

vim phpstan quickfix screenshot

Installation

Using vim-plug:

Plug 'phpstan/vim-phpstan'

Configuration

You can configure the level PHPStan uses. By default the level is 2.

let g:phpstan_analyse_level = 4 in your .vimrc file to change the level to fit your needs.

Assumptions

This plugin assumes that the phpstan executable is available in the $PATH.

Authors

Authors
Robert Basic https://github.com/robertbasic

About

A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.

Topics

phpphpstanstatic-analysisvimvim-pluginvim-plugins

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

30 stars

Watchers

3 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.