22
33namespace JiraRestApi \Version ;
44
5- use JiraRestApi \Issue \IssueType ;
6- use JiraRestApi \Issue \Reporter ;
75use JiraRestApi \Issue \Version ;
86use JiraRestApi \JiraException ;
97use JiraRestApi \Project \ProjectService ;
@@ -13,29 +11,29 @@ class VersionService extends \JiraRestApi\JiraClient
1311 private $ uri = '/version ' ;
1412
1513 /**
16- * create version
14+ * create version.
1715 *
1816 * @see https://docs.atlassian.com/jira/REST/server/#api/2/version-createVersion
19- *
2017 */
2118 public function create ($ version )
2219 {
23- throw new JiraException (" create version not yet implemented " );
20+ throw new JiraException (' create version not yet implemented ' );
2421 }
2522
2623 /**
2724 * Modify a version's sequence within a project.
2825 *
2926 * @param $version
27+ *
3028 * @throws JiraException
3129 */
3230 public function move ($ version )
3331 {
34- throw new JiraException (" move version not yet implemented " );
32+ throw new JiraException (' move version not yet implemented ' );
3533 }
3634
3735 /**
38- * get project version
36+ * get project version.
3937 *
4038 * @param $id version id
4139 *
@@ -59,20 +57,19 @@ public function get($id)
5957
6058 public function update ($ ver )
6159 {
62- throw new JiraException (" update version not yet implemented " );
60+ throw new JiraException (' update version not yet implemented ' );
6361 }
6462
6563 public function delete ($ ver )
6664 {
67- throw new JiraException (" delete version not yet implemented " );
65+ throw new JiraException (' delete version not yet implemented ' );
6866 }
6967
7068 public function merge ($ ver )
7169 {
72- throw new JiraException (" merge version not yet implemented " );
70+ throw new JiraException (' merge version not yet implemented ' );
7371 }
7472
75-
7673 /**
7774 * Returns a bean containing the number of fixed in and affected issues for the given version.
7875 *
@@ -84,6 +81,6 @@ public function merge($ver)
8481 */
8582 public function getRelatedIssues ($ id )
8683 {
87- throw new JiraException (" get version Related Issues not yet implemented " );
84+ throw new JiraException (' get version Related Issues not yet implemented ' );
8885 }
8986}
0 commit comments