Move to PSR-4 naming to support upcoming composer update

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-07-07 09:57:51 +02:00 committed by Pellaeon Lin
parent b317a85744
commit 8266184a50
16 changed files with 4 additions and 8 deletions

View File

@ -9,8 +9,6 @@
* @copyright Pellaeon Lin 2014
*/
namespace OCA\Registration\AppInfo;
\OC_App::registerLogIn([
'name' => \OC::$server->getL10N('registration')->t('Register'),
'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail')

View File

@ -10,8 +10,6 @@
* @copyright Pellaeon Lin 2014
*/
$app = new \OCA\Registration\AppInfo\Application();
return [
'routes' => [
['name' => 'settings#admin', 'url' => '/settings', 'verb' => 'POST'],

View File

@ -1,6 +1,6 @@
<?php
namespace OCA\Registration\Controller;
namespace OCA\Registration\Tests\Integration\Controller;
use OCA\Registration\Db\Registration;
use OCA\Registration\Db\RegistrationMapper;
@ -33,7 +33,7 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
*
* @group DB
*/
class RegistrationControllerTest extends TestCase {
class RegisterControllerTest extends TestCase {
use DatabaseTransaction;
/** @var MailService */

View File

@ -1,6 +1,6 @@
<?php
namespace OCA\Registration\Service;
namespace OCA\Registration\Tests\Integration\Service;
use OCA\Registration\Db\Registration;
use OCA\Registration\Db\RegistrationMapper;

View File

@ -9,7 +9,7 @@
* @copyright Pellaeon Lin 2014
*/
namespace OCA\Registration\Controller;
namespace OCA\Registration\Tests\Unit\Controller;
use OCA\Registration\Db\Registration;
use OCA\Registration\Service\MailService;