diff options
author | Joas Schilling <coding@schilljs.com> | 2023-11-23 10:22:34 +0100 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-23 10:36:13 +0100 |
commit | aa5f037af71c915424c6dcfd5ad2dc82797dc0d6 (patch) | |
tree | 843203cd1346158aab3515687e37a90e78c929e9 /apps/testing | |
parent | 272719ed1cba6836ea0a597bb9767754eeb1e0d4 (diff) | |
download | nextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.tar.gz nextcloud-server-aa5f037af71c915424c6dcfd5ad2dc82797dc0d6.zip |
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/testing')
-rw-r--r-- | apps/testing/lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | apps/testing/lib/Controller/ConfigController.php | 4 | ||||
-rw-r--r-- | apps/testing/lib/Controller/LockingController.php | 12 | ||||
-rw-r--r-- | apps/testing/lib/Locking/FakeDBLockingProvider.php | 3 |
4 files changed, 10 insertions, 11 deletions
diff --git a/apps/testing/lib/AppInfo/Application.php b/apps/testing/lib/AppInfo/Application.php index a92caeb245a..6e9421a030e 100644 --- a/apps/testing/lib/AppInfo/Application.php +++ b/apps/testing/lib/AppInfo/Application.php @@ -26,8 +26,8 @@ namespace OCA\Testing\AppInfo; use OCA\Testing\AlternativeHomeUserBackend; use OCA\Testing\Provider\FakeText2ImageProvider; -use OCA\Testing\Provider\FakeTranslationProvider; use OCA\Testing\Provider\FakeTextProcessingProvider; +use OCA\Testing\Provider\FakeTranslationProvider; use OCP\AppFramework\App; use OCP\AppFramework\Bootstrap\IBootContext; use OCP\AppFramework\Bootstrap\IBootstrap; diff --git a/apps/testing/lib/Controller/ConfigController.php b/apps/testing/lib/Controller/ConfigController.php index 76f1e1a1ee1..bad4be7b4a1 100644 --- a/apps/testing/lib/Controller/ConfigController.php +++ b/apps/testing/lib/Controller/ConfigController.php @@ -38,8 +38,8 @@ class ConfigController extends OCSController { * @param IConfig $config */ public function __construct($appName, - IRequest $request, - IConfig $config) { + IRequest $request, + IConfig $config) { parent::__construct($appName, $request); $this->config = $config; } diff --git a/apps/testing/lib/Controller/LockingController.php b/apps/testing/lib/Controller/LockingController.php index c01ad218c84..0c084b4f9cd 100644 --- a/apps/testing/lib/Controller/LockingController.php +++ b/apps/testing/lib/Controller/LockingController.php @@ -64,12 +64,12 @@ class LockingController extends OCSController { * @param IRootFolder $rootFolder */ public function __construct($appName, - IRequest $request, - ILockingProvider $lockingProvider, - FakeDBLockingProvider $fakeDBLockingProvider, - IDBConnection $connection, - IConfig $config, - IRootFolder $rootFolder) { + IRequest $request, + ILockingProvider $lockingProvider, + FakeDBLockingProvider $fakeDBLockingProvider, + IDBConnection $connection, + IConfig $config, + IRootFolder $rootFolder) { parent::__construct($appName, $request); $this->lockingProvider = $lockingProvider; diff --git a/apps/testing/lib/Locking/FakeDBLockingProvider.php b/apps/testing/lib/Locking/FakeDBLockingProvider.php index 2556ba29a64..c5ebbc16371 100644 --- a/apps/testing/lib/Locking/FakeDBLockingProvider.php +++ b/apps/testing/lib/Locking/FakeDBLockingProvider.php @@ -23,10 +23,9 @@ */ namespace OCA\Testing\Locking; +use OC\Lock\DBLockingProvider; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; -use Psr\Log\LoggerInterface; -use OC\Lock\DBLockingProvider; class FakeDBLockingProvider extends DBLockingProvider { // Lock for 10 hours just to be sure |