From: Sarah Hoffmann Date: Sun, 9 Oct 2016 21:08:20 +0000 (+0200) Subject: note phpcs command in contribution readme X-Git-Tag: v3.0.0~109 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/4123a3fd6b2e6ba7cdcddd1c9aedb792f7eb27ca note phpcs command in contribution readme --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 68355663..d23b3392 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,9 +27,11 @@ are in process of consolodating the style. The following rules apply: * leave out space between a function name and bracket but add one between control statement(if, while, etc.) and bracket -This coding style must be applied to any new or changed code. You are also -welcome to fix the coding style of existing code but please submit separate -PRs for this. +The coding style is enforced with PHPCS and can be tested with: + +``` + phpcs --report-width=120 --colors */**.php +``` ## Testing