Re: Making sure an include file works
| From: | Aschwin Wesselius | Date: | Mon, 03 Mar 2008 07:57:45 +0000 |
| Subject: | Re: Making sure an include file works | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270847@lists.php.net to get a copy of this message | ||
Chris wrote:
Hi, Do you mind sharing a source where I can find more information about pre-commit hooks (and especially about syntax checking hooks)? We use subversion here and it would be great to use such hooks. Thanks. Aschwin Wesseliushave you considered installing a local copy of php (and suitable webserver) so you can test it there?I'd also suggest using a revision control system (subversion or git) and have pre-commit hooks to check the syntax. It's a bit of work to set up but once it's done you'll notice a difference - just knowing how often you're changing things can be surprising.