stable
Clone or download
Read-only
ItemLabeledCollector Use the dedicated class instead a god factory to retrieve a pull request by its id. No functionnal change expected, you can still label and see labeled pull requests Part of story #32316 Update comments Change-Id: I712014b88a77f930810e1625d6bc64c94939c270
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/Label/LabeledItemCollector.php | +32 | −84 | Go to diff View file |
M | plugins/pullrequest/include/pullrequestPlugin.php | +2 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/BranchUpdate/PullRequestUpdatedNotificationToProcessBuilderTest.php | +4 | −4 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Comment/Notification/PullRequestNewCommentNotificationToProcessBuilderTest.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Comment/Notification/UpdatedCommentNotificationToProcessBuilderTest.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/InlineComment/Notification/PullRequestNewInlineCommentNotificationToProcessBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/InlineComment/Notification/UpdatedInlineCommentNotificationToProcessBuilderTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Label/LabeledItemCollectorTest.php | +28 | −19 | Go to diff View file |
M | plugins/pullrequest/tests/unit/PullRequestRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/AccessiblePullRequestRESTRetrieverTest.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/PATCHCommentHandlerTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/InlineComment/PATCHHandlerTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestWithGitReferenceRetrieverTest.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Tests/Builders/PullRequestTestBuilder.php | +6 | −0 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Tests/Stub/SearchPullRequestStub.php | +20 | −5 | Go to diff View file |