Change namespace to add Kanboard as prefix

This commit is contained in:
Frederic Guillot
2015-10-13 22:19:17 -04:00
parent 7bfa38d93c
commit 9c9ed02cd7
329 changed files with 1184 additions and 1149 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Assign a color to a specific category

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Assign a color to a task

View File

@@ -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

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Assign a color to a specific user

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Assign a task to the logged user

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Assign a task to a specific user

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Duplicate a task to another project

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Email a task to someone

View File

@@ -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(

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Move a task to another project

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,8 +1,8 @@
<?php
namespace Action;
namespace Kanboard\Action;
use Model\Task;
use Kanboard\Model\Task;
/**
* Set the start date of task