Browse Source

Use exactly one empty line after the namespace declaration

For PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v19.0.0beta3
Christoph Wurst 4 years ago
parent
commit
41b5e5923a
No account linked to committer's email address
100 changed files with 9 additions and 92 deletions
  1. 0
    1
      apps/admin_audit/lib/Actions/Console.php
  2. 0
    1
      apps/admin_audit/lib/Actions/GroupManagement.php
  3. 1
    0
      apps/admin_audit/lib/Actions/Security.php
  4. 0
    1
      apps/admin_audit/lib/Actions/Sharing.php
  5. 0
    1
      apps/admin_audit/lib/Actions/Trashbin.php
  6. 0
    1
      apps/admin_audit/lib/Actions/UserManagement.php
  7. 0
    1
      apps/admin_audit/lib/Actions/Versions.php
  8. 0
    1
      apps/cloud_federation_api/lib/AppInfo/Application.php
  9. 0
    1
      apps/cloud_federation_api/lib/Capabilities.php
  10. 1
    0
      apps/cloud_federation_api/lib/Config.php
  11. 0
    1
      apps/comments/lib/Activity/Filter.php
  12. 0
    1
      apps/comments/lib/Activity/Setting.php
  13. 0
    1
      apps/comments/lib/Collaboration/CommentersSorter.php
  14. 0
    1
      apps/comments/lib/JSSettingsHelper.php
  15. 0
    1
      apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php
  16. 0
    1
      apps/dav/lib/Avatars/AvatarHome.php
  17. 0
    1
      apps/dav/lib/Avatars/AvatarNode.php
  18. 0
    1
      apps/dav/lib/CalDAV/Activity/Backend.php
  19. 0
    1
      apps/dav/lib/CalDAV/Activity/Filter/Calendar.php
  20. 0
    1
      apps/dav/lib/CalDAV/Activity/Filter/Todo.php
  21. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Calendar.php
  22. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Event.php
  23. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Todo.php
  24. 0
    1
      apps/dav/lib/CalDAV/CalendarObject.php
  25. 0
    1
      apps/dav/lib/CalDAV/Integration/ICalendarProvider.php
  26. 0
    1
      apps/dav/lib/CalDAV/Principal/Collection.php
  27. 0
    1
      apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php
  28. 1
    1
      apps/dav/lib/CardDAV/SyncService.php
  29. 0
    1
      apps/dav/lib/Comments/CommentNode.php
  30. 1
    0
      apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php
  31. 1
    0
      apps/dav/lib/Connector/Sabre/QuotaPlugin.php
  32. 1
    0
      apps/dav/lib/DAV/Sharing/IShareable.php
  33. 0
    1
      apps/dav/lib/Migration/Version1008Date20181105104826.php
  34. 0
    1
      apps/dav/tests/unit/Avatars/AvatarHomeTest.php
  35. 0
    1
      apps/dav/tests/unit/Avatars/AvatarNodeTest.php
  36. 0
    1
      apps/dav/tests/unit/CardDAV/AddressBookImplTest.php
  37. 0
    1
      apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php
  38. 0
    1
      apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php
  39. 0
    1
      apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php
  40. 1
    0
      apps/dav/tests/unit/Connector/Sabre/NodeTest.php
  41. 0
    1
      apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php
  42. 1
    0
      apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php
  43. 0
    1
      apps/dav/tests/unit/DAV/Sharing/PluginTest.php
  44. 0
    1
      apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php
  45. 0
    1
      apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php
  46. 0
    1
      apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
  47. 0
    1
      apps/dav/tests/unit/Upload/ChunkingPluginTest.php
  48. 0
    1
      apps/encryption/lib/AppInfo/Application.php
  49. 0
    1
      apps/encryption/lib/Command/DisableMasterKey.php
  50. 0
    1
      apps/encryption/lib/Command/EnableMasterKey.php
  51. 0
    1
      apps/encryption/lib/Command/RecoverUser.php
  52. 0
    1
      apps/encryption/lib/Controller/RecoveryController.php
  53. 0
    1
      apps/encryption/lib/Controller/StatusController.php
  54. 0
    1
      apps/encryption/lib/Crypto/Crypt.php
  55. 0
    1
      apps/encryption/lib/Crypto/DecryptAll.php
  56. 0
    1
      apps/encryption/lib/Crypto/Encryption.php
  57. 0
    1
      apps/encryption/lib/HookManager.php
  58. 0
    1
      apps/encryption/lib/Hooks/Contracts/IHook.php
  59. 0
    1
      apps/encryption/lib/Hooks/UserHooks.php
  60. 0
    1
      apps/encryption/lib/Migration/SetMasterKeyStatus.php
  61. 0
    1
      apps/encryption/lib/Recovery.php
  62. 0
    1
      apps/encryption/lib/Settings/Personal.php
  63. 0
    1
      apps/encryption/lib/Users/Setup.php
  64. 0
    1
      apps/encryption/lib/Util.php
  65. 0
    1
      apps/encryption/tests/Command/TestEnableMasterKey.php
  66. 0
    1
      apps/encryption/tests/Controller/RecoveryControllerTest.php
  67. 0
    1
      apps/encryption/tests/Controller/StatusControllerTest.php
  68. 0
    1
      apps/encryption/tests/Crypto/CryptTest.php
  69. 0
    1
      apps/encryption/tests/Crypto/DecryptAllTest.php
  70. 0
    1
      apps/encryption/tests/Crypto/EncryptAllTest.php
  71. 0
    1
      apps/encryption/tests/HookManagerTest.php
  72. 0
    1
      apps/encryption/tests/Hooks/UserHooksTest.php
  73. 0
    1
      apps/encryption/tests/KeyManagerTest.php
  74. 0
    1
      apps/encryption/tests/RecoveryTest.php
  75. 0
    1
      apps/encryption/tests/SessionTest.php
  76. 0
    1
      apps/encryption/tests/Users/SetupTest.php
  77. 0
    1
      apps/encryption/tests/UtilTest.php
  78. 1
    0
      apps/federatedfilesharing/lib/AddressHandler.php
  79. 0
    1
      apps/federatedfilesharing/lib/AppInfo/Application.php
  80. 0
    1
      apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
  81. 0
    1
      apps/federatedfilesharing/lib/Notifier.php
  82. 0
    1
      apps/federatedfilesharing/lib/Settings/Personal.php
  83. 0
    1
      apps/federatedfilesharing/lib/Settings/PersonalSection.php
  84. 0
    1
      apps/federatedfilesharing/lib/TokenHandler.php
  85. 0
    1
      apps/federatedfilesharing/tests/AddressHandlerTest.php
  86. 0
    1
      apps/federatedfilesharing/tests/FederatedShareProviderTest.php
  87. 0
    1
      apps/federatedfilesharing/tests/NotificationsTest.php
  88. 0
    1
      apps/federatedfilesharing/tests/TokenHandlerTest.php
  89. 0
    1
      apps/federation/lib/BackgroundJob/RequestSharedSecret.php
  90. 0
    1
      apps/federation/lib/DbHandler.php
  91. 0
    2
      apps/federation/lib/Hooks.php
  92. 0
    1
      apps/federation/tests/BackgroundJob/GetSharedSecretTest.php
  93. 0
    1
      apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php
  94. 0
    1
      apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
  95. 0
    1
      apps/federation/tests/Controller/SettingsControllerTest.php
  96. 0
    1
      apps/federation/tests/DbHandlerTest.php
  97. 0
    1
      apps/federation/tests/HooksTest.php
  98. 0
    1
      apps/federation/tests/Middleware/AddServerMiddlewareTest.php
  99. 0
    1
      apps/federation/tests/TrustedServersTest.php
  100. 0
    0
      apps/files/lib/Activity/Filter/Favorites.php

+ 0
- 1
apps/admin_audit/lib/Actions/Console.php View File

@@ -28,7 +28,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


class Console extends Action {
/**
* @param $arguments

+ 0
- 1
apps/admin_audit/lib/Actions/GroupManagement.php View File

@@ -29,7 +29,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


use OCP\IGroup;
use OCP\IUser;


+ 1
- 0
apps/admin_audit/lib/Actions/Security.php View File

@@ -25,6 +25,7 @@ declare(strict_types=1);
*/

namespace OCA\AdminAudit\Actions;

use OCP\IUser;

/**

+ 0
- 1
apps/admin_audit/lib/Actions/Sharing.php View File

@@ -29,7 +29,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


use OCP\Share;

/**

+ 0
- 1
apps/admin_audit/lib/Actions/Trashbin.php View File

@@ -28,7 +28,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


class Trashbin extends Action {

public function delete(array $params) {

+ 0
- 1
apps/admin_audit/lib/Actions/UserManagement.php View File

@@ -30,7 +30,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


use OCP\IUser;

/**

+ 0
- 1
apps/admin_audit/lib/Actions/Versions.php View File

@@ -28,7 +28,6 @@ declare(strict_types=1);

namespace OCA\AdminAudit\Actions;


class Versions extends Action {

public function rollback(array $params) {

+ 0
- 1
apps/cloud_federation_api/lib/AppInfo/Application.php View File

@@ -23,7 +23,6 @@

namespace OCA\CloudFederationAPI\AppInfo;


use OCA\CloudFederationAPI\Capabilities;
use OCP\AppFramework\App;


+ 0
- 1
apps/cloud_federation_api/lib/Capabilities.php View File

@@ -23,7 +23,6 @@

namespace OCA\CloudFederationAPI;


use OCP\Capabilities\ICapability;
use OCP\IURLGenerator;


+ 1
- 0
apps/cloud_federation_api/lib/Config.php View File

@@ -22,6 +22,7 @@
*/

namespace OCA\CloudFederationAPI;

use OCP\Federation\ICloudFederationProviderManager;

/**

+ 0
- 1
apps/comments/lib/Activity/Filter.php View File

@@ -23,7 +23,6 @@

namespace OCA\Comments\Activity;


use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

+ 0
- 1
apps/comments/lib/Activity/Setting.php View File

@@ -23,7 +23,6 @@

namespace OCA\Comments\Activity;


use OCP\Activity\ISetting;
use OCP\IL10N;


+ 0
- 1
apps/comments/lib/Collaboration/CommentersSorter.php View File

@@ -23,7 +23,6 @@

namespace OCA\Comments\Collaboration;


use OCP\Collaboration\AutoComplete\ISorter;
use OCP\Comments\ICommentsManager;


+ 0
- 1
apps/comments/lib/JSSettingsHelper.php View File

@@ -23,7 +23,6 @@

namespace OCA\Comments;


use OCP\IServerContainer;

class JSSettingsHelper {

+ 0
- 1
apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\Comments\Tests\Unit\Collaboration;


use OCA\Comments\Collaboration\CommentersSorter;
use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;

+ 0
- 1
apps/dav/lib/Avatars/AvatarHome.php View File

@@ -24,7 +24,6 @@

namespace OCA\DAV\Avatars;


use OCP\IAvatarManager;
use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\MethodNotAllowed;

+ 0
- 1
apps/dav/lib/Avatars/AvatarNode.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\Avatars;


use OCP\IAvatar;
use Sabre\DAV\File;


+ 0
- 1
apps/dav/lib/CalDAV/Activity/Backend.php View File

@@ -25,7 +25,6 @@

namespace OCA\DAV\CalDAV\Activity;


use OCA\DAV\CalDAV\Activity\Provider\Calendar;
use OCA\DAV\CalDAV\Activity\Provider\Event;
use OCA\DAV\CalDAV\CalDavBackend;

+ 0
- 1
apps/dav/lib/CalDAV/Activity/Filter/Calendar.php View File

@@ -24,7 +24,6 @@

namespace OCA\DAV\CalDAV\Activity\Filter;


use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

+ 0
- 1
apps/dav/lib/CalDAV/Activity/Filter/Todo.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\CalDAV\Activity\Filter;


use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;

+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Calendar.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\CalDAV\Activity\Setting;


use OCP\Activity\ISetting;
use OCP\IL10N;


+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Event.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\CalDAV\Activity\Setting;


use OCP\Activity\ISetting;
use OCP\IL10N;


+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Todo.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\CalDAV\Activity\Setting;


use OCP\Activity\ISetting;
use OCP\IL10N;


+ 0
- 1
apps/dav/lib/CalDAV/CalendarObject.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\CalDAV;


use OCP\IL10N;
use Sabre\VObject\Component;
use Sabre\VObject\Property;

+ 0
- 1
apps/dav/lib/CalDAV/Integration/ICalendarProvider.php View File

@@ -22,7 +22,6 @@
*/
namespace OCA\DAV\CalDAV\Integration;


/**
* Interface ICalendarProvider
*

+ 0
- 1
apps/dav/lib/CalDAV/Principal/Collection.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\CalDAV\Principal;


/**
* Class Collection
*

+ 0
- 1
apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php View File

@@ -25,7 +25,6 @@ declare(strict_types=1);
*/
namespace OCA\DAV\CardDAV\Integration;


/**
* @since 19.0.0
*/

+ 1
- 1
apps/dav/lib/CardDAV/SyncService.php View File

@@ -202,7 +202,7 @@ class SyncService {
$body = $this->buildSyncCollectionRequestBody($syncToken);

$response = $client->request('REPORT', $addressBookUrl, $body, [
'Content-Type' => 'application/xml'
'Content-Type' => 'application/xml'
]);

return $this->parseMultiStatus($response['body']);

+ 0
- 1
apps/dav/lib/Comments/CommentNode.php View File

@@ -23,7 +23,6 @@

namespace OCA\DAV\Comments;


use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;
use OCP\Comments\MessageTooLongException;

+ 1
- 0
apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php View File

@@ -25,6 +25,7 @@
*/

namespace OCA\DAV\Connector\Sabre;

use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;


+ 1
- 0
apps/dav/lib/Connector/Sabre/QuotaPlugin.php View File

@@ -27,6 +27,7 @@
*/

namespace OCA\DAV\Connector\Sabre;

use OCA\DAV\Upload\FutureFile;
use OCP\Files\StorageNotAvailableException;
use Sabre\DAV\Exception\InsufficientStorage;

+ 1
- 0
apps/dav/lib/DAV/Sharing/IShareable.php View File

@@ -22,6 +22,7 @@
*/

namespace OCA\DAV\DAV\Sharing;

use Sabre\DAV\INode;

/**

+ 0
- 1
apps/dav/lib/Migration/Version1008Date20181105104826.php View File

@@ -26,7 +26,6 @@ declare(strict_types=1);

namespace OCA\DAV\Migration;


use Closure;
use Doctrine\DBAL\Types\Type;
use OCP\DB\ISchemaWrapper;

+ 0
- 1
apps/dav/tests/unit/Avatars/AvatarHomeTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\DAV\Tests\Unit\Avatars;


use OCA\DAV\Avatars\AvatarHome;
use OCA\DAV\Avatars\AvatarNode;
use OCP\IAvatar;

+ 0
- 1
apps/dav/tests/unit/Avatars/AvatarNodeTest.php View File

@@ -22,7 +22,6 @@

namespace OCA\DAV\Tests\Unit\Avatars;


use OCA\DAV\Avatars\AvatarNode;
use OCP\IAvatar;
use Test\TestCase;

+ 0
- 1
apps/dav/tests/unit/CardDAV/AddressBookImplTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\CardDAV;


use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\AddressBookImpl;
use OCA\DAV\CardDAV\CardDavBackend;

+ 0
- 1
apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\DAV\Tests\unit\CardDAV;


use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\ImageExportPlugin;
use OCA\DAV\CardDAV\PhotoCache;

+ 0
- 1
apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\CardDAV\Sharing;


use OCA\DAV\Connector\Sabre\Auth;
use OCA\DAV\DAV\Sharing\IShareable;
use OCA\DAV\DAV\Sharing\Plugin;

+ 0
- 1
apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php View File

@@ -22,7 +22,6 @@

namespace OCA\DAV\Tests\Unit\Command;


use OCA\DAV\Command\RemoveInvalidShares;
use OCA\DAV\Connector\Sabre\Principal;
use OCP\Migration\IOutput;

+ 1
- 0
apps/dav/tests/unit/Connector/Sabre/NodeTest.php View File

@@ -27,6 +27,7 @@
*/

namespace OCA\DAV\Tests\unit\Connector\Sabre;

use OC\Files\FileInfo;
use OC\Files\View;
use OCP\Files\Mount\IMountPoint;

+ 0
- 1
apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php View File

@@ -28,7 +28,6 @@

namespace OCA\DAV\Tests\unit\Connector\Sabre;


use OC\Files\FileInfo;
use OC\Files\Filesystem;
use OC\Files\Mount\Manager;

+ 1
- 0
apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php View File

@@ -28,6 +28,7 @@
*/

namespace OCA\DAV\Tests\unit\Connector\Sabre;

use OC\Files\View;
use OCA\DAV\Connector\Sabre\QuotaPlugin;
use OCP\Files\FileInfo;

+ 0
- 1
apps/dav/tests/unit/DAV/Sharing/PluginTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\DAV\Sharing;


use OCA\DAV\Connector\Sabre\Auth;
use OCA\DAV\DAV\Sharing\IShareable;
use OCA\DAV\DAV\Sharing\Plugin;

+ 0
- 1
apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\SystemTag;


use OC\SystemTag\SystemTag;
use OCP\IUser;
use OCP\SystemTag\ISystemTag;

+ 0
- 1
apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\SystemTag;


use OC\SystemTag\SystemTag;
use OCP\IGroupManager;
use OCP\IUser;

+ 0
- 1
apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\DAV\Tests\unit\SystemTag;


use OC\SystemTag\SystemTag;
use OCP\IUser;
use OCP\SystemTag\ISystemTagManager;

+ 0
- 1
apps/dav/tests/unit/Upload/ChunkingPluginTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\DAV\Tests\unit\Upload;


use OCA\DAV\Connector\Sabre\Directory;
use OCA\DAV\Upload\ChunkingPlugin;
use OCA\DAV\Upload\FutureFile;

+ 0
- 1
apps/encryption/lib/AppInfo/Application.php View File

@@ -28,7 +28,6 @@

namespace OCA\Encryption\AppInfo;


use OC\Files\View;
use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Controller\SettingsController;

+ 0
- 1
apps/encryption/lib/Command/DisableMasterKey.php View File

@@ -23,7 +23,6 @@

namespace OCA\Encryption\Command;


use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;

+ 0
- 1
apps/encryption/lib/Command/EnableMasterKey.php View File

@@ -22,7 +22,6 @@

namespace OCA\Encryption\Command;


use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;

+ 0
- 1
apps/encryption/lib/Command/RecoverUser.php View File

@@ -23,7 +23,6 @@

namespace OCA\Encryption\Command;


use OCA\Encryption\Util;
use OCP\IConfig;
use OCP\IUserManager;

+ 0
- 1
apps/encryption/lib/Controller/RecoveryController.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Controller;


use OCA\Encryption\Recovery;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;

+ 0
- 1
apps/encryption/lib/Controller/StatusController.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Controller;


use OCA\Encryption\Session;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\DataResponse;

+ 0
- 1
apps/encryption/lib/Crypto/Crypt.php View File

@@ -29,7 +29,6 @@

namespace OCA\Encryption\Crypto;


use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Encryption\Exceptions\EncryptionFailedException;
use OCA\Encryption\Exceptions\MultiKeyDecryptException;

+ 0
- 1
apps/encryption/lib/Crypto/DecryptAll.php View File

@@ -22,7 +22,6 @@

namespace OCA\Encryption\Crypto;


use OCA\Encryption\KeyManager;
use OCA\Encryption\Session;
use OCA\Encryption\Util;

+ 0
- 1
apps/encryption/lib/Crypto/Encryption.php View File

@@ -31,7 +31,6 @@

namespace OCA\Encryption\Crypto;


use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Files\Cache\Scanner;
use OC\Files\View;

+ 0
- 1
apps/encryption/lib/HookManager.php View File

@@ -23,7 +23,6 @@

namespace OCA\Encryption;


use OCA\Encryption\Hooks\Contracts\IHook;

class HookManager {

+ 0
- 1
apps/encryption/lib/Hooks/Contracts/IHook.php View File

@@ -22,7 +22,6 @@

namespace OCA\Encryption\Hooks\Contracts;


interface IHook {
/**
* Connects Hooks

+ 0
- 1
apps/encryption/lib/Hooks/UserHooks.php View File

@@ -28,7 +28,6 @@

namespace OCA\Encryption\Hooks;


use OC\Files\Filesystem;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\Contracts\IHook;

+ 0
- 1
apps/encryption/lib/Migration/SetMasterKeyStatus.php View File

@@ -23,7 +23,6 @@

namespace OCA\Encryption\Migration;


use OCP\IConfig;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;

+ 0
- 1
apps/encryption/lib/Recovery.php View File

@@ -27,7 +27,6 @@

namespace OCA\Encryption;


use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\Encryption\IFile;

+ 0
- 1
apps/encryption/lib/Settings/Personal.php View File

@@ -23,7 +23,6 @@

namespace OCA\Encryption\Settings;


use OCA\Encryption\Session;
use OCA\Encryption\Util;
use OCP\AppFramework\Http\TemplateResponse;

+ 0
- 1
apps/encryption/lib/Users/Setup.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Users;


use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCP\ILogger;

+ 0
- 1
apps/encryption/lib/Util.php View File

@@ -26,7 +26,6 @@

namespace OCA\Encryption;


use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;

+ 0
- 1
apps/encryption/tests/Command/TestEnableMasterKey.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Tests\Command;


use OCA\Encryption\Command\EnableMasterKey;
use OCA\Encryption\Util;
use OCP\IConfig;

+ 0
- 1
apps/encryption/tests/Controller/RecoveryControllerTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\Encryption\Tests\Controller;


use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Recovery;
use OCP\AppFramework\Http;

+ 0
- 1
apps/encryption/tests/Controller/StatusControllerTest.php View File

@@ -27,7 +27,6 @@

namespace OCA\Encryption\Tests\Controller;


use OCA\Encryption\Controller\StatusController;
use OCA\Encryption\Session;
use OCP\Encryption\IManager;

+ 0
- 1
apps/encryption/tests/Crypto/CryptTest.php View File

@@ -27,7 +27,6 @@

namespace OCA\Encryption\Tests\Crypto;


use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;
use OCP\IL10N;

+ 0
- 1
apps/encryption/tests/Crypto/DecryptAllTest.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Tests\Crypto;


use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Crypto\DecryptAll;
use OCA\Encryption\KeyManager;

+ 0
- 1
apps/encryption/tests/Crypto/EncryptAllTest.php View File

@@ -27,7 +27,6 @@

namespace OCA\Encryption\Tests\Crypto;


use OC\Files\View;
use OCA\Encryption\Crypto\EncryptAll;
use OCA\Encryption\KeyManager;

+ 0
- 1
apps/encryption/tests/HookManagerTest.php View File

@@ -25,7 +25,6 @@

namespace OCA\Encryption\Tests;


use OCA\Encryption\HookManager;
use OCA\Encryption\Hooks\Contracts\IHook;
use OCP\IConfig;

+ 0
- 1
apps/encryption/tests/Hooks/UserHooksTest.php View File

@@ -28,7 +28,6 @@

namespace OCA\Encryption\Tests\Hooks;


use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\UserHooks;
use OCA\Encryption\KeyManager;

+ 0
- 1
apps/encryption/tests/KeyManagerTest.php View File

@@ -31,7 +31,6 @@

namespace OCA\Encryption\Tests;


use OC\Files\FileInfo;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;

+ 0
- 1
apps/encryption/tests/RecoveryTest.php View File

@@ -28,7 +28,6 @@

namespace OCA\Encryption\Tests;


use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;

+ 0
- 1
apps/encryption/tests/SessionTest.php View File

@@ -27,7 +27,6 @@

namespace OCA\Encryption\Tests;


use OCA\Encryption\Session;
use OCP\ISession;
use Test\TestCase;

+ 0
- 1
apps/encryption/tests/Users/SetupTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\Encryption\Tests\Users;


use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCA\Encryption\Users\Setup;

+ 0
- 1
apps/encryption/tests/UtilTest.php View File

@@ -28,7 +28,6 @@

namespace OCA\Encryption\Tests;


use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Util;

+ 1
- 0
apps/federatedfilesharing/lib/AddressHandler.php View File

@@ -25,6 +25,7 @@
*/

namespace OCA\FederatedFileSharing;

use OC\HintException;
use OCP\Federation\ICloudIdManager;
use OCP\IL10N;

+ 0
- 1
apps/federatedfilesharing/lib/AppInfo/Application.php View File

@@ -28,7 +28,6 @@

namespace OCA\FederatedFileSharing\AppInfo;


use OC\AppFramework\Utility\SimpleContainer;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\Controller\RequestHandlerController;

+ 0
- 1
apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php View File

@@ -27,7 +27,6 @@

namespace OCA\FederatedFileSharing\BackgroundJob;


use OC\BackgroundJob\Job;
use OC\BackgroundJob\JobList;
use OCA\FederatedFileSharing\AddressHandler;

+ 0
- 1
apps/federatedfilesharing/lib/Notifier.php View File

@@ -25,7 +25,6 @@

namespace OCA\FederatedFileSharing;


use OC\HintException;
use OCP\Contacts\IManager;
use OCP\Federation\ICloudId;

+ 0
- 1
apps/federatedfilesharing/lib/Settings/Personal.php View File

@@ -26,7 +26,6 @@

namespace OCA\FederatedFileSharing\Settings;


use OCA\FederatedFileSharing\FederatedShareProvider;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IL10N;

+ 0
- 1
apps/federatedfilesharing/lib/Settings/PersonalSection.php View File

@@ -23,7 +23,6 @@

namespace OCA\FederatedFileSharing\Settings;


use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;

+ 0
- 1
apps/federatedfilesharing/lib/TokenHandler.php View File

@@ -22,7 +22,6 @@

namespace OCA\FederatedFileSharing;


use OCP\Security\ISecureRandom;

/**

+ 0
- 1
apps/federatedfilesharing/tests/AddressHandlerTest.php View File

@@ -27,7 +27,6 @@

namespace OCA\FederatedFileSharing\Tests;


use OC\Federation\CloudIdManager;
use OCA\FederatedFileSharing\AddressHandler;
use OCP\IL10N;

+ 0
- 1
apps/federatedfilesharing/tests/FederatedShareProviderTest.php View File

@@ -30,7 +30,6 @@

namespace OCA\FederatedFileSharing\Tests;


use OC\Federation\CloudIdManager;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\FederatedShareProvider;

+ 0
- 1
apps/federatedfilesharing/tests/NotificationsTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\FederatedFileSharing\Tests;


use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\Notifications;
use OCP\BackgroundJob\IJobList;

+ 0
- 1
apps/federatedfilesharing/tests/TokenHandlerTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\FederatedFileSharing\Tests;


use OCA\FederatedFileSharing\TokenHandler;
use OCP\Security\ISecureRandom;


+ 0
- 1
apps/federation/lib/BackgroundJob/RequestSharedSecret.php View File

@@ -28,7 +28,6 @@

namespace OCA\Federation\BackgroundJob;


use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Ring\Exception\RingException;

+ 0
- 1
apps/federation/lib/DbHandler.php View File

@@ -26,7 +26,6 @@

namespace OCA\Federation;


use OC\Files\Filesystem;
use OC\HintException;
use OCP\IDBConnection;

+ 0
- 2
apps/federation/lib/Hooks.php View File

@@ -22,8 +22,6 @@

namespace OCA\Federation;



class Hooks {

/** @var TrustedServers */

+ 0
- 1
apps/federation/tests/BackgroundJob/GetSharedSecretTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\Federation\Tests\BackgroundJob;


use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Ring\Exception\RingException;
use OCA\Federation\BackgroundJob\GetSharedSecret;

+ 0
- 1
apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php View File

@@ -25,7 +25,6 @@

namespace OCA\Federation\Tests\BackgroundJob;


use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Ring\Exception\RingException;
use OCA\Federation\BackgroundJob\RequestSharedSecret;

+ 0
- 1
apps/federation/tests/Controller/OCSAuthAPIControllerTest.php View File

@@ -25,7 +25,6 @@

namespace OCA\Federation\Tests\Controller;


use OC\BackgroundJob\JobList;
use OCA\Federation\Controller\OCSAuthAPIController;
use OCA\Federation\DbHandler;

+ 0
- 1
apps/federation/tests/Controller/SettingsControllerTest.php View File

@@ -23,7 +23,6 @@

namespace OCA\Federation\Tests\Controller;


use OCA\Federation\Controller\SettingsController;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Http\DataResponse;

+ 0
- 1
apps/federation/tests/DbHandlerTest.php View File

@@ -25,7 +25,6 @@

namespace OCA\Federation\Tests;


use OCA\Federation\DbHandler;
use OCA\Federation\TrustedServers;
use OCP\IDBConnection;

+ 0
- 1
apps/federation/tests/HooksTest.php View File

@@ -24,7 +24,6 @@

namespace OCA\Federation\Tests;


use OCA\Federation\Hooks;
use OCA\Federation\TrustedServers;
use Test\TestCase;

+ 0
- 1
apps/federation/tests/Middleware/AddServerMiddlewareTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\Federation\Tests\Middleware;


use OC\HintException;
use OCA\Federation\Controller\SettingsController;
use OCA\Federation\Middleware\AddServerMiddleware;

+ 0
- 1
apps/federation/tests/TrustedServersTest.php View File

@@ -26,7 +26,6 @@

namespace OCA\Federation\Tests;


use OCA\Federation\DbHandler;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Utility\ITimeFactory;

+ 0
- 0
apps/files/lib/Activity/Filter/Favorites.php View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save