PHP CodeStandard update

- all if/while/for/etc blocks have brackets on same line
- functions have brackets on new line
- no blocks without brackets
- all code starts on col 0 and there are no tab intends anymore

off: came case for classes and class methods
ignore: _ prefix functions (we can't change that anymore)
This commit is contained in:
2018-03-15 17:38:33 +09:00
parent 5226fbcfc3
commit 7d42256a30
42 changed files with 11623 additions and 12013 deletions
+10 -11
View File
@@ -1,13 +1,12 @@
<?
/********************************************************************
* AUTHOR: Clemens Schwaighofer
* CREATED: 2008/08/14
* SHORT DESCRIPTION:
* URL redirect header
* HISTORY:
*********************************************************************/
/********************************************************************
* AUTHOR: Clemens Schwaighofer
* CREATED: 2008/08/14
* SHORT DESCRIPTION:
* URL redirect header
* HISTORY:
*********************************************************************/
// print debug messages
echo $login->print_error_msg();
echo $cms->print_error_msg();
?>
// print debug messages
echo $login->print_error_msg();
echo $cms->print_error_msg();