Change namespace to add Kanboard as prefix
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Event\GenericEvent;
|
||||
use Kanboard\Event\GenericEvent;
|
||||
use Pimple\Container;
|
||||
|
||||
/**
|
||||
@@ -11,7 +11,7 @@ use Pimple\Container;
|
||||
* @package action
|
||||
* @author Frederic Guillot
|
||||
*/
|
||||
abstract class Base extends \Core\Base
|
||||
abstract class Base extends \Kanboard\Core\Base
|
||||
{
|
||||
/**
|
||||
* Flag for called listener
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\BitbucketWebhook;
|
||||
use Integration\GithubWebhook;
|
||||
use Integration\GitlabWebhook;
|
||||
use Kanboard\Integration\BitbucketWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
use Kanboard\Integration\GitlabWebhook;
|
||||
|
||||
/**
|
||||
* Create automatically a comment from a webhook
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Set a category automatically according to the color
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\GithubWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
|
||||
/**
|
||||
* Set a category automatically according to a label
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Assign a color to a specific category
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Assign a color to a task
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\TaskLink;
|
||||
use Kanboard\Model\TaskLink;
|
||||
|
||||
/**
|
||||
* Assign a color to a specific task link
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Assign a color to a specific user
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Assign a task to the logged user
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Assign a task to a specific user
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\GithubWebhook;
|
||||
use Integration\BitbucketWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
use Kanboard\Integration\BitbucketWebhook;
|
||||
|
||||
/**
|
||||
* Assign a task to someone
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\GitlabWebhook;
|
||||
use Integration\GithubWebhook;
|
||||
use Integration\BitbucketWebhook;
|
||||
use Model\Task;
|
||||
use Kanboard\Integration\GitlabWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
use Kanboard\Integration\BitbucketWebhook;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Close automatically a task
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\GithubWebhook;
|
||||
use Integration\GitlabWebhook;
|
||||
use Integration\BitbucketWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
use Kanboard\Integration\GitlabWebhook;
|
||||
use Kanboard\Integration\BitbucketWebhook;
|
||||
|
||||
/**
|
||||
* Create automatically a task from a webhook
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Duplicate a task to another project
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Email a task to someone
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\GithubWebhook;
|
||||
use Model\Task;
|
||||
use Kanboard\Model\GithubWebhook;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Add a log of the triggering event to the task description.
|
||||
@@ -60,7 +60,7 @@ class TaskLogMoveAnotherColumn extends Base
|
||||
if (! $this->userSession->isLogged()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$column = $this->board->getColumn($data['column_id']);
|
||||
|
||||
return (bool) $this->comment->create(array(
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Move a task to another project
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Move a task to another column when an assignee is set
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Move a task to another column when the category is changed
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Move a task to another column when an assignee is cleared
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Integration\GithubWebhook;
|
||||
use Integration\BitbucketWebhook;
|
||||
use Kanboard\Integration\GithubWebhook;
|
||||
use Kanboard\Integration\BitbucketWebhook;
|
||||
|
||||
/**
|
||||
* Open automatically a task
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Action;
|
||||
namespace Kanboard\Action;
|
||||
|
||||
use Model\Task;
|
||||
use Kanboard\Model\Task;
|
||||
|
||||
/**
|
||||
* Set the start date of task
|
||||
|
||||
Reference in New Issue
Block a user