Permalink
Browse files

Move LoginManager and SessionManager to the Security namespace

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
  • Loading branch information...
virtualtam committed Apr 27, 2018
1 parent 68dcacc commit fab87c2696b9d6a26310f1bfc024b018ca5184fe
@@ -1,5 +1,5 @@
<?php
namespace Shaarli;
namespace Shaarli\Security;
use Shaarli\Config\ConfigManager;
@@ -1,5 +1,5 @@
<?php
namespace Shaarli;
namespace Shaarli\Security;
use Shaarli\Config\ConfigManager;
@@ -36,7 +36,8 @@
"Shaarli\\Api\\Controllers\\": "application/api/controllers",
"Shaarli\\Api\\Exceptions\\": "application/api/exceptions",
"Shaarli\\Config\\": "application/config/",
"Shaarli\\Config\\Exception\\": "application/config/exception"
"Shaarli\\Config\\Exception\\": "application/config/exception",
"Shaarli\\Security\\": "application/security"
}
}
}
@@ -78,8 +78,8 @@
use \Shaarli\Languages;
use \Shaarli\ThemeUtils;
use \Shaarli\Config\ConfigManager;
use \Shaarli\LoginManager;
use \Shaarli\SessionManager;
use \Shaarli\Security\LoginManager;
use \Shaarli\Security\SessionManager;
// Ensure the PHP version is supported
try {
@@ -1,5 +1,5 @@
<?php
namespace Shaarli;
namespace Shaarli\Security;
require_once 'tests/utils/FakeConfigManager.php';
use \PHPUnit\Framework\TestCase;
@@ -5,7 +5,7 @@
require_once 'tests/utils/ReferenceSessionIdHashes.php';
ReferenceSessionIdHashes::genAllHashes();
use \Shaarli\SessionManager;
use \Shaarli\Security\SessionManager;
use \PHPUnit\Framework\TestCase;

0 comments on commit fab87c2

Please sign in to comment.