From dc63db1860e597b1201994a17fd7679bfdc9b0d8 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Wed, 4 Apr 2012 11:43:59 -0400 Subject: [ticket/10760] Fix numbering in php fun facts. PHPBB3-10760 --- git-tools/hooks/pre-commit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'git-tools') diff --git a/git-tools/hooks/pre-commit b/git-tools/hooks/pre-commit index ecc3a35ba3..03babe47cd 100755 --- a/git-tools/hooks/pre-commit +++ b/git-tools/hooks/pre-commit @@ -112,19 +112,19 @@ then # 2. as mentioned above, with all output turned on # php will print parse errors twice, one time on stdout # and one time on stderr. - # 2. it is possible to set both display_errors and log_errors + # 3. it is possible to set both display_errors and log_errors # to off. if this is done php will print the text # "Errors parsing " but will not say what # the errors are. useful behavior, this. - # 3. on my system display_errors defaults to on and + # 4. on my system display_errors defaults to on and # log_errors defaults to off, therefore providing # by default one copy of messages. your mileage may vary. - # 4. by setting display_errors=stderr and log_errors=on, + # 5. by setting display_errors=stderr and log_errors=on, # both sets of messages will be printed on stderr. - # 5. php-cgi binary, given display_errors=stderr and + # 6. php-cgi binary, given display_errors=stderr and # log_errors=on, still prints both sets of messages # on stderr, but formats one set as an html fragment. - # 6. your entry here? ;) + # 7. your entry here? ;) $echo_e "$errors" | grep "^Parse error:" if [ $? -ne 0 ] then -- cgit v1.2.1