sponsor Vim development Vim logo Vim Book Ad

phpqa : Run PHP QA tools and show highlighted results

 script karma  Rating 22/11, Downloaded by 2876  Comments, bugs, improvements  Vim wiki

created by
Jon Cairns
 
script type
utility
 
description
This is a plugin for Vim that integrates PHP quality checking tools, to allow you to code to a particular standard and easily spot errors and violations.

It uses PHP linter to check for syntax errors, integrates with PHP Code Sniffer and PHP Mess Detector to check for coding standard violations, and reads clover code coverage files to mark lines of code that aren't covered by tests. By default, mess detector and code sniffer automatically run when a PHP file is saved, and it can be easily configured to load code coverage markers when a file is opened.

More information regarding configuration and usage can be found on the Github repository page: https://github.com/joonty/vim-phpqa
 
install details
This is easily installed using Vundle. Just add "Bundle 'joonty/vim-phpqa.git'" to your .vimrc and run "vim +BundleInstall +qall".

Otherwise, the files in each directory in the package should be added to the corresponding directory in your .vim/ folder.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
phpqa-0.7.0.tar.gz 0.7.0 2015-10-15 7.0 Jon Cairns A plethora of changes! Take a look at https://github.com/joonty/vim-phpqa/issues?q=milestone%3A%22Version+0.7.0%22+is%3Aclosed for a list of issues and pull requests that have gone into this release.
phpqa-0.6.tgz 0.6 2012-05-11 7.0 Jon Cairns Improved code coverage efficiency, and option to stop the location list opening automatically after mess detector/codesniffer violations are found.
phpqa-0.5.tgz 0.5 2012-05-09 7.0 Jon Cairns Major reworking to vastly improve speed. No longer needs Perl, but code coverage support is supplied by Python.
phpqa-0.4.tgz 0.4 2012-03-28 7.0 Jon Cairns Added clover code coverage support, and made everything more configurable.
phpqa.tgz 0.3 2012-03-27 7.0 Jon Cairns Initial upload
ip used for rating: 34.228.239.171

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github