Request for better use of whitespace in Yii code

The Yii source code would be much more readable if there was a little more whitespace. Especially adding a space after each punctuation mark and assignment would be a huge benefit.

Compare




$a=$b;

$user=new User;

$arr=array(1,2,3,'a','b','c');

array('allow', // allow admin user to perform 'admin' and 'delete' actions

	'actions'=>array('admin','delete'),

	'users'=>array('admin'),

),



To




$a = $b;

$user = new User;

$arr = array(1, 2, 3, 'a' ,'b' ,'c');

array('allow', // allow admin user to perform 'admin' and 'delete' actions

	'actions' => array('admin', 'delete'),

	'users' => array('admin'),

),



Without going into a coding standards debate (please keep your squiggly brackets where you like 'em), I’d like to know opinions of other users.

this IS a coding standard debate

http://www.yiiframework.com/forum/index.php?/topic/3667-coding-standard/

Thanks for the link, apparently I didn’t spend enough time searching for an existing topic. There is obviously no need to start a new thread. I will join the discussion you linked to.