Skip to content

Junker/flycheck-php-noverify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Flycheck checker for PHP using Noverify linter

MELPA

Fast PHP linter for Flycheck.

Noverify - Pretty fast linter (code static analysis utility) for PHP

Requirements

Installed NoVerify linter.

Installation

From MELPA:

M-x package-install flycheck-php-noverify

For use-package user:

(use-package flycheck-php-noverify
  :ensure t
  :config
  (progn
    (flycheck-php-noverify-setup)))

Configuration

;; Excluded checks. 
;; default: '("undefinedConstant" "undefinedClass" "undefinedFunction" 
;;            "undefinedMethod" "undefinedProperty" "undefinedTrait")
(add-to-list 'flycheck-php-noverify-exclude-checks "constCase")

;; Allowed checks. default: nil
(setq flycheck-php-noverify-allow-checks '("unused"))

;; Analyze as PHP 7. default: nil
(setq flycheck-php-noverify-php7 t)

;; additional 'noverify' args
(setq flycheck-php-noverify-args '("--cores" "4"))

About

Flycheck checker for PHP using Noverify linter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published