stable

Clone or download

Read-only

Refactoring: extract getNotifiedMails in a dedicated object

Part of story #9892: notify group of people in addition to individuals No functional changes, you should still receive an email after a `git push`. In a next commit the Retriever will be enhanced with users in addition to emails. Change-Id: I6886b11b0c00ad3b7a87219bb5eb11c19283992b

Modified Files

Name
M plugins/git/hooks/post-receive.php +5 −1 Go to diff View file
M plugins/git/include/Git/Hook/PostReceiveMailSender.php +11 −4 Go to diff View file
A plugins/git/include/Git/Hook/PostReceiveMailsRetriever.php +34 −0 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
A plugins/git/tests/Git/Hook/PostReceiveMailsRetrieverTest.php +56 −0 Go to diff View file