-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from eventum/methods-doc
Use PHP Namespaces, add methods doc annotations
- Loading branch information
Showing
11 changed files
with
173 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,3 +122,5 @@ return Symfony\CS\Config\Config::create() | |
)) | ||
->finder($finder) | ||
; | ||
|
||
// vim:ft=php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Eventum (Issue Tracking System) package. | ||
* | ||
* @copyright (c) Eventum Team | ||
* @license GNU General Public License, version 2 or later (GPL-2+) | ||
* | ||
* For the full copyright and license information, | ||
* please see the COPYING and AUTHORS files | ||
* that were distributed with this source code. | ||
*/ | ||
|
||
use Eventum\RPC\EventumXmlRpcClient; | ||
|
||
/** | ||
* @deprecated since 4.2.0, use \Eventum\RPC\EventumXmlRpcClient | ||
*/ | ||
class Eventum_RPC extends EventumXmlRpcClient | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Eventum (Issue Tracking System) package. | ||
* | ||
* @copyright (c) Eventum Team | ||
* @license GNU General Public License, version 2 or later (GPL-2+) | ||
* | ||
* For the full copyright and license information, | ||
* please see the COPYING and AUTHORS files | ||
* that were distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* @deprecated since 4.2.0, use \Eventum\RPC\XmlRpcException instead | ||
*/ | ||
class Eventum_RPC_Exception extends RuntimeException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Eventum (Issue Tracking System) package. | ||
* | ||
* @copyright (c) Eventum Team | ||
* @license GNU General Public License, version 2 or later (GPL-2+) | ||
* | ||
* For the full copyright and license information, | ||
* please see the COPYING and AUTHORS files | ||
* that were distributed with this source code. | ||
*/ | ||
|
||
namespace Eventum\RPC; | ||
|
||
use DateTime; | ||
|
||
/** | ||
* @method string addAuthorizedReplier(int $issue_id, int $project_id, string $new_replier) | ||
* @method struct addFile(int $issue_id, string $filename, string $mimetype, base64 $contents, string $file_description, bool $internal_only) | ||
* @method string assignIssue(int $issue_id, int $project_id, string $developer) | ||
* @method boolean checkAuthentication() | ||
* @method string closeIssue(int $issue_id, string $new_status, int $resolution_id, bool $send_notification, string $note) | ||
* @method string convertNote(int $issue_id, int $note_id, string $target, bool $authorize_sender) | ||
* @method struct getAbbreviationAssocList(int $prj_id, bool $show_closed) | ||
* @method struct getClosedAbbreviationAssocList(int $prj_id) | ||
* @method struct getDeveloperList(int $prj_id) | ||
* @method struct getDraft(int $issue_id, int $draft_id) | ||
* @method array getDraftListing(int $issue_id) | ||
* @method array getEmail(int $issue_id, int $email_id) | ||
* @method array getEmailListing(int $issue_id) | ||
* @method struct getFile(int $file_id) | ||
* @method array getFileList(int $issue_id) | ||
* @method array getIncidentTypes(int $issue_id, bool $redeemed_only) | ||
* @method struct getIssueDetails(int $issue_id) | ||
* @method array getNote(int $issue_id, int $note_id) | ||
* @method array getNoteListing(int $issue_id) | ||
* @method array getOpenIssues(int $prj_id, bool $show_all_issues, string $status) | ||
* @method array getResolutionAssocList() | ||
* @method string getServerParameter(string $parameter) | ||
* @method struct getSimpleIssueDetails(int $issue_id) | ||
* @method struct getTimeTrackingCategories(int $issue_id) | ||
* @method array getUserAssignedProjects(bool $only_customer_projects) | ||
* @method string getWeeklyReport(int $week, string $start, string $end, bool $separate_closed, int $prj_id) | ||
* @method struct getWeeklyReportData(int $prj_id, DateTime $start, DateTime $end, struct $options) | ||
* @method boolean isValidLogin(string $email, string $password) | ||
* @method string logCommand(string $command) | ||
* @method string lookupCustomer(int $prj_id, string $field, string $value) | ||
* @method string mayChangeIssue(int $issue_id) | ||
* @method string recordTimeWorked(int $issue_id, int $cat_id, string $summary, int $time_spent) | ||
* @method string redeemIssue(int $issue_id, array $types) | ||
* @method string sendDraft(int $issue_id, int $draft_id) | ||
* @method string setIssueStatus(int $issue_id, string $new_status) | ||
* @method string takeIssue(int $issue_id, int $project_id) | ||
* @method string timeClock(string $action) | ||
* @method string unredeemIssue(int $issue_id, array $types) | ||
*/ | ||
class EventumXmlRpcClient extends XmlRpcClient | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Eventum (Issue Tracking System) package. | ||
* | ||
* @copyright (c) Eventum Team | ||
* @license GNU General Public License, version 2 or later (GPL-2+) | ||
* | ||
* For the full copyright and license information, | ||
* please see the COPYING and AUTHORS files | ||
* that were distributed with this source code. | ||
*/ | ||
|
||
namespace Eventum\RPC; | ||
|
||
use Eventum_RPC_Exception; | ||
|
||
class XmlRpcException extends Eventum_RPC_Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters