diff options
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Activity/Settings/FavoriteAction.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Activity/Settings/FileChanged.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Activity/Settings/FileCreated.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Activity/Settings/FileDeleted.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Activity/Settings/FileFavorite.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Activity/Settings/FileRestored.php | 1 | ||||
-rw-r--r-- | apps/files/lib/App.php | 1 | ||||
-rw-r--r-- | apps/files/lib/AppInfo/Application.php | 9 | ||||
-rw-r--r-- | apps/files/lib/Command/Scan.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Command/ScanAppData.php | 3 | ||||
-rw-r--r-- | apps/files/lib/Command/TransferOwnership.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Controller/ApiController.php | 18 | ||||
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Service/TagService.php | 1 |
14 files changed, 19 insertions, 25 deletions
diff --git a/apps/files/lib/Activity/Settings/FavoriteAction.php b/apps/files/lib/Activity/Settings/FavoriteAction.php index 8f798d6e5d3..e352172e4fa 100644 --- a/apps/files/lib/Activity/Settings/FavoriteAction.php +++ b/apps/files/lib/Activity/Settings/FavoriteAction.php @@ -97,4 +97,3 @@ class FavoriteAction implements ISetting { return false; } } - diff --git a/apps/files/lib/Activity/Settings/FileChanged.php b/apps/files/lib/Activity/Settings/FileChanged.php index f89c088e1bd..c1a5140ff10 100644 --- a/apps/files/lib/Activity/Settings/FileChanged.php +++ b/apps/files/lib/Activity/Settings/FileChanged.php @@ -97,4 +97,3 @@ class FileChanged implements ISetting { return false; } } - diff --git a/apps/files/lib/Activity/Settings/FileCreated.php b/apps/files/lib/Activity/Settings/FileCreated.php index 945d25806a7..c655435c6eb 100644 --- a/apps/files/lib/Activity/Settings/FileCreated.php +++ b/apps/files/lib/Activity/Settings/FileCreated.php @@ -97,4 +97,3 @@ class FileCreated implements ISetting { return false; } } - diff --git a/apps/files/lib/Activity/Settings/FileDeleted.php b/apps/files/lib/Activity/Settings/FileDeleted.php index 34ecc7cb2d7..bf2c84a0da0 100644 --- a/apps/files/lib/Activity/Settings/FileDeleted.php +++ b/apps/files/lib/Activity/Settings/FileDeleted.php @@ -97,4 +97,3 @@ class FileDeleted implements ISetting { return false; } } - diff --git a/apps/files/lib/Activity/Settings/FileFavorite.php b/apps/files/lib/Activity/Settings/FileFavorite.php index ae0a4cae674..8ef838bc265 100644 --- a/apps/files/lib/Activity/Settings/FileFavorite.php +++ b/apps/files/lib/Activity/Settings/FileFavorite.php @@ -97,4 +97,3 @@ class FileFavorite implements ISetting { return false; } } - diff --git a/apps/files/lib/Activity/Settings/FileRestored.php b/apps/files/lib/Activity/Settings/FileRestored.php index 76f2cca5888..1e7c6174582 100644 --- a/apps/files/lib/Activity/Settings/FileRestored.php +++ b/apps/files/lib/Activity/Settings/FileRestored.php @@ -97,4 +97,3 @@ class FileRestored implements ISetting { return false; } } - diff --git a/apps/files/lib/App.php b/apps/files/lib/App.php index 0bf9ae20525..8f355fa6255 100644 --- a/apps/files/lib/App.php +++ b/apps/files/lib/App.php @@ -24,7 +24,6 @@ * */ - namespace OCA\Files; class App { diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index 6f06faa3cae..1ffd5e96471 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -24,21 +24,22 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ + namespace OCA\Files\AppInfo; use OCA\Files\Activity\Helper; +use OCA\Files\Capabilities; use OCA\Files\Collaboration\Resources\Listener; use OCA\Files\Collaboration\Resources\ResourceProvider; use OCA\Files\Controller\ApiController; +use OCA\Files\Controller\ViewController; use OCA\Files\Event\LoadAdditionalScriptsEvent; use OCA\Files\Listener\LegacyLoadAdditionalScriptsAdapter; +use OCA\Files\Service\TagService; use OCP\AppFramework\App; -use \OCA\Files\Service\TagService; use OCP\Collaboration\Resources\IManager; use OCP\EventDispatcher\IEventDispatcher; -use \OCP\IContainer; -use OCA\Files\Controller\ViewController; -use OCA\Files\Capabilities; +use OCP\IContainer; class Application extends App { public function __construct(array $urlParams=array()) { diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 6950afd1f00..734692d9c6c 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -37,11 +37,11 @@ use OCP\Files\NotFoundException; use OCP\Files\StorageNotAvailableException; use OCP\IDBConnection; use OCP\IUserManager; +use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Helper\Table; class Scan extends Base { diff --git a/apps/files/lib/Command/ScanAppData.php b/apps/files/lib/Command/ScanAppData.php index 244293ae70d..7ac42e7c6df 100644 --- a/apps/files/lib/Command/ScanAppData.php +++ b/apps/files/lib/Command/ScanAppData.php @@ -21,6 +21,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ + namespace OCA\Files\Command; use Doctrine\DBAL\Connection; @@ -32,9 +33,9 @@ use OCP\Files\NotFoundException; use OCP\Files\StorageNotAvailableException; use OCP\IConfig; use OCP\IDBConnection; +use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Helper\Table; class ScanAppData extends Base { diff --git a/apps/files/lib/Command/TransferOwnership.php b/apps/files/lib/Command/TransferOwnership.php index a77a02a4947..5f51a80d998 100644 --- a/apps/files/lib/Command/TransferOwnership.php +++ b/apps/files/lib/Command/TransferOwnership.php @@ -39,10 +39,10 @@ use OCP\IUserManager; use OCP\Share\IManager; use OCP\Share\IShare; use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; +use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class TransferOwnership extends Command { diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index 38c378d480d..77db0dbe56a 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -30,22 +30,22 @@ namespace OCA\Files\Controller; -use OCP\AppFramework\Http; +use OC\Files\Node\Node; +use OCA\Files\Service\TagService; use OCP\AppFramework\Controller; +use OCP\AppFramework\Http; +use OCP\AppFramework\Http\DataResponse; +use OCP\AppFramework\Http\FileDisplayResponse; +use OCP\AppFramework\Http\JSONResponse; +use OCP\AppFramework\Http\Response; use OCP\Files\File; use OCP\Files\Folder; use OCP\Files\NotFoundException; use OCP\IConfig; -use OCP\IRequest; -use OCP\AppFramework\Http\DataResponse; -use OCP\AppFramework\Http\JSONResponse; -use OCP\AppFramework\Http\FileDisplayResponse; -use OCP\AppFramework\Http\Response; -use OCA\Files\Service\TagService; use OCP\IPreview; -use OCP\Share\IManager; -use OC\Files\Node\Node; +use OCP\IRequest; use OCP\IUserSession; +use OCP\Share\IManager; use Sabre\VObject\Property\Boolean; /** diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 17caf06b480..a1c1e5e3530 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -32,12 +32,12 @@ namespace OCA\Files\Controller; use OCA\Files\Activity\Helper; use OCA\Files\Event\LoadAdditionalScriptsEvent; use OCA\Files\Event\LoadSidebar; +use OCP\App\IAppManager; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\ContentSecurityPolicy; use OCP\AppFramework\Http\RedirectResponse; use OCP\AppFramework\Http\Response; use OCP\AppFramework\Http\TemplateResponse; -use OCP\App\IAppManager; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\Folder; use OCP\Files\IRootFolder; diff --git a/apps/files/lib/Service/TagService.php b/apps/files/lib/Service/TagService.php index 7437f0c31ad..0a31be7a558 100644 --- a/apps/files/lib/Service/TagService.php +++ b/apps/files/lib/Service/TagService.php @@ -146,4 +146,3 @@ class TagService { } } } - |