Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add pre-commit hook#4644

Open
apeschar wants to merge 1 commit intophan:v5from
apeschar:pre-commit
Open

Add pre-commit hook#4644
apeschar wants to merge 1 commit intophan:v5from
apeschar:pre-commit

Conversation

@apeschar
Copy link

@apeschar apeschar commented Jan 6, 2022

This makes it easy to add Phan to a project using the pre-commit framework.

If pre-commit, PHP and Composer are installed, only a file .pre-commit-config.yaml is needed in the project:

repos:
- repo: git://github.com/phan/phan
  rev: e56968f2b00d19c3c8d3ee113b9d7255eca7cccd
  hooks:
  - id: phan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant