1

just because i think we are not using the full potential of all possibilites here yet: What Pre/Post Commit Hooks (i.e. PHPUnit, PHPDoc) do you people use on your Team Git/SVN Servers? By now we do use a minification script (sadly only removes unneccessary space and comments and merges files), PHPDoc, PHPUnit and that's it already.

Any good ideas that might be usefull as well?

asked Aug 10, 2011 at 10:39

2 Answers 2

2

We use a Jenkins setup that runs Sebastiann Bergman's default template, including pdepend, phploc, phpmd, to analyse style quality, architecture quality and the likes.

http://jenkins-php.org/

We've already greatly improved the quality of our codebase since we started using it a few weeks ago :)

answered Aug 12, 2011 at 6:37
1
  • Actually someone over here already started working with Jenkins a day before i posted this question. I too find it very usefull so far. Thanks. Commented Aug 15, 2011 at 10:02
0

I use a pre-commit hook that checks for proper indentation and styling.

answered Aug 10, 2011 at 11:09
1
  • Well this really can't have only one valid answer i guess and i aparently don't have enough reputation for upvoting yet but i'd like to point out that i do thank you for your answer. Commented Aug 15, 2011 at 10:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.