Skip to content

Commit 42af002

Browse files
authored
Merge pull request #99 from lesstif/analysis-86AonN
Apply fixes from StyleCI
2 parents cf85b77 + ad27338 commit 42af002

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

src/Project/Project.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace JiraRestApi\Project;
44

55
use JiraRestApi\ClassSerialize;
6-
use JiraRestApi\Issue\IssueType;
76

87
class Project
98
{

src/Version/VersionService.php

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace JiraRestApi\Version;
44

5-
use JiraRestApi\Issue\IssueType;
6-
use JiraRestApi\Issue\Reporter;
75
use JiraRestApi\Issue\Version;
86
use JiraRestApi\JiraException;
97
use 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

Comments
 (0)