Browse Source
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/20379/head
Christoph Wurst
6 years ago
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
408 changed files with
59 additions and
353 deletions
-
apps/admin_audit/lib/Actions/Console.php
-
apps/admin_audit/lib/Actions/GroupManagement.php
-
apps/admin_audit/lib/Actions/Security.php
-
apps/admin_audit/lib/Actions/Sharing.php
-
apps/admin_audit/lib/Actions/Trashbin.php
-
apps/admin_audit/lib/Actions/UserManagement.php
-
apps/admin_audit/lib/Actions/Versions.php
-
apps/cloud_federation_api/lib/AppInfo/Application.php
-
apps/cloud_federation_api/lib/Capabilities.php
-
apps/cloud_federation_api/lib/Config.php
-
apps/comments/lib/Activity/Filter.php
-
apps/comments/lib/Activity/Setting.php
-
apps/comments/lib/Collaboration/CommentersSorter.php
-
apps/comments/lib/JSSettingsHelper.php
-
apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php
-
apps/dav/lib/Avatars/AvatarHome.php
-
apps/dav/lib/Avatars/AvatarNode.php
-
apps/dav/lib/CalDAV/Activity/Backend.php
-
apps/dav/lib/CalDAV/Activity/Filter/Calendar.php
-
apps/dav/lib/CalDAV/Activity/Filter/Todo.php
-
apps/dav/lib/CalDAV/Activity/Setting/Calendar.php
-
apps/dav/lib/CalDAV/Activity/Setting/Event.php
-
apps/dav/lib/CalDAV/Activity/Setting/Todo.php
-
apps/dav/lib/CalDAV/CalendarObject.php
-
apps/dav/lib/CalDAV/Integration/ICalendarProvider.php
-
apps/dav/lib/CalDAV/Principal/Collection.php
-
apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php
-
apps/dav/lib/CardDAV/SyncService.php
-
apps/dav/lib/Comments/CommentNode.php
-
apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php
-
apps/dav/lib/Connector/Sabre/QuotaPlugin.php
-
apps/dav/lib/DAV/Sharing/IShareable.php
-
apps/dav/lib/Migration/Version1008Date20181105104826.php
-
apps/dav/tests/unit/Avatars/AvatarHomeTest.php
-
apps/dav/tests/unit/Avatars/AvatarNodeTest.php
-
apps/dav/tests/unit/CardDAV/AddressBookImplTest.php
-
apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php
-
apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php
-
apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php
-
apps/dav/tests/unit/Connector/Sabre/NodeTest.php
-
apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php
-
apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php
-
apps/dav/tests/unit/DAV/Sharing/PluginTest.php
-
apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php
-
apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php
-
apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
-
apps/dav/tests/unit/Upload/ChunkingPluginTest.php
-
apps/encryption/lib/AppInfo/Application.php
-
apps/encryption/lib/Command/DisableMasterKey.php
-
apps/encryption/lib/Command/EnableMasterKey.php
-
apps/encryption/lib/Command/RecoverUser.php
-
apps/encryption/lib/Controller/RecoveryController.php
-
apps/encryption/lib/Controller/StatusController.php
-
apps/encryption/lib/Crypto/Crypt.php
-
apps/encryption/lib/Crypto/DecryptAll.php
-
apps/encryption/lib/Crypto/Encryption.php
-
apps/encryption/lib/HookManager.php
-
apps/encryption/lib/Hooks/Contracts/IHook.php
-
apps/encryption/lib/Hooks/UserHooks.php
-
apps/encryption/lib/Migration/SetMasterKeyStatus.php
-
apps/encryption/lib/Recovery.php
-
apps/encryption/lib/Settings/Personal.php
-
apps/encryption/lib/Users/Setup.php
-
apps/encryption/lib/Util.php
-
apps/encryption/tests/Command/TestEnableMasterKey.php
-
apps/encryption/tests/Controller/RecoveryControllerTest.php
-
apps/encryption/tests/Controller/StatusControllerTest.php
-
apps/encryption/tests/Crypto/CryptTest.php
-
apps/encryption/tests/Crypto/DecryptAllTest.php
-
apps/encryption/tests/Crypto/EncryptAllTest.php
-
apps/encryption/tests/HookManagerTest.php
-
apps/encryption/tests/Hooks/UserHooksTest.php
-
apps/encryption/tests/KeyManagerTest.php
-
apps/encryption/tests/RecoveryTest.php
-
apps/encryption/tests/SessionTest.php
-
apps/encryption/tests/Users/SetupTest.php
-
apps/encryption/tests/UtilTest.php
-
apps/federatedfilesharing/lib/AddressHandler.php
-
apps/federatedfilesharing/lib/AppInfo/Application.php
-
apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
-
apps/federatedfilesharing/lib/Notifier.php
-
apps/federatedfilesharing/lib/Settings/Personal.php
-
apps/federatedfilesharing/lib/Settings/PersonalSection.php
-
apps/federatedfilesharing/lib/TokenHandler.php
-
apps/federatedfilesharing/tests/AddressHandlerTest.php
-
apps/federatedfilesharing/tests/FederatedShareProviderTest.php
-
apps/federatedfilesharing/tests/NotificationsTest.php
-
apps/federatedfilesharing/tests/TokenHandlerTest.php
-
apps/federation/lib/BackgroundJob/RequestSharedSecret.php
-
apps/federation/lib/DbHandler.php
-
apps/federation/lib/Hooks.php
-
apps/federation/tests/BackgroundJob/GetSharedSecretTest.php
-
apps/federation/tests/BackgroundJob/RequestSharedSecretTest.php
-
apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
-
apps/federation/tests/Controller/SettingsControllerTest.php
-
apps/federation/tests/DbHandlerTest.php
-
apps/federation/tests/HooksTest.php
-
apps/federation/tests/Middleware/AddServerMiddlewareTest.php
-
apps/federation/tests/TrustedServersTest.php
-
apps/files/lib/Activity/Filter/Favorites.php
|
|
|
@ -28,7 +28,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
class Console extends Action { |
|
|
|
/** |
|
|
|
* @param $arguments |
|
|
|
|
|
|
|
@ -29,7 +29,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IGroup; |
|
|
|
use OCP\IUser; |
|
|
|
|
|
|
|
|
|
|
|
@ -25,6 +25,7 @@ declare(strict_types=1); |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
use OCP\IUser; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -29,7 +29,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Share; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
class Trashbin extends Action { |
|
|
|
|
|
|
|
public function delete(array $params) { |
|
|
|
|
|
|
|
@ -30,7 +30,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IUser; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\AdminAudit\Actions; |
|
|
|
|
|
|
|
|
|
|
|
class Versions extends Action { |
|
|
|
|
|
|
|
public function rollback(array $params) { |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\CloudFederationAPI\AppInfo; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\CloudFederationAPI\Capabilities; |
|
|
|
use OCP\AppFramework\App; |
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\CloudFederationAPI; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Capabilities\ICapability; |
|
|
|
use OCP\IURLGenerator; |
|
|
|
|
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\CloudFederationAPI; |
|
|
|
|
|
|
|
use OCP\Federation\ICloudFederationProviderManager; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Comments\Activity; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\IFilter; |
|
|
|
use OCP\IL10N; |
|
|
|
use OCP\IURLGenerator; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Comments\Activity; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\ISetting; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Comments\Collaboration; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Collaboration\AutoComplete\ISorter; |
|
|
|
use OCP\Comments\ICommentsManager; |
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Comments; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IServerContainer; |
|
|
|
|
|
|
|
class JSSettingsHelper { |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Comments\Tests\Unit\Collaboration; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Comments\Collaboration\CommentersSorter; |
|
|
|
use OCP\Comments\IComment; |
|
|
|
use OCP\Comments\ICommentsManager; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Avatars; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IAvatarManager; |
|
|
|
use Sabre\DAV\Exception\Forbidden; |
|
|
|
use Sabre\DAV\Exception\MethodNotAllowed; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Avatars; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IAvatar; |
|
|
|
use Sabre\DAV\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; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Activity\Filter; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\IFilter; |
|
|
|
use OCP\IL10N; |
|
|
|
use OCP\IURLGenerator; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Activity\Filter; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\IFilter; |
|
|
|
use OCP\IL10N; |
|
|
|
use OCP\IURLGenerator; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Activity\Setting; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\ISetting; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Activity\Setting; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\ISetting; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Activity\Setting; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Activity\ISetting; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IL10N; |
|
|
|
use Sabre\VObject\Component; |
|
|
|
use Sabre\VObject\Property; |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
*/ |
|
|
|
namespace OCA\DAV\CalDAV\Integration; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Interface ICalendarProvider |
|
|
|
* |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\Principal; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Class Collection |
|
|
|
* |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ declare(strict_types=1); |
|
|
|
*/ |
|
|
|
namespace OCA\DAV\CardDAV\Integration; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @since 19.0.0 |
|
|
|
*/ |
|
|
|
|
|
|
|
@ -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']); |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Comments; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Comments\IComment; |
|
|
|
use OCP\Comments\ICommentsManager; |
|
|
|
use OCP\Comments\MessageTooLongException; |
|
|
|
|
|
|
|
@ -25,6 +25,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\DAV\Connector\Sabre; |
|
|
|
|
|
|
|
use Sabre\HTTP\RequestInterface; |
|
|
|
use Sabre\HTTP\ResponseInterface; |
|
|
|
|
|
|
|
|
|
|
|
@ -27,6 +27,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\DAV\Connector\Sabre; |
|
|
|
|
|
|
|
use OCA\DAV\Upload\FutureFile; |
|
|
|
use OCP\Files\StorageNotAvailableException; |
|
|
|
use Sabre\DAV\Exception\InsufficientStorage; |
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\DAV\DAV\Sharing; |
|
|
|
|
|
|
|
use Sabre\DAV\INode; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\DAV\Migration; |
|
|
|
|
|
|
|
|
|
|
|
use Closure; |
|
|
|
use Doctrine\DBAL\Types\Type; |
|
|
|
use OCP\DB\ISchemaWrapper; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\Unit\Avatars; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\DAV\Avatars\AvatarHome; |
|
|
|
use OCA\DAV\Avatars\AvatarNode; |
|
|
|
use OCP\IAvatar; |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\Unit\Avatars; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\DAV\Avatars\AvatarNode; |
|
|
|
use OCP\IAvatar; |
|
|
|
use Test\TestCase; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -27,6 +27,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\unit\Connector\Sabre; |
|
|
|
|
|
|
|
use OC\Files\FileInfo; |
|
|
|
use OC\Files\View; |
|
|
|
use OCP\Files\Mount\IMountPoint; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\unit\Connector\Sabre; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\FileInfo; |
|
|
|
use OC\Files\Filesystem; |
|
|
|
use OC\Files\Mount\Manager; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\unit\SystemTag; |
|
|
|
|
|
|
|
|
|
|
|
use OC\SystemTag\SystemTag; |
|
|
|
use OCP\IUser; |
|
|
|
use OCP\SystemTag\ISystemTag; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\unit\SystemTag; |
|
|
|
|
|
|
|
|
|
|
|
use OC\SystemTag\SystemTag; |
|
|
|
use OCP\IGroupManager; |
|
|
|
use OCP\IUser; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\DAV\Tests\unit\SystemTag; |
|
|
|
|
|
|
|
|
|
|
|
use OC\SystemTag\SystemTag; |
|
|
|
use OCP\IUser; |
|
|
|
use OCP\SystemTag\ISystemTagManager; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\AppInfo; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Controller\RecoveryController; |
|
|
|
use OCA\Encryption\Controller\SettingsController; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Command; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Util; |
|
|
|
use OCP\IConfig; |
|
|
|
use Symfony\Component\Console\Command\Command; |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Command; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Util; |
|
|
|
use OCP\IConfig; |
|
|
|
use Symfony\Component\Console\Command\Command; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Command; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Util; |
|
|
|
use OCP\IConfig; |
|
|
|
use OCP\IUserManager; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Recovery; |
|
|
|
use OCP\AppFramework\Controller; |
|
|
|
use OCP\AppFramework\Http; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Session; |
|
|
|
use OCP\AppFramework\Controller; |
|
|
|
use OCP\AppFramework\Http\DataResponse; |
|
|
|
|
|
|
|
@ -29,7 +29,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Encryption\Exceptions\DecryptionFailedException; |
|
|
|
use OC\Encryption\Exceptions\EncryptionFailedException; |
|
|
|
use OCA\Encryption\Exceptions\MultiKeyDecryptException; |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
use OCA\Encryption\Session; |
|
|
|
use OCA\Encryption\Util; |
|
|
|
|
|
|
|
@ -31,7 +31,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Encryption\Exceptions\DecryptionFailedException; |
|
|
|
use OC\Files\Cache\Scanner; |
|
|
|
use OC\Files\View; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Hooks\Contracts\IHook; |
|
|
|
|
|
|
|
class HookManager { |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Hooks\Contracts; |
|
|
|
|
|
|
|
|
|
|
|
interface IHook { |
|
|
|
/** |
|
|
|
* Connects Hooks |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Hooks; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\Filesystem; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\Hooks\Contracts\IHook; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Migration; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IConfig; |
|
|
|
use OCP\Migration\IOutput; |
|
|
|
use OCP\Migration\IRepairStep; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCP\Encryption\IFile; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Settings; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Session; |
|
|
|
use OCA\Encryption\Util; |
|
|
|
use OCP\AppFramework\Http\TemplateResponse; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Users; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
use OCP\ILogger; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCP\IConfig; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Command; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Command\EnableMasterKey; |
|
|
|
use OCA\Encryption\Util; |
|
|
|
use OCP\IConfig; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Controller\RecoveryController; |
|
|
|
use OCA\Encryption\Recovery; |
|
|
|
use OCP\AppFramework\Http; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Controller\StatusController; |
|
|
|
use OCA\Encryption\Session; |
|
|
|
use OCP\Encryption\IManager; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCP\IConfig; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\Crypto\DecryptAll; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Crypto; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\EncryptAll; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\HookManager; |
|
|
|
use OCA\Encryption\Hooks\Contracts\IHook; |
|
|
|
use OCP\IConfig; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Hooks; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\Hooks\UserHooks; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
|
|
|
|
@ -31,7 +31,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\FileInfo; |
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Session; |
|
|
|
use OCP\ISession; |
|
|
|
use Test\TestCase; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests\Users; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\KeyManager; |
|
|
|
use OCA\Encryption\Users\Setup; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Encryption\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\View; |
|
|
|
use OCA\Encryption\Crypto\Crypt; |
|
|
|
use OCA\Encryption\Util; |
|
|
|
|
|
|
|
@ -25,6 +25,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing; |
|
|
|
|
|
|
|
use OC\HintException; |
|
|
|
use OCP\Federation\ICloudIdManager; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\AppInfo; |
|
|
|
|
|
|
|
|
|
|
|
use OC\AppFramework\Utility\SimpleContainer; |
|
|
|
use OCA\FederatedFileSharing\AddressHandler; |
|
|
|
use OCA\FederatedFileSharing\Controller\RequestHandlerController; |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\BackgroundJob; |
|
|
|
|
|
|
|
|
|
|
|
use OC\BackgroundJob\Job; |
|
|
|
use OC\BackgroundJob\JobList; |
|
|
|
use OCA\FederatedFileSharing\AddressHandler; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing; |
|
|
|
|
|
|
|
|
|
|
|
use OC\HintException; |
|
|
|
use OCP\Contacts\IManager; |
|
|
|
use OCP\Federation\ICloudId; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Settings; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\FederatedFileSharing\FederatedShareProvider; |
|
|
|
use OCP\AppFramework\Http\TemplateResponse; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Settings; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\IL10N; |
|
|
|
use OCP\IURLGenerator; |
|
|
|
use OCP\Settings\IIconSection; |
|
|
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing; |
|
|
|
|
|
|
|
|
|
|
|
use OCP\Security\ISecureRandom; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Federation\CloudIdManager; |
|
|
|
use OCA\FederatedFileSharing\AddressHandler; |
|
|
|
use OCP\IL10N; |
|
|
|
|
|
|
|
@ -30,7 +30,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Federation\CloudIdManager; |
|
|
|
use OCA\FederatedFileSharing\AddressHandler; |
|
|
|
use OCA\FederatedFileSharing\FederatedShareProvider; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\FederatedFileSharing\AddressHandler; |
|
|
|
use OCA\FederatedFileSharing\Notifications; |
|
|
|
use OCP\BackgroundJob\IJobList; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\FederatedFileSharing\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\FederatedFileSharing\TokenHandler; |
|
|
|
use OCP\Security\ISecureRandom; |
|
|
|
|
|
|
|
|
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\BackgroundJob; |
|
|
|
|
|
|
|
|
|
|
|
use GuzzleHttp\Exception\ClientException; |
|
|
|
use GuzzleHttp\Exception\RequestException; |
|
|
|
use GuzzleHttp\Ring\Exception\RingException; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation; |
|
|
|
|
|
|
|
|
|
|
|
use OC\Files\Filesystem; |
|
|
|
use OC\HintException; |
|
|
|
use OCP\IDBConnection; |
|
|
|
|
|
|
|
@ -22,8 +22,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Hooks { |
|
|
|
|
|
|
|
/** @var TrustedServers */ |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests\BackgroundJob; |
|
|
|
|
|
|
|
|
|
|
|
use GuzzleHttp\Exception\ConnectException; |
|
|
|
use GuzzleHttp\Ring\Exception\RingException; |
|
|
|
use OCA\Federation\BackgroundJob\GetSharedSecret; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests\BackgroundJob; |
|
|
|
|
|
|
|
|
|
|
|
use GuzzleHttp\Exception\ConnectException; |
|
|
|
use GuzzleHttp\Ring\Exception\RingException; |
|
|
|
use OCA\Federation\BackgroundJob\RequestSharedSecret; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OC\BackgroundJob\JobList; |
|
|
|
use OCA\Federation\Controller\OCSAuthAPIController; |
|
|
|
use OCA\Federation\DbHandler; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests\Controller; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Federation\Controller\SettingsController; |
|
|
|
use OCA\Federation\TrustedServers; |
|
|
|
use OCP\AppFramework\Http\DataResponse; |
|
|
|
|
|
|
|
@ -25,7 +25,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Federation\DbHandler; |
|
|
|
use OCA\Federation\TrustedServers; |
|
|
|
use OCP\IDBConnection; |
|
|
|
|
|
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Federation\Hooks; |
|
|
|
use OCA\Federation\TrustedServers; |
|
|
|
use Test\TestCase; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests\Middleware; |
|
|
|
|
|
|
|
|
|
|
|
use OC\HintException; |
|
|
|
use OCA\Federation\Controller\SettingsController; |
|
|
|
use OCA\Federation\Middleware\AddServerMiddleware; |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Federation\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Federation\DbHandler; |
|
|
|
use OCA\Federation\TrustedServers; |
|
|
|
use OCP\AppFramework\Utility\ITimeFactory; |
|
|
|
|
|
|
|
@ -23,7 +23,6 @@ |
|
|
|
|
|
|
|
namespace OCA\Files\Activity\Filter; |
|
|
|
|
|
|
|
|
|
|
|
use OCA\Files\Activity\Helper; |
|
|
|
use OCP\Activity\IFilter; |
|
|
|
use OCP\Activity\IManager; |
|
|
|
|