stable

Clone or download

Read-only

refactor: Use Neverthrow instead of null + pass-by-reference

Instead of having a function that returns a User or null + some errors passed by reference we now use Neverthrow. No functional changes in user registration form validation. Part of request #29605: Convert account registration pages to BurningParrot Change-Id: I682a1e55196b6ff54d9681830e5ec13b5c692a75

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +6 −7 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +7 −8 Go to diff View file
M src/common/User/Account/Register/RegisterFormPresenterBuilder.php +12 −15 Go to diff View file
A src/common/User/Account/Register/RegisterFormValidationIssue.php +43 −0 Go to diff View file
A src/tests/unit/User/Account/Register/RegisterFormValidationIssueTest.php +36 −0 Go to diff View file
M src/www/account/register.php +149 −119 Go to diff View file