diff options
Diffstat (limited to 'lib/public/Files')
24 files changed, 17 insertions, 25 deletions
diff --git a/lib/public/Files/AlreadyExistsException.php b/lib/public/Files/AlreadyExistsException.php index 83fa12add17..fe60a7d0a52 100644 --- a/lib/public/Files/AlreadyExistsException.php +++ b/lib/public/Files/AlreadyExistsException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for already existing files/folders * @since 6.0.0 */ -class AlreadyExistsException extends \Exception {} +class AlreadyExistsException extends \Exception { +} diff --git a/lib/public/Files/EntityTooLargeException.php b/lib/public/Files/EntityTooLargeException.php index 21d7b8e62ce..1846e595729 100644 --- a/lib/public/Files/EntityTooLargeException.php +++ b/lib/public/Files/EntityTooLargeException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for too large entity * @since 6.0.0 */ -class EntityTooLargeException extends \Exception {} +class EntityTooLargeException extends \Exception { +} diff --git a/lib/public/Files/Events/BeforeFileScannedEvent.php b/lib/public/Files/Events/BeforeFileScannedEvent.php index fbe228d7310..c233c9e4a0e 100644 --- a/lib/public/Files/Events/BeforeFileScannedEvent.php +++ b/lib/public/Files/Events/BeforeFileScannedEvent.php @@ -53,5 +53,4 @@ class BeforeFileScannedEvent extends Event { public function getAbsolutePath(): string { return $this->absolutePath; } - } diff --git a/lib/public/Files/Events/BeforeFolderScannedEvent.php b/lib/public/Files/Events/BeforeFolderScannedEvent.php index 354b481cb07..5c8c05e9a21 100644 --- a/lib/public/Files/Events/BeforeFolderScannedEvent.php +++ b/lib/public/Files/Events/BeforeFolderScannedEvent.php @@ -53,5 +53,4 @@ class BeforeFolderScannedEvent extends Event { public function getAbsolutePath(): string { return $this->absolutePath; } - } diff --git a/lib/public/Files/Events/FileCacheUpdated.php b/lib/public/Files/Events/FileCacheUpdated.php index 1bb8a3b39ab..f370aec1cf2 100644 --- a/lib/public/Files/Events/FileCacheUpdated.php +++ b/lib/public/Files/Events/FileCacheUpdated.php @@ -67,5 +67,4 @@ class FileCacheUpdated extends Event { public function getPath(): string { return $this->path; } - } diff --git a/lib/public/Files/Events/FileScannedEvent.php b/lib/public/Files/Events/FileScannedEvent.php index fe0817130f7..69c0dd3c538 100644 --- a/lib/public/Files/Events/FileScannedEvent.php +++ b/lib/public/Files/Events/FileScannedEvent.php @@ -53,5 +53,4 @@ class FileScannedEvent extends Event { public function getAbsolutePath(): string { return $this->absolutePath; } - } diff --git a/lib/public/Files/Events/FolderScannedEvent.php b/lib/public/Files/Events/FolderScannedEvent.php index d5dc0c97b55..642d14b4499 100644 --- a/lib/public/Files/Events/FolderScannedEvent.php +++ b/lib/public/Files/Events/FolderScannedEvent.php @@ -53,5 +53,4 @@ class FolderScannedEvent extends Event { public function getAbsolutePath(): string { return $this->absolutePath; } - } diff --git a/lib/public/Files/Events/NodeAddedToCache.php b/lib/public/Files/Events/NodeAddedToCache.php index 631de66f9ef..f1ffd755f68 100644 --- a/lib/public/Files/Events/NodeAddedToCache.php +++ b/lib/public/Files/Events/NodeAddedToCache.php @@ -67,5 +67,4 @@ class NodeAddedToCache extends Event { public function getPath(): string { return $this->path; } - } diff --git a/lib/public/Files/Events/NodeRemovedFromCache.php b/lib/public/Files/Events/NodeRemovedFromCache.php index 1d09e10bf6d..0437bc001a7 100644 --- a/lib/public/Files/Events/NodeRemovedFromCache.php +++ b/lib/public/Files/Events/NodeRemovedFromCache.php @@ -67,5 +67,4 @@ class NodeRemovedFromCache extends Event { public function getPath(): string { return $this->path; } - } diff --git a/lib/public/Files/GenericFileException.php b/lib/public/Files/GenericFileException.php index fe71d91c18e..75f26f27132 100644 --- a/lib/public/Files/GenericFileException.php +++ b/lib/public/Files/GenericFileException.php @@ -30,5 +30,4 @@ namespace OCP\Files; * @since 14.0.0 */ class GenericFileException extends \Exception { - } diff --git a/lib/public/Files/IAppData.php b/lib/public/Files/IAppData.php index ca7bdc242b7..2ec5191aed1 100644 --- a/lib/public/Files/IAppData.php +++ b/lib/public/Files/IAppData.php @@ -31,6 +31,5 @@ use OCP\Files\SimpleFS\ISimpleRoot; * @package OCP\Files * @since 11.0.0 */ -interface IAppData extends ISimpleRoot { - +interface IAppData extends ISimpleRoot { } diff --git a/lib/public/Files/IHomeStorage.php b/lib/public/Files/IHomeStorage.php index d988e56ec17..6123e7fae4d 100644 --- a/lib/public/Files/IHomeStorage.php +++ b/lib/public/Files/IHomeStorage.php @@ -39,5 +39,4 @@ namespace OCP\Files; * @since 7.0.0 */ interface IHomeStorage { - } diff --git a/lib/public/Files/InvalidCharacterInPathException.php b/lib/public/Files/InvalidCharacterInPathException.php index 3e051e3f8ee..57fb2134bb0 100644 --- a/lib/public/Files/InvalidCharacterInPathException.php +++ b/lib/public/Files/InvalidCharacterInPathException.php @@ -37,5 +37,4 @@ namespace OCP\Files; * @since 8.1.0 */ class InvalidCharacterInPathException extends InvalidPathException { - } diff --git a/lib/public/Files/InvalidContentException.php b/lib/public/Files/InvalidContentException.php index 6c738ab4290..77ae8b78bee 100644 --- a/lib/public/Files/InvalidContentException.php +++ b/lib/public/Files/InvalidContentException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for invalid content * @since 6.0.0 */ -class InvalidContentException extends \Exception {} +class InvalidContentException extends \Exception { +} diff --git a/lib/public/Files/InvalidPathException.php b/lib/public/Files/InvalidPathException.php index 4af71733167..64805cdcced 100644 --- a/lib/public/Files/InvalidPathException.php +++ b/lib/public/Files/InvalidPathException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for invalid path * @since 6.0.0 */ -class InvalidPathException extends \Exception {} +class InvalidPathException extends \Exception { +} diff --git a/lib/public/Files/NotEnoughSpaceException.php b/lib/public/Files/NotEnoughSpaceException.php index cc45ea60a1a..97ef3ddb9ee 100644 --- a/lib/public/Files/NotEnoughSpaceException.php +++ b/lib/public/Files/NotEnoughSpaceException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for not enough space * @since 6.0.0 */ -class NotEnoughSpaceException extends \Exception {} +class NotEnoughSpaceException extends \Exception { +} diff --git a/lib/public/Files/NotFoundException.php b/lib/public/Files/NotFoundException.php index 01c9c03f00a..7faf6690141 100644 --- a/lib/public/Files/NotFoundException.php +++ b/lib/public/Files/NotFoundException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for not found entity * @since 6.0.0 */ -class NotFoundException extends \Exception {} +class NotFoundException extends \Exception { +} diff --git a/lib/public/Files/NotPermittedException.php b/lib/public/Files/NotPermittedException.php index 59be76beec7..4c7bf589620 100644 --- a/lib/public/Files/NotPermittedException.php +++ b/lib/public/Files/NotPermittedException.php @@ -36,4 +36,5 @@ namespace OCP\Files; * Exception for not permitted action * @since 6.0.0 */ -class NotPermittedException extends \Exception {} +class NotPermittedException extends \Exception { +} diff --git a/lib/public/Files/ReservedWordException.php b/lib/public/Files/ReservedWordException.php index 2fc286a361f..81f25fb4366 100644 --- a/lib/public/Files/ReservedWordException.php +++ b/lib/public/Files/ReservedWordException.php @@ -37,5 +37,4 @@ namespace OCP\Files; * @since 8.1.0 */ class ReservedWordException extends InvalidPathException { - } diff --git a/lib/public/Files/Search/ISearchOperator.php b/lib/public/Files/Search/ISearchOperator.php index e86ceda07c1..a443c2744cf 100644 --- a/lib/public/Files/Search/ISearchOperator.php +++ b/lib/public/Files/Search/ISearchOperator.php @@ -27,5 +27,4 @@ namespace OCP\Files\Search; * @since 12.0.0 */ interface ISearchOperator { - } diff --git a/lib/public/Files/Storage/IDisableEncryptionStorage.php b/lib/public/Files/Storage/IDisableEncryptionStorage.php index b1172640b26..761f636b068 100644 --- a/lib/public/Files/Storage/IDisableEncryptionStorage.php +++ b/lib/public/Files/Storage/IDisableEncryptionStorage.php @@ -30,5 +30,4 @@ namespace OCP\Files\Storage; * @since 16.0.0 */ interface IDisableEncryptionStorage { - } diff --git a/lib/public/Files/StorageBadConfigException.php b/lib/public/Files/StorageBadConfigException.php index 94ab6356899..2b0e362389f 100644 --- a/lib/public/Files/StorageBadConfigException.php +++ b/lib/public/Files/StorageBadConfigException.php @@ -41,5 +41,4 @@ class StorageBadConfigException extends StorageNotAvailableException { $l = \OC::$server->getL10N('core'); parent::__construct($l->t('Storage incomplete configuration. %s', [$message]), self::STATUS_INCOMPLETE_CONF, $previous); } - } diff --git a/lib/public/Files/StorageNotAvailableException.php b/lib/public/Files/StorageNotAvailableException.php index 052a6b5ad78..1a0465bda13 100644 --- a/lib/public/Files/StorageNotAvailableException.php +++ b/lib/public/Files/StorageNotAvailableException.php @@ -44,7 +44,6 @@ use OC\HintException; * @since 6.0.0 - since 8.2.1 based on HintException */ class StorageNotAvailableException extends HintException { - const STATUS_SUCCESS = 0; const STATUS_ERROR = 1; const STATUS_INDETERMINATE = 2; diff --git a/lib/public/Files/UnseekableException.php b/lib/public/Files/UnseekableException.php index 302a6b2686b..1e4e19be111 100644 --- a/lib/public/Files/UnseekableException.php +++ b/lib/public/Files/UnseekableException.php @@ -35,4 +35,5 @@ namespace OCP\Files; * Exception for seek problem * @since 9.1.0 */ -class UnseekableException extends \Exception {} +class UnseekableException extends \Exception { +} |