stable

Clone or download

Read-only

REST representations of the pullrequest plugin are immutable

This is a technical change, no functional change is expected. Part of request #15111: REST representations should not be mutable Change-Id: I32176b9a3b208ddc8b50ec36b827b298722974da

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/CommentPOSTRepresentation.php +4 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/CommentRepresentation.php +14 −5 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PaginatedCommentsRepresentationsBuilder.php +1 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PaginatedTimelineRepresentation.php +5 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PaginatedTimelineRepresentationBuilder.php +3 −8 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestFileRepresentation.php +7 −4 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestFileRepresentationFactory.php +2 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestFileUniDiffRepresentation.php +10 −16 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentPOSTRepresentation.php +4 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentRepresentation.php +11 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestLineUniDiffRepresentation.php +4 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestPATCHRepresentation.php +4 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestPOSTRepresentation.php +4 −9 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestReference.php +12 −5 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentationFactory.php +1 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestShortStatRepresentation.php +5 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +2 −6 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryPullRequestRepresentation.php +2 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/Reviewer/ReviewersRepresentation.php +3 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/TimelineEventRepresentation.php +7 −4 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/TimelineInlineCommentRepresentation.php +12 −4 Go to diff View file
M src/common/Label/REST/LabelsPATCHRepresentation.php +4 −1 Go to diff View file