[Koha-bugs] [Bug 30002] Add project-level perltidyrc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 2 15:05:12 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30002

--- Comment #21 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Jonathan Druart from comment #18)
> Remove the following 3 options that are not available in perltidy
> v20190601 that is the version shipped with bullseye
> --add-terminal-newline
> --valign-exclusion-list
> --extended-continuation-indentation

That's something I haven't considered : different versions of perltidy will
generate different code. For instance, vertical alignment of qw() after use is
on by default since v20220613.
Should we force usage of a specific version then ? Maybe add a version check in
the QA scripts too.

Also, since it's a developer-only tool, do we need to restrict ourselves to an
old version ?

(P.S. That doesn't change anything, but bullseye's version of perltidy is
v20200110, not v20190601)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list