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,9 +1,9 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Event\GenericEvent;
use Model\Task;
use Kanboard\Event\GenericEvent;
use Kanboard\Model\Task;
/**
* Bitbucket Webhook
@@ -11,7 +11,7 @@ use Model\Task;
* @package integration
* @author Frederic Guillot
*/
class BitbucketWebhook extends \Core\Base
class BitbucketWebhook extends \Kanboard\Core\Base
{
/**
* Events

View File

@@ -1,9 +1,9 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Event\GenericEvent;
use Model\Task;
use Kanboard\Event\GenericEvent;
use Kanboard\Model\Task;
/**
* Github Webhook
@@ -11,7 +11,7 @@ use Model\Task;
* @package integration
* @author Frederic Guillot
*/
class GithubWebhook extends \Core\Base
class GithubWebhook extends \Kanboard\Core\Base
{
/**
* Events

View File

@@ -1,9 +1,9 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Event\GenericEvent;
use Model\Task;
use Kanboard\Event\GenericEvent;
use Kanboard\Model\Task;
/**
* Gitlab Webhook
@@ -11,7 +11,7 @@ use Model\Task;
* @package integration
* @author Frederic Guillot
*/
class GitlabWebhook extends \Core\Base
class GitlabWebhook extends \Kanboard\Core\Base
{
/**
* Events

View File

@@ -1,6 +1,6 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
/**
* Hipchat webhook
@@ -8,7 +8,7 @@ namespace Integration;
* @package integration
* @author Frederic Guillot
*/
class HipchatWebhook extends \Core\Base
class HipchatWebhook extends \Kanboard\Core\Base
{
/**
* Return true if Hipchat is enabled for this project or globally

View File

@@ -1,6 +1,6 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Exception;
use Fabiang\Xmpp\Options;
@@ -14,7 +14,7 @@ use Fabiang\Xmpp\Protocol\Presence;
* @package integration
* @author Frederic Guillot
*/
class Jabber extends \Core\Base
class Jabber extends \Kanboard\Core\Base
{
/**
* Return true if Jabber is enabled for this project or globally

View File

@@ -1,8 +1,8 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Core\Tool;
use Kanboard\Core\Tool;
/**
* Mailgun Integration
@@ -10,7 +10,7 @@ use Core\Tool;
* @package integration
* @author Frederic Guillot
*/
class Mailgun extends \Core\Base
class Mailgun extends \Kanboard\Core\Base
{
/**
* Send a HTML email

View File

@@ -1,6 +1,6 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
/**
* Postmark integration
@@ -8,7 +8,7 @@ namespace Integration;
* @package integration
* @author Frederic Guillot
*/
class Postmark extends \Core\Base
class Postmark extends \Kanboard\Core\Base
{
/**
* Send a HTML email

View File

@@ -1,8 +1,8 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Core\Tool;
use Kanboard\Core\Tool;
/**
* Sendgrid Integration
@@ -10,7 +10,7 @@ use Core\Tool;
* @package integration
* @author Frederic Guillot
*/
class Sendgrid extends \Core\Base
class Sendgrid extends \Kanboard\Core\Base
{
/**
* Send a HTML email

View File

@@ -1,6 +1,6 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
/**
* Slack Webhook
@@ -8,7 +8,7 @@ namespace Integration;
* @package integration
* @author Frederic Guillot
*/
class SlackWebhook extends \Core\Base
class SlackWebhook extends \Kanboard\Core\Base
{
/**
* Return true if Slack is enabled for this project or globally

View File

@@ -1,6 +1,6 @@
<?php
namespace Integration;
namespace Kanboard\Integration;
use Swift_Message;
use Swift_Mailer;
@@ -15,7 +15,7 @@ use Swift_TransportException;
* @package integration
* @author Frederic Guillot
*/
class Smtp extends \Core\Base
class Smtp extends \Kanboard\Core\Base
{
/**
* Send a HTML email