stable

Clone or download

Read-only

refactor: Stop relying on the the god PullRequest/Factory class in new

comment notification Use the dedicated class instead a god factory to retrieve a pull request by its id. No functionnal change expected Part of story #32316 Update comments Change-Id: I124a8d547c92405d082beb5ce5632d5cec1f981e

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Comment/Notification/PullRequestNewCommentNotificationToProcessBuilder.php +25 −26 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/Notification/PullRequestNewInlineCommentNotificationToProcessBuilder.php +30 −31 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/PullRequestNotificationSupport.php +2 −6 Go to diff View file
M plugins/pullrequest/tests/unit/Comment/Notification/PullRequestNewCommentNotificationToProcessBuilderTest.php +15 −19 Go to diff View file
M plugins/pullrequest/tests/unit/InlineComment/Notification/PullRequestNewInlineCommentNotificationToProcessBuilderTest.php +7 −13 Go to diff View file