diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-17 13:42:02 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-18 10:55:44 +0100 |
commit | 19f7cc9e9243c8ce4f3a5cba2c6fc286b1e32f38 (patch) | |
tree | c87781c3db915aa2bb3a7fe0ff20e4428f423bb3 /apps/updatenotification/tests/Controller/AdminControllerTest.php | |
parent | 9296116297fb6c46f1f26d745b5fe1f63f6caa2a (diff) | |
download | nextcloud-server-19f7cc9e9243c8ce4f3a5cba2c6fc286b1e32f38.tar.gz nextcloud-server-19f7cc9e9243c8ce4f3a5cba2c6fc286b1e32f38.zip |
Make Update notficiations strict and fix all inspections
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/tests/Controller/AdminControllerTest.php')
-rw-r--r-- | apps/updatenotification/tests/Controller/AdminControllerTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/updatenotification/tests/Controller/AdminControllerTest.php b/apps/updatenotification/tests/Controller/AdminControllerTest.php index 00d3974ed02..98b08e633bb 100644 --- a/apps/updatenotification/tests/Controller/AdminControllerTest.php +++ b/apps/updatenotification/tests/Controller/AdminControllerTest.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -26,17 +27,13 @@ namespace OCA\UpdateNotification\Tests\Controller; use OCA\UpdateNotification\Controller\AdminController; use OCA\UpdateNotification\ResetTokenBackgroundJob; -use OCA\UpdateNotification\UpdateChecker; use OCP\AppFramework\Http\DataResponse; -use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Utility\ITimeFactory; use OCP\BackgroundJob\IJobList; use OCP\IConfig; -use OCP\IDateTimeFormatter; use OCP\IL10N; use OCP\IRequest; use OCP\Security\ISecureRandom; -use OCP\Util; use Test\TestCase; class AdminControllerTest extends TestCase { |