summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-09 16:56:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-12 16:48:11 +0200
commit60c22dd074c6f81e37c764616e0cf659fb0e2d14 (patch)
tree95671cb25de94d0511f816239b2c98b8e3894436 /apps
parent01cf85e4e5e610bf667e4a55ff9647542aa926d1 (diff)
downloadnextcloud-server-60c22dd074c6f81e37c764616e0cf659fb0e2d14.tar.gz
nextcloud-server-60c22dd074c6f81e37c764616e0cf659fb0e2d14.zip
Fix more sniffing
Diffstat (limited to 'apps')
-rw-r--r--apps/twofactor_backupcodes/lib/Db/BackupCode.php2
-rw-r--r--apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php2
-rw-r--r--apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php6
-rw-r--r--apps/updatenotification/lib/AppInfo/Application.php1
4 files changed, 5 insertions, 6 deletions
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCode.php b/apps/twofactor_backupcodes/lib/Db/BackupCode.php
index 5bfb681063c..a59a414e189 100644
--- a/apps/twofactor_backupcodes/lib/Db/BackupCode.php
+++ b/apps/twofactor_backupcodes/lib/Db/BackupCode.php
@@ -1,5 +1,4 @@
<?php
-
/**
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
@@ -22,6 +21,7 @@
namespace OCA\TwoFactor_BackupCodes\Db;
+
use OCP\AppFramework\Db\Entity;
/**
diff --git a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
index d6256929675..3d7240fd6ac 100644
--- a/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
+++ b/apps/twofactor_backupcodes/lib/Db/BackupCodeMapper.php
@@ -1,5 +1,4 @@
<?php
-
/**
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
@@ -22,6 +21,7 @@
namespace OCA\TwoFactor_BackupCodes\Db;
+
use OCP\AppFramework\Db\Mapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDb;
diff --git a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php
index 57c262e1940..1ebf445bb0f 100644
--- a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php
+++ b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php
@@ -32,13 +32,13 @@ use Test\TestCase;
class BackupCodeStorageTest extends TestCase {
- /** @var BackupCodeMapper|PHPUnit_Framework_MockObject_MockObject */
+ /** @var BackupCodeMapper|\PHPUnit_Framework_MockObject_MockObject */
private $mapper;
- /** @var ISecureRandom|PHPUnit_Framework_MockObject_MockObject */
+ /** @var ISecureRandom|\PHPUnit_Framework_MockObject_MockObject */
private $random;
- /** @var IHasher|PHPUnit_Framework_MockObject_MockObject */
+ /** @var IHasher|\PHPUnit_Framework_MockObject_MockObject */
private $hasher;
/** @var BackupCodeStorage */
diff --git a/apps/updatenotification/lib/AppInfo/Application.php b/apps/updatenotification/lib/AppInfo/Application.php
index aefed9cca5c..5eba176f312 100644
--- a/apps/updatenotification/lib/AppInfo/Application.php
+++ b/apps/updatenotification/lib/AppInfo/Application.php
@@ -24,7 +24,6 @@
namespace OCA\UpdateNotification\AppInfo;
use OC\AppFramework\Utility\TimeFactory;
-use OC\Updater;
use OCA\UpdateNotification\Controller\AdminController;
use OCA\UpdateNotification\UpdateChecker;
use OCP\AppFramework\App;