From 57bf315793535d326c676b988b7e4c35947a34a4 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 3 May 2012 01:08:47 +0400 Subject: [PATCH] more on code standard --- docs/code_style.md | 58 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/docs/code_style.md b/docs/code_style.md index a336034..ad3863f 100644 --- a/docs/code_style.md +++ b/docs/code_style.md @@ -5,25 +5,30 @@ This code standard is used for all the Yii2 core classes and can be applied to your application in order to achieve consistency among your team. Also it will help in case you want to opensource code. - PHP file formatting ------------------- ### General -- Do not use `?>` for files containing PHP code only. +- Do not end file with `?>` if it contains PHP code only. +- Do not use `