Some warnings are thrown by unit tests
Concerned version
Version: %2.0.14
Platform: All
Summary
Warnings are still existing.
Logs
maudoux@L520[~/lemonldap-ng/lemonldap-ng-portal](v2.0=)$ prove -v t/01-WebAuthn.t
t/01-WebAuthn.t .. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/<script type="application/init">\s*({ <-- HERE "request"[^<]*})\s*</script>/ at t/01-WebAuthn.t line 83.
ok 1 - use Lemonldap::NG::Portal::Main;
ok 2 - Portal object
maudoux@L520[~/lemonldap-ng/lemonldap-ng-portal](v2.0=)$ prove -v t/36-Combination-with-Choice.t
t/36-Combination-with-Choice.t ..
ok 1 - use Lemonldap::NG::Portal::Main;
...
ok 39 - No pdata
ok 40 - Disconnect request
ok 41 - Response is 401
Use of uninitialized value $r in 1's complement (~) at /home/maudoux/lemonldap-ng/lemonldap-ng-portal/../lemonldap-ng-common/blib/lib/Lemonldap/NG/Common/Combination/Parser.pm line 91.
Use of uninitialized value $r in bitwise and (&) at /home/maudoux/lemonldap-ng/lemonldap-ng-portal/../lemonldap-ng-common/blib/lib/Lemonldap/NG/Common/Combination/Parser.pm line 91.
Use of uninitialized value $r in numeric eq (==) at /home/maudoux/lemonldap-ng/lemonldap-ng-portal/../lemonldap-ng-common/blib/lib/Lemonldap/NG/Common/Combination/Parser.pm line 95.
ok 42 - Try to connect with login dwho
ok 43 - Response status is 401
ok 44 - Content is JSON
ok 45 - Error code is 5
maudoux@L520[~/lemonldap-ng/lemonldap-ng-portal](v2.0=)$ prove -v t/79-2F-Yubikey.t
t/79-2F-Yubikey.t ..
ok 1 - use Lemonldap::NG::Portal::Main;
ok 2 - Portal object
...
ok 16 - URI match
ok 17 - Field "token" is defined
ok 18 - Field "code" is defined
Use of uninitialized value $yubikey in index at /home/maudoux/lemonldap-ng/lemonldap-ng-portal/blib/lib/Lemonldap/NG/Portal/2F/Yubikey.pm line 180.
ok 19 - Post code
ok 20 - Bad OTP code
Backends used
Demo
Possible fixes
See relative MR (!253 (merged))