Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 22:52:10 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 22:52:10 +0300
commit68748d4f85dd23238aaafb787b1c341f0f2f0419 (patch)
tree7aab3a925dda8dcd6ef4e8c6fe04063abbadd6af /core/Command/Maintenance
parent21119633041d5ccae19975a58b0ae50ef5a8e33a (diff)
Some php-cs fixes
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Command/Maintenance')
-rw-r--r--core/Command/Maintenance/DataFingerprint.php2
-rw-r--r--core/Command/Maintenance/Install.php1
-rw-r--r--core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php2
-rw-r--r--core/Command/Maintenance/Mimetype/UpdateDB.php8
-rw-r--r--core/Command/Maintenance/Mimetype/UpdateJS.php4
-rw-r--r--core/Command/Maintenance/Mode.php2
-rw-r--r--core/Command/Maintenance/UpdateHtaccess.php1
-rw-r--r--core/Command/Maintenance/UpdateTheme.php4
8 files changed, 13 insertions, 11 deletions
diff --git a/core/Command/Maintenance/DataFingerprint.php b/core/Command/Maintenance/DataFingerprint.php
index 37e8de24552..479e5f17536 100644
--- a/core/Command/Maintenance/DataFingerprint.php
+++ b/core/Command/Maintenance/DataFingerprint.php
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+
namespace OC\Core\Command\Maintenance;
use OCP\AppFramework\Utility\ITimeFactory;
@@ -27,7 +28,6 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-
class DataFingerprint extends Command {
/** @var IConfig */
diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php
index 39692e036ba..4197234ae7e 100644
--- a/core/Command/Maintenance/Install.php
+++ b/core/Command/Maintenance/Install.php
@@ -27,6 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+
namespace OC\Core\Command\Maintenance;
use InvalidArgumentException;
diff --git a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php
index 2eef5e9faaa..302f6b91342 100644
--- a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php
+++ b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php
@@ -102,4 +102,4 @@ OC.MimeTypeList={
';
}
-} \ No newline at end of file
+}
diff --git a/core/Command/Maintenance/Mimetype/UpdateDB.php b/core/Command/Maintenance/Mimetype/UpdateDB.php
index 1c8d651b9c0..7a7d9c11e55 100644
--- a/core/Command/Maintenance/Mimetype/UpdateDB.php
+++ b/core/Command/Maintenance/Mimetype/UpdateDB.php
@@ -22,13 +22,13 @@
namespace OC\Core\Command\Maintenance\Mimetype;
+use OCP\Files\IMimeTypeDetector;
+use OCP\Files\IMimeTypeLoader;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Input\InputOption;
-use OCP\Files\IMimeTypeDetector;
-use OCP\Files\IMimeTypeLoader;
+use Symfony\Component\Console\Input\InputOption;
+use Symfony\Component\Console\Output\OutputInterface;
class UpdateDB extends Command {
diff --git a/core/Command/Maintenance/Mimetype/UpdateJS.php b/core/Command/Maintenance/Mimetype/UpdateJS.php
index 0606e210c3f..230d0fac6a6 100644
--- a/core/Command/Maintenance/Mimetype/UpdateJS.php
+++ b/core/Command/Maintenance/Mimetype/UpdateJS.php
@@ -25,11 +25,11 @@
namespace OC\Core\Command\Maintenance\Mimetype;
+use OCP\Files\IMimeTypeDetector;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use OCP\Files\IMimeTypeDetector;
+use Symfony\Component\Console\Output\OutputInterface;
class UpdateJS extends Command {
diff --git a/core/Command/Maintenance/Mode.php b/core/Command/Maintenance/Mode.php
index 1692eb08d87..8b13175f0bb 100644
--- a/core/Command/Maintenance/Mode.php
+++ b/core/Command/Maintenance/Mode.php
@@ -23,7 +23,7 @@
namespace OC\Core\Command\Maintenance;
-use \OCP\IConfig;
+use OCP\IConfig;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php
index 04c870f07a4..d67d2d32edf 100644
--- a/core/Command/Maintenance/UpdateHtaccess.php
+++ b/core/Command/Maintenance/UpdateHtaccess.php
@@ -20,6 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+
namespace OC\Core\Command\Maintenance;
use Symfony\Component\Console\Command\Command;
diff --git a/core/Command/Maintenance/UpdateTheme.php b/core/Command/Maintenance/UpdateTheme.php
index 2ab66a4ce75..825cfc0da88 100644
--- a/core/Command/Maintenance/UpdateTheme.php
+++ b/core/Command/Maintenance/UpdateTheme.php
@@ -24,11 +24,11 @@
namespace OC\Core\Command\Maintenance;
use OC\Core\Command\Maintenance\Mimetype\UpdateJS;
+use OCP\Files\IMimeTypeDetector;
use OCP\ICacheFactory;
use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use OCP\Files\IMimeTypeDetector;
+use Symfony\Component\Console\Output\OutputInterface;
class UpdateTheme extends UpdateJS {