Skip to content

Commit

Permalink
Refactored #13: Implement integration with GitHub
Browse files Browse the repository at this point in the history
- Updated class path.
  • Loading branch information
andkirby committed Dec 1, 2015
1 parent c6ff614 commit c8399ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions LibHooks/config/commit-msg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</issue>
<message>
<parser>
<class>\PreCommit\Filter\ShortCommitMsg\Jira\Parser</class>
<class>\PreCommit\Filter\ShortCommitMsg\Parser\Jira</class>
</parser>
</message>
</jira>
Expand All @@ -32,7 +32,7 @@
</issue>
<message>
<parser>
<class>\PreCommit\Filter\ShortCommitMsg\GitHub\Parser</class>
<class>\PreCommit\Filter\ShortCommitMsg\Parser\GitHub</class>
</parser>
</message>
</github>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace PreCommit\Filter\ShortCommitMsg\GitHub;
namespace PreCommit\Filter\ShortCommitMsg\Parser;

use PreCommit\Interpreter\InterpreterInterface;
use PreCommit\Filter\ShortCommitMsg;
Expand All @@ -9,8 +9,8 @@
*
* @package PreCommit\Filter\ShortCommitMsg\GitHub
*/
class Parser
extends ShortCommitMsg\Jira\Parser
class GitHub
extends ShortCommitMsg\Parser\Jira
implements InterpreterInterface
{
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace PreCommit\Filter\ShortCommitMsg\Jira;
namespace PreCommit\Filter\ShortCommitMsg\Parser;

use PreCommit\Config;
use PreCommit\Exception;
Expand All @@ -12,7 +12,7 @@
*
* @package PreCommit\Filter\ShortCommitMsg\Jira
*/
class Parser implements InterpreterInterface
class Jira implements InterpreterInterface
{
/**
* Issue adapter
Expand Down

0 comments on commit c8399ac

Please sign in to comment.