All Projects → phpstan → vim-phpstan

phpstan / vim-phpstan

Licence: MIT license
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.

Programming Languages

PHP
23972 projects - #3 most used programming language
Vim Script
2826 projects

Projects that are alternatives of or similar to vim-phpstan

Ale
Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Stars: ✭ 11,380 (+43669.23%)
Mutual labels:  vim-plugin, vim-plugins
Exit Vim
Vim plugin that exits Vim on startup
Stars: ✭ 176 (+576.92%)
Mutual labels:  vim-plugin, vim-plugins
Vimux
easily interact with tmux from vim
Stars: ✭ 1,980 (+7515.38%)
Mutual labels:  vim-plugin, vim-plugins
Fzf Filemru
File MRU with fzf.vim
Stars: ✭ 76 (+192.31%)
Mutual labels:  vim-plugin, vim-plugins
phpstan-extensions
Extensions for PHPStan
Stars: ✭ 61 (+134.62%)
Mutual labels:  static-analysis, phpstan
Vimpanel
A modern side panel for Vim
Stars: ✭ 97 (+273.08%)
Mutual labels:  vim-plugin, vim-plugins
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (+526.92%)
Mutual labels:  vim-plugin, vim-plugins
Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+2792.31%)
Mutual labels:  vim-plugin, vim-plugins
Nerdtree
A tree explorer plugin for vim.
Stars: ✭ 16,380 (+62900%)
Mutual labels:  vim-plugin, vim-plugins
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (+657.69%)
Mutual labels:  vim-plugin, vim-plugins
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (+119.23%)
Mutual labels:  vim-plugin, vim-plugins
phpstan-phpspec
PhpSpec extension for PHPStan
Stars: ✭ 19 (-26.92%)
Mutual labels:  static-analysis, phpstan
Vim Strand
A barebones Vim plugin manger written in Rust
Stars: ✭ 38 (+46.15%)
Mutual labels:  vim-plugin, vim-plugins
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (+384.62%)
Mutual labels:  vim-plugin, vim-plugins
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (+26.92%)
Mutual labels:  vim-plugin, vim-plugins
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+8030.77%)
Mutual labels:  vim-plugin, vim-plugins
Alchemist.vim
Elixir Integration Into Vim
Stars: ✭ 632 (+2330.77%)
Mutual labels:  vim-plugin, vim-plugins
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (+2546.15%)
Mutual labels:  vim-plugin, vim-plugins
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+630.77%)
Mutual labels:  vim-plugin, vim-plugins
vim-sass-colors
sass/scss/less/css color literal and color variable highlighting (works with imports)
Stars: ✭ 24 (-7.69%)
Mutual labels:  vim-plugin, vim-plugins

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].