From 1b31eeb62608ab718e313b838fbe71784d005953 Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Wed, 11 Feb 2015 16:01:21 +0200 Subject: [PATCH] Rephrased example how run phpcs manually from shell. --- _posts/02-01-01-Code-Style-Guide.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_posts/02-01-01-Code-Style-Guide.md b/_posts/02-01-01-Code-Style-Guide.md index ceab589..a3180f5 100644 --- a/_posts/02-01-01-Code-Style-Guide.md +++ b/_posts/02-01-01-Code-Style-Guide.md @@ -41,8 +41,9 @@ And you can run phpcs manually from shell: phpcs -sw --standard=PSR2 file.php It will show errors and descriptions how to fix them. -And it can be very helpful to build own git hook, that will be avoid push branches into your repo that -violate standards. +It can also be helpful to include this command in a git hook. +That way branches which contain violations against the chosen standard cannot enter the repository +until those violations have been fixed. English is preferred for all symbol names and code infrastructure. Comments may be written in any language easily readable by all current and future parties who may be working on the codebase.