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:
@@ -9,9 +9,8 @@
|
||||
*/
|
||||
|
||||
// if debug is set to true, console log messages are printed
|
||||
if (!DEBUG)
|
||||
{
|
||||
if (!DEBUG) {
|
||||
$($H(window.console)).each(function(w) {
|
||||
window.console[w.key] = function() {}
|
||||
window.console[w.key] = function() {};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user