stable
Clone or download
Read-only
No functional change. Notes: This helps to safely add the creator User representation. It will also make it easier to move the building phase to a dedicated class and make the representation immutable. part of story #33006 Create filters on my PR Change-Id: I621e67c65ae4d7e6878ef0f8b2c77b456c85679e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/Notification/NotificationContentFormatter.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentation.php | +20 | −96 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Notification/NotificationContentFormatterTest.php | +40 | −40 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/CommentRepresentationBuilderTest.php | +6 | −5 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/POSTCommentHandlerTest.php | +4 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/InlineComment/InlineCommentRepresentationsBuilderTest.php | +4 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/InlineComment/PATCHHandlerTest.php | +4 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/InlineComment/POSTHandlerTest.php | +4 | −1 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/InlineComment/SingleRepresentationBuilderTest.php | +6 | −5 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestMinimalRepresentationTest.php | +1 | −0 | Go to diff View file |
A | plugins/pullrequest/tests/unit/REST/v1/PullRequestRepresentationTest.php | +262 | −0 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Tests/Builders/PullRequestTestBuilder.php | +25 | −1 | Go to diff View file |
M | tests/lib/Stubs/ContentInterpretorStub.php | +6 | −14 | Go to diff View file |