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,6 +1,6 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Pimple\Container;
@@ -10,7 +10,7 @@ use Pimple\Container;
* @package auth
* @author Frederic Guillot
*/
abstract class Base extends \Core\Base
abstract class Base extends \Kanboard\Core\Base
{
/**
* Database instance

View File

@@ -1,9 +1,9 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Model\User;
use Event\AuthEvent;
use Kanboard\Model\User;
use Kanboard\Event\AuthEvent;
/**
* Database authentication

View File

@@ -1,8 +1,8 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Event\AuthEvent;
use Kanboard\Event\AuthEvent;
/**
* Github backend
@@ -22,7 +22,7 @@ class Github extends Base
* OAuth2 instance
*
* @access private
* @var \Core\OAuth2
* @var \Kanboard\Core\OAuth2
*/
private $service;
@@ -85,7 +85,7 @@ class Github extends Base
* Get OAuth2 configured service
*
* @access public
* @return \Core\OAuth2
* @return KanboardCore\OAuth2
*/
public function getService()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Event\AuthEvent;
use Kanboard\Event\AuthEvent;
/**
* Gitlab backend
@@ -22,7 +22,7 @@ class Gitlab extends Base
* OAuth2 instance
*
* @access private
* @var \Core\OAuth2
* @var \Kanboard\Core\OAuth2
*/
private $service;
@@ -85,7 +85,7 @@ class Gitlab extends Base
* Get OAuth2 configured service
*
* @access public
* @return \Core\OAuth2
* @return KanboardCore\OAuth2
*/
public function getService()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Event\AuthEvent;
use Kanboard\Event\AuthEvent;
/**
* Google backend
@@ -23,7 +23,7 @@ class Google extends Base
* OAuth2 instance
*
* @access private
* @var \Core\OAuth2
* @var \Kanboard\Core\OAuth2
*/
private $service;
@@ -86,7 +86,7 @@ class Google extends Base
* Get OAuth2 configured service
*
* @access public
* @return \Core\OAuth2
* @return KanboardCore\OAuth2
*/
public function getService()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Event\AuthEvent;
use Kanboard\Event\AuthEvent;
/**
* LDAP model

View File

@@ -1,10 +1,10 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Core\Request;
use Event\AuthEvent;
use Core\Security;
use Kanboard\Core\Request;
use Kanboard\Event\AuthEvent;
use Kanboard\Core\Security;
/**
* RememberMe model

View File

@@ -1,8 +1,8 @@
<?php
namespace Auth;
namespace Kanboard\Auth;
use Event\AuthEvent;
use Kanboard\Event\AuthEvent;
/**
* ReverseProxy backend