2
2
3
3
namespace JiraRestApi \Version ;
4
4
5
- use JiraRestApi \Issue \IssueType ;
6
- use JiraRestApi \Issue \Reporter ;
7
5
use JiraRestApi \Issue \Version ;
8
6
use JiraRestApi \JiraException ;
9
7
use JiraRestApi \Project \ProjectService ;
@@ -13,29 +11,29 @@ class VersionService extends \JiraRestApi\JiraClient
13
11
private $ uri = '/version ' ;
14
12
15
13
/**
16
- * create version
14
+ * create version.
17
15
*
18
16
* @see https://docs.atlassian.com/jira/REST/server/#api/2/version-createVersion
19
- *
20
17
*/
21
18
public function create ($ version )
22
19
{
23
- throw new JiraException (" create version not yet implemented " );
20
+ throw new JiraException (' create version not yet implemented ' );
24
21
}
25
22
26
23
/**
27
24
* Modify a version's sequence within a project.
28
25
*
29
26
* @param $version
27
+ *
30
28
* @throws JiraException
31
29
*/
32
30
public function move ($ version )
33
31
{
34
- throw new JiraException (" move version not yet implemented " );
32
+ throw new JiraException (' move version not yet implemented ' );
35
33
}
36
34
37
35
/**
38
- * get project version
36
+ * get project version.
39
37
*
40
38
* @param $id version id
41
39
*
@@ -59,20 +57,19 @@ public function get($id)
59
57
60
58
public function update ($ ver )
61
59
{
62
- throw new JiraException (" update version not yet implemented " );
60
+ throw new JiraException (' update version not yet implemented ' );
63
61
}
64
62
65
63
public function delete ($ ver )
66
64
{
67
- throw new JiraException (" delete version not yet implemented " );
65
+ throw new JiraException (' delete version not yet implemented ' );
68
66
}
69
67
70
68
public function merge ($ ver )
71
69
{
72
- throw new JiraException (" merge version not yet implemented " );
70
+ throw new JiraException (' merge version not yet implemented ' );
73
71
}
74
72
75
-
76
73
/**
77
74
* Returns a bean containing the number of fixed in and affected issues for the given version.
78
75
*
@@ -84,6 +81,6 @@ public function merge($ver)
84
81
*/
85
82
public function getRelatedIssues ($ id )
86
83
{
87
- throw new JiraException (" get version Related Issues not yet implemented " );
84
+ throw new JiraException (' get version Related Issues not yet implemented ' );
88
85
}
89
86
}
0 commit comments