Skip to content

matchory/pre-commit-psalm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-psalm

A pre-commit hook for psalm.

This adds support for running vimeo/psalm as a pre-commit hook in your PHP project.

Usage

Using Psalm with pre-commit

Add this to your .pre-commit-config.yaml:

- repo: https://github.com/matchory/pre-commit-psalm
  rev: v1.0.0
  hooks:
    - id: psalm

Or, to enable automatic fixing with Psalter:

- repo: https://github.com/matchory/pre-commit-psalm
  rev: v1.0.0
  hooks:
    - id: psalm
      args: [ "--alter" ]

License

MIT

About

Pre-commit hooks for running Psalm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages