stable

Clone or download

Read-only

refactor: extract account_create in a dedicated object

Move function `account_create` in an object so that we will be able to use it in controller object in next contributions. No functional changes. Part of request #29605: Convert account registration pages to BurningParrot Change-Id: I85e25aee6211cb26013289022dfc69cc6abb0b7d

Modified Files

Name
M src/common/InviteBuddy/AccountCreationFeedback.php +1 −1 Go to diff View file
A src/common/InviteBuddy/InvitationSuccessFeedback.php +28 −0 Go to diff View file
A src/common/User/Account/Register/AccountRegister.php +79 −0 Go to diff View file
A src/common/User/ICreateAccount.php +28 −0 Go to diff View file
M src/common/User/UserManager.class.php +16 −15 Go to diff View file
M src/www/account/register.php +27 −17 Go to diff View file
M src/www/include/account.php +0 −40 Go to diff View file
A tests/unit/common/InviteBuddy/InvitationSuccessFeedbackStub.php +52 −0 Go to diff View file
A tests/unit/common/User/Account/Register/AccountRegisterTest.php +94 −0 Go to diff View file
A tests/unit/common/User/ICreateAccountStub.php +45 −0 Go to diff View file