https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30002
--- Comment #43 from Jonathan Druart <[email protected]> --- (In reply to Marcel de Rooy from comment #41) > It is not very clear what we exactly need to change now (or even why). > A simple example. > > IIRC we needed to do this (no space after if and before parenthesis, but > spaces around the condition): > if( $a ) { > But perltidy changes this to if ($a) { > Space after if, and no spaces around one condition. > > But hey, things change for > if( $a && $b ) { > This should be now: if ( $a && $b ) { > Spaces around multiple conditions. > > Similar thing for function calls: > Instead of test( 1 ) we now need test(1) > But test( 1, 2 ) is fine. If these are the default perltidy's rules and there are no consensus in the team, we must pick the default perltidy's behaviour. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
