From 4123a3fd6b2e6ba7cdcddd1c9aedb792f7eb27ca Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 9 Oct 2016 23:08:20 +0200 Subject: [PATCH] note phpcs command in contribution readme --- CONTRIBUTING.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.39.5