[Koha-bugs] [Bug 30002] Add project-level perltidyrc
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 16 09:01:22 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30002
--- Comment #43 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(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.
More information about the Koha-bugs
mailing list