Skip to content

Add pre-commit hook - #4644

Open
apeschar wants to merge 1 commit into
phan:v5from
apeschar:pre-commit
Open

apeschar wants to merge 1 commit into
phan:v5from
apeschar:pre-commit

Conversation

@apeschar

@apeschar apeschar commented Jan 6, 2022

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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