From: Sarah Hoffmann Date: Sat, 21 Jul 2018 06:47:37 +0000 (+0200) Subject: add a note about variable naming for PHP X-Git-Tag: v3.2.0~42 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/81b90c9f15d05bc7bd7eb0eabe29b315a7778ff2 add a note about variable naming for PHP --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 242a9d6f..cd8d1cc1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,6 +78,8 @@ are in process of consolidating the style. The following rules apply: * no spaces after opening and before closing bracket * leave out space between a function name and bracket but add one between control statement(if, while, etc.) and bracket + * for PHP variables use CamelCase with a prefixing letter indicating the type + (i - integer, f - float, a - array, s - string, o - object) The coding style is enforced with PHPCS and can be tested with: