Skip to content

Commit

Permalink
Merge pull request #99 from lesstif/analysis-86AonN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lesstif authored Dec 20, 2017
2 parents cf85b77 + ad27338 commit 42af002
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/Project/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace JiraRestApi\Project;

use JiraRestApi\ClassSerialize;
use JiraRestApi\Issue\IssueType;

class Project
{
Expand Down
21 changes: 9 additions & 12 deletions src/Version/VersionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace JiraRestApi\Version;

use JiraRestApi\Issue\IssueType;
use JiraRestApi\Issue\Reporter;
use JiraRestApi\Issue\Version;
use JiraRestApi\JiraException;
use JiraRestApi\Project\ProjectService;
Expand All @@ -13,29 +11,29 @@ class VersionService extends \JiraRestApi\JiraClient
private $uri = '/version';

/**
* create version
* create version.
*
* @see https://docs.atlassian.com/jira/REST/server/#api/2/version-createVersion
*
*/
public function create($version)
{
throw new JiraException("create version not yet implemented");
throw new JiraException('create version not yet implemented');
}

/**
* Modify a version's sequence within a project.
*
* @param $version
*
* @throws JiraException
*/
public function move($version)
{
throw new JiraException("move version not yet implemented");
throw new JiraException('move version not yet implemented');
}

/**
* get project version
* get project version.
*
* @param $id version id
*
Expand All @@ -59,20 +57,19 @@ public function get($id)

public function update($ver)
{
throw new JiraException("update version not yet implemented");
throw new JiraException('update version not yet implemented');
}

public function delete($ver)
{
throw new JiraException("delete version not yet implemented");
throw new JiraException('delete version not yet implemented');
}

public function merge($ver)
{
throw new JiraException("merge version not yet implemented");
throw new JiraException('merge version not yet implemented');
}


/**
* Returns a bean containing the number of fixed in and affected issues for the given version.
*
Expand All @@ -84,6 +81,6 @@ public function merge($ver)
*/
public function getRelatedIssues($id)
{
throw new JiraException("get version Related Issues not yet implemented");
throw new JiraException('get version Related Issues not yet implemented');
}
}

0 comments on commit 42af002

Please sign in to comment.