From 81b90c9f15d05bc7bd7eb0eabe29b315a7778ff2 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 21 Jul 2018 08:47:37 +0200 Subject: [PATCH] add a note about variable naming for PHP --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.39.5