stable

Clone or download

Read-only

story #8825: POST /pull_request

Note: the POST route requires a major refactoring of REST tests initialization and thus will be done in a following commit Change-Id: If1dbd7a1acb99b591ad607e3f955e077737759ed

Modified Files

Name
M include/PullRequest/Dao.php +41 −3 Go to diff View file
M include/PullRequest/Factory.php +44 −0 Go to diff View file
A include/PullRequest/GitExec.php +43 −0 Go to diff View file
M include/PullRequest/PullRequest.php +4 −0 Go to diff View file
A include/PullRequest/PullRequestNotCreatedException.php +29 −0 Go to diff View file
A include/PullRequest/REST/v1/PullRequestPOSTRepresentation.php +46 −0 Go to diff View file
A include/PullRequest/REST/v1/PullRequestReference.php +42 −0 Go to diff View file
M include/PullRequest/REST/v1/PullRequestsResource.php +78 −2 Go to diff View file
A include/PullRequest/UnknownReferenceBranchException.php +30 −0 Go to diff View file
M include/autoload.php +8 −3 Go to diff View file
A tests/GitExecTest.php +68 −0 Go to diff View file
A tests/bootstrap.php +23 −0 Go to diff View file
M tests/rest/PullRequest/PullRequestsTest.php +4 −1 Go to diff View file