Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

combine phpmd-extension and git hook #7

Closed
StephanKrauss opened this issue Jul 20, 2018 · 3 comments
Closed

combine phpmd-extension and git hook #7

StephanKrauss opened this issue Jul 20, 2018 · 3 comments

Comments

@StephanKrauss
Copy link

Hello,

great work.
Is there a way to combine phpmd-extension with a git hook ?
I will define same standards and looking for a git hook.
I will use
https://github.com/edorian/php-coding-standard-generator
to define standards in the phpmd.xml.

Your sincerly

Stephan

@StephanKrauss StephanKrauss changed the title combine phpmd-extension combine phpmd-extension and git hook Jul 20, 2018
@mi-schi
Copy link
Owner

mi-schi commented Jul 21, 2018

Hello, yes it is possible. I search for a script.

@StephanKrauss
Copy link
Author

StephanKrauss commented Jul 23, 2018

Hello,

At the moment I'm testing the use of edorian / php-coding-standard-generator.

A simple example can be found at: http://standard.stephankrauss.de

I have a dream. I want to test the code quality with simple means. Both in PhpStorm with a plugin and in Git with a hook.

Greetings from Leipzig to Dresden.

Greeting Stephan

@mi-schi
Copy link
Owner

mi-schi commented Jul 28, 2018

Hi,

you can inspirate here: https://github.com/tommy-muehle/php-hooks

A friend of mine recomment this tool:
https://github.com/phpro/grumphp

I hope it helps. I'm not similar with PHP since one year.

@mi-schi mi-schi closed this as completed Jul 28, 2018
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

No branches or pull requests

2 participants